tlmgr cannot install luatexja-fontspec

Axel E. Retif axel.retif at gmail.com
Tue Apr 22 13:51:10 CEST 2025


On 4/22/25 04:00, Haines Brown via tex-live wrote:


> I Debian, daedalus. My installation procedure is:
> 
> 	$ su -
> 	# mkdir /usr/local/share/TeXLive
>          # cd  /usr/local/share/TeXLive
> 	# wget https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
>          # zcat < install-tl-unx.tar.gz | tar xf -
>          # cd  install-tl-2*
> 	# ./install-tl

You don't say how you set the $PATH. Maybe you haven't yet.

As https://tug.org/texlive/quickinstall.html says, you should

> 6. Finally, prepend /usr/local/texlive/YYYY/bin/PLATFORM to your PATH,
> e.g., /usr/local/texlive/2025/bin/x86_64-linux

Check to see if there is a /usr/local/texlive/2025 directory; chances 
are it is there already. If so, you just have to *prepend* the PATH for 
root and everyone else.

I haven't use Debian in a while, but I think /etc/login.defs is still 
the right place (I'm looking at login.defs on Linux Mint):

1) open as root /etc/login.defs

2) search for a section that reads

> # *REQUIRED*  The default PATH settings, for superuser and normal users.
> #
> # (they are minimal, add the rest in the shell startup files)
> ENV_SUPATH	PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> ENV_PATH	PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

3) then *prepend* TeXLive PATH:

    ENV_SUPATH 
PATH=/usr/local/texlive/2025/bin/x86_64-linux:/usr/local/sbin:/ ..., etc.

    ENV_PATH 
PATH=/usr/local/texlive/2025/bin/x86_64-linux:/usr/local/bin:/ ..., etc.

4) save the login.defs file and logout and log back in (or restart)

5) once you're back in your desktop, open a terminal and do

    echo $PATH ; it should show
    usr/local/texlive/2025/bin/x86_64-linux: *at the beginning* of PATH,
    and the command
        which tex
    should show
    /usr/local/texlive/2025/bin/x86_64-linux/tex


> In ~.profile I have
> 
>    MANPATH=/usr/local/texlive/2025/texmf-dist/doc/man
>    INFOPATH=/usr/local/texlive/2025/texmf-dist/doc/info
>    PATH=/usr/local/texlive/2025/bin/x86_64-linux

This is OK, but it is for your user, not for root; if the above 
login.defs steps work, then the PATH here in ~.profile is unnecessary.


Best regards,

Axel



More information about the tex-live mailing list.