SOLVED > texlive 2023 > WHAT DO I HAVE TO DO TO GET 2023 WORKING??

2023-06-19 Thread Wolfgang Engelmann




Am 19.06.23 um 19:00 schrieb Wolfgang Engelmann:



Am 19.06.23 um 17:11 schrieb Wolfgang Engelmann:



Am 19.06.23 um 16:55 schrieb Tobias Hilbricht:

Am Montag, dem 19.06.2023 um 15:57 +0200 schrieb Wolfgang Engelmann:



Am 19.06.23 um 15:29 schrieb Herbert Voss:



Am 19.06.23 um 15:11 schrieb Wolfgang Engelmann:

do you have a file texlive.sh in /etc/profile.d/. ?
If yes, what's its contents.


export PATH=/usr/local/texlive/2022/bin/x86_64-linux:$PATH
export MANPATH=/usr/local/texlive/2022/texmf/doc/man:$MANPATH
export INFOPATH=/usr/local/texlive/2022/texmf/doc/info:$INFOPATH
unset TEXINPUTS
unset TEXMFCONFIG


as root change it to 2023


/usr/local/texlive/2022/bin/x86_64-linux/tex
/usr/local/texlive/2022/bin/x86_64-linux/tex
/usr/bin/tex


it looks like an old instance from Debian's own texlive. Delete all
files
depending to tex in /usr/bin/, e.g. tex, latex, luatex, ...


There A LOT of files in /usr/bin ..
I have sudo rm the tex latex lua
but what else should I remove?


Did you remove Debians "own" TeXLive install completely? Try to find
out if there are packages left from an old install with
apt list --installed | grep texlive
and then remove those packages.
Tobias


Tobias and Herbert,

thanks for the suggestions.
I am upgrading my Debian bullseye to bookworm.
Unfortunately it contains again texlive 2022 instaed of 2023.
It takes quite some time to finish the upgrade. If done, I will try to 
use the proposals for getting finally the desired 2023.




Done. The Version is after changing 2022 to 2223 in
file texlive.sh in /etc/profile.d/ AND in
bashrc
now shown as
latex -v
pdfTeX 3.141592653-2.6-1.40.25 (TeX Live 2023)

Thanks to your help TL it is now working

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: texlive 2023 > WHAT DO I HAVE TO DO TO GET 2023 WORKING??

2023-06-19 Thread Wolfgang Engelmann




Am 19.06.23 um 16:55 schrieb Tobias Hilbricht:

Am Montag, dem 19.06.2023 um 15:57 +0200 schrieb Wolfgang Engelmann:



Am 19.06.23 um 15:29 schrieb Herbert Voss:



Am 19.06.23 um 15:11 schrieb Wolfgang Engelmann:

do you have a file texlive.sh in /etc/profile.d/. ?
If yes, what's its contents.


export PATH=/usr/local/texlive/2022/bin/x86_64-linux:$PATH
export MANPATH=/usr/local/texlive/2022/texmf/doc/man:$MANPATH
export INFOPATH=/usr/local/texlive/2022/texmf/doc/info:$INFOPATH
unset TEXINPUTS
unset TEXMFCONFIG


as root change it to 2023


/usr/local/texlive/2022/bin/x86_64-linux/tex
/usr/local/texlive/2022/bin/x86_64-linux/tex
/usr/bin/tex


it looks like an old instance from Debian's own texlive. Delete all
files
depending to tex in /usr/bin/, e.g. tex, latex, luatex, ...


There A LOT of files in /usr/bin ..
I have sudo rm the tex latex lua
but what else should I remove?


Did you remove Debians "own" TeXLive install completely? Try to find
out if there are packages left from an old install with
apt list --installed | grep texlive
and then remove those packages.
Tobias


Tobias and Herbert,

thanks for the suggestions.
I am upgrading my Debian bullseye to bookworm.
Unfortunately it contains again texlive 2022 instaed of 2023.
It takes quite some time to finish the upgrade. If done, I will try to 
use the proposals for getting finally the desired 2023.


Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: texlive 2023 > WHAT DO I HAVE TO DO TO GET 2023 WORKING??

2023-06-19 Thread Tobias Hilbricht
Am Montag, dem 19.06.2023 um 15:57 +0200 schrieb Wolfgang Engelmann:
> 
> 
> Am 19.06.23 um 15:29 schrieb Herbert Voss:
> > 
> > 
> > Am 19.06.23 um 15:11 schrieb Wolfgang Engelmann:
> > > > do you have a file texlive.sh in /etc/profile.d/. ?
> > > > If yes, what's its contents.
> > > 
> > > export PATH=/usr/local/texlive/2022/bin/x86_64-linux:$PATH
> > > export MANPATH=/usr/local/texlive/2022/texmf/doc/man:$MANPATH
> > > export INFOPATH=/usr/local/texlive/2022/texmf/doc/info:$INFOPATH
> > > unset TEXINPUTS
> > > unset TEXMFCONFIG
> > 
> > as root change it to 2023
> > > 
> > > /usr/local/texlive/2022/bin/x86_64-linux/tex
> > > /usr/local/texlive/2022/bin/x86_64-linux/tex
> > > /usr/bin/tex
> > 
> > it looks like an old instance from Debian's own texlive. Delete all
> > files
> > depending to tex in /usr/bin/, e.g. tex, latex, luatex, ...
> 
> There A LOT of files in /usr/bin ..
> I have sudo rm the tex latex lua
> but what else should I remove?

Did you remove Debians "own" TeXLive install completely? Try to find
out if there are packages left from an old install with 
apt list --installed | grep texlive
and then remove those packages.
Tobias
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: texlive 2023 > WHAT DO I HAVE TO DO TO GET 2023 WORKING??

2023-06-19 Thread Herbert Voss

Wolfgang Engelmann schrieb:
>
>
> Am 19.06.23 um 15:29 schrieb Herbert Voss:
>>
>>
>> Am 19.06.23 um 15:11 schrieb Wolfgang Engelmann:
 do you have a file texlive.sh in /etc/profile.d/. ?
 If yes, what's its contents.
>>>
>>> export PATH=/usr/local/texlive/2022/bin/x86_64-linux:$PATH
>>> export MANPATH=/usr/local/texlive/2022/texmf/doc/man:$MANPATH
>>> export INFOPATH=/usr/local/texlive/2022/texmf/doc/info:$INFOPATH
>>> unset TEXINPUTS
>>> unset TEXMFCONFIG
>>
>> as root change it to 2023
>>
>>
>>>

 If no, what is the output of

 which -a tex
>>>
>>> /usr/local/texlive/2022/bin/x86_64-linux/tex
>>> /usr/local/texlive/2022/bin/x86_64-linux/tex
>>> /usr/bin/tex
>>
>> it looks like an old instance from Debian's own texlive. Delete all
>> files
>> depending to tex in /usr/bin/, e.g. tex, latex, luatex, ...
>
> There A LOT of files in /usr/bin ..
> I have sudo rm the tex latex lua
> but what else should I remove?

With a correct path setting it shouldn‘t matter. Leave it as it is.


> So far after a restart
> which -a tex
> still gives 2022 >
> /usr/local/texlive/2022/bin/x86_64-linux/tex
>  >> /usr/local/texlive/2022/bin/x86_64-linux/tex

Search for 2022 in your .bashes, .profile, …
There must be entries with 2022. and of course,
control /etc/profile.d again

Herbert

>> After a restart try
>>
>> which -a latex
>>
>> Is it now 2023?
>>
>> Herbert
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>




-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: texlive 2023 > WHAT DO I HAVE TO DO TO GET 2023 WORKING??

2023-06-19 Thread Wolfgang Engelmann




Am 19.06.23 um 15:29 schrieb Herbert Voss:



Am 19.06.23 um 15:11 schrieb Wolfgang Engelmann:

do you have a file texlive.sh in /etc/profile.d/. ?
If yes, what's its contents.


export PATH=/usr/local/texlive/2022/bin/x86_64-linux:$PATH
export MANPATH=/usr/local/texlive/2022/texmf/doc/man:$MANPATH
export INFOPATH=/usr/local/texlive/2022/texmf/doc/info:$INFOPATH
unset TEXINPUTS
unset TEXMFCONFIG


as root change it to 2023






If no, what is the output of

which -a tex


/usr/local/texlive/2022/bin/x86_64-linux/tex
/usr/local/texlive/2022/bin/x86_64-linux/tex
/usr/bin/tex


it looks like an old instance from Debian's own texlive. Delete all files
depending to tex in /usr/bin/, e.g. tex, latex, luatex, ...


There A LOT of files in /usr/bin ..
I have sudo rm the tex latex lua
but what else should I remove?

So far after a restart
which -a tex
still gives 2022 >
/usr/local/texlive/2022/bin/x86_64-linux/tex
>> /usr/local/texlive/2022/bin/x86_64-linux/tex

Wolfgang


After a restart try

which -a latex

Is it now 2023?

Herbert

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: texlive 2023 > WHAT DO I HAVE TO DO TO GET 2023 WORKING??

2023-06-19 Thread Herbert Voss




Am 19.06.23 um 15:11 schrieb Wolfgang Engelmann:

do you have a file texlive.sh in /etc/profile.d/. ?
If yes, what's its contents.


export PATH=/usr/local/texlive/2022/bin/x86_64-linux:$PATH
export MANPATH=/usr/local/texlive/2022/texmf/doc/man:$MANPATH
export INFOPATH=/usr/local/texlive/2022/texmf/doc/info:$INFOPATH
unset TEXINPUTS
unset TEXMFCONFIG


as root change it to 2023






If no, what is the output of

which -a tex


/usr/local/texlive/2022/bin/x86_64-linux/tex
/usr/local/texlive/2022/bin/x86_64-linux/tex
/usr/bin/tex


it looks like an old instance from Debian's own texlive. Delete all files
depending to tex in /usr/bin/, e.g. tex, latex, luatex, ...

After a restart try

which -a latex

Is it now 2023?

Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: texlive 2023 > WHAT DO I HAVE TO DO TO GET 2023 WORKING??

2023-06-19 Thread Wolfgang Engelmann



Am 19.06.23 um 14:26 schrieb Herbert Voss:



Am 19.06.23 um 11:14 schrieb Wolfgang Engelmann:

I checked with synaptic in my Debian 5.10179-1 (2023-05-12)
> 2020_20210202-3

and with
latex -v
> Tex Live 2022

and in /usr/local
is  /texlive/2022 and /texlive/2023

I have done in my ./profile according to (1-) the (2-)



do you have a file texlive.sh in /etc/profile.d/. ?
If yes, what's its contents.


export PATH=/usr/local/texlive/2022/bin/x86_64-linux:$PATH
export MANPATH=/usr/local/texlive/2022/texmf/doc/man:$MANPATH
export INFOPATH=/usr/local/texlive/2022/texmf/doc/info:$INFOPATH
unset TEXINPUTS
unset TEXMFCONFIG



If no, what is the output of

which -a tex


/usr/local/texlive/2022/bin/x86_64-linux/tex
/usr/local/texlive/2022/bin/x86_64-linux/tex
/usr/bin/tex




Herbert



Thanks, Herbert.

I guess I have to change 2022 > 2023?

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: texlive 2023 > WHAT DO I HAVE TO DO TO GET 2023 WORKING??

2023-06-19 Thread Tobias Hilbricht
Am Montag, dem 19.06.2023 um 11:14 +0200 schrieb Wolfgang Engelmann:
> I checked with synaptic in my Debian 5.10179-1 (2023-05-12)
>  > 2020_20210202-3
> 
> and with
> latex -v
>  > Tex Live 2022
> 
> and in /usr/local
> is  /texlive/2022 and /texlive/2023
> 
> I have done in my ./profile according to (1-) the (2-)
> 
> 1-
> Post-install: setting PATH
> 
> After the installation finishes, you must add the directory of TeX
> Live 
> binaries to your PATH—except on Windows, where the installer takes
> care 
> of this. The installer shows the exact lines that should be added. As
> an 
> example, for Bourne-compatible shells (e.g., in ~/.profile or
> ~/.bashrc):
>    PATH=/usr/local/texlive/2023/bin/x86_64-linux:$PATH
> Use the initialization file and syntax for your shell, your
> installation 
> directory, and your binary platform name instead of x86_64-linux.
> After 
> editing the init file, log out and log back in.
> 
> If you have multiple TeX installations on a given machine, you need
> to 
> change the search path to switch between them—except on MacOSX.
> 
> 2-
> ./profile
> ...
> # if running bash
> if [ -n "$BASH_VERSION" ]; then
>  # include .bashrc if it exists
>  if [ -f "$HOME/.bashrc" ]; then
>  . "$HOME/.bashrc"
>  fi
> fi
> 
> # set PATH so it includes user's private bin if it exists
> if [ -d "$HOME/bin" ] ; then
>  PATH="$HOME/bin:$PATH"
> fi
> 
> #$HOME/.profile PATH
> PATH=/usr/local/texlive/2023/bin/x86_64-linux:$PATH;export PATH
> MANPATH=/usr/local/texlive/2023/texmf-dist/doc/man:$MANPATH;export
> MANPATH
> INFOPATH=/usr/local/texlive/2023/texmf-dist/doc/info:$INFOPATH;
> export 
> INFOPATH
> 
> WHAT DO I HAVE TO DO TO GET 2023 WORKING??

Hello Wolfgang,

I have installed TeXLive 2023 and preceeding versions according to
https://wiki.ubuntuusers.de/TeX_Live/#Manuell
and then to adapt $PATH according to
https://wiki.ubuntuusers.de/TeX_Live_DVD-Installation/#Anpassung-der-Pfade
and then to tell apt that I have TeXLive
https://wiki.ubuntuusers.de/TeX_Live_DVD-Installation/#Paketverwaltung-die-neue-TeX-Live-Version-mitteilen

I never had any problem with these instructions.
Tobias

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: texlive 2023 > WHAT DO I HAVE TO DO TO GET 2023 WORKING??

2023-06-19 Thread Herbert Voss



Am 19.06.23 um 11:14 schrieb Wolfgang Engelmann:

I checked with synaptic in my Debian 5.10179-1 (2023-05-12)
> 2020_20210202-3

and with
latex -v
> Tex Live 2022

and in /usr/local
is  /texlive/2022 and /texlive/2023

I have done in my ./profile according to (1-) the (2-)



do you have a file texlive.sh in /etc/profile.d/. ?
If yes, what's its contents.

If no, what is the output of

which -a tex

Herbert

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


texlive 2023 > WHAT DO I HAVE TO DO TO GET 2023 WORKING??

2023-06-19 Thread Wolfgang Engelmann

I checked with synaptic in my Debian 5.10179-1 (2023-05-12)
> 2020_20210202-3

and with
latex -v
> Tex Live 2022

and in /usr/local
is  /texlive/2022 and /texlive/2023

I have done in my ./profile according to (1-) the (2-)

1-
Post-install: setting PATH

After the installation finishes, you must add the directory of TeX Live 
binaries to your PATH—except on Windows, where the installer takes care 
of this. The installer shows the exact lines that should be added. As an 
example, for Bourne-compatible shells (e.g., in ~/.profile or ~/.bashrc):

  PATH=/usr/local/texlive/2023/bin/x86_64-linux:$PATH
Use the initialization file and syntax for your shell, your installation 
directory, and your binary platform name instead of x86_64-linux. After 
editing the init file, log out and log back in.


If you have multiple TeX installations on a given machine, you need to 
change the search path to switch between them—except on MacOSX.


2-
./profile
...
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi

#$HOME/.profile PATH
PATH=/usr/local/texlive/2023/bin/x86_64-linux:$PATH;export PATH
MANPATH=/usr/local/texlive/2023/texmf-dist/doc/man:$MANPATH;export MANPATH
INFOPATH=/usr/local/texlive/2023/texmf-dist/doc/info:$INFOPATH; export 
INFOPATH


WHAT DO I HAVE TO DO TO GET 2023 WORKING??
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users