Following this question, I tried to use lua-ul in a document. I got an error that the package couldn't be found. After some research, I discovered that lua-ul depends on a newer version of LuaTeX than is packaged with my OS (Debian). So, having read this question I installed afresh the newest version. Now I have this:
$ sudo ls /usr/local/texlive
> 2020 texmf-local
and I have set various environment variables as I need to: (I think)
# TexLive settings
export MANPATH=$MANPATH":/usr/local/texlive/2020/texmf-dist/doc/man"
export INFOPATH=$INFOPATH":/usr/local/texlive/2020/texmf-dist/doc/info"
export PATH=$PATH":/usr/local/texlive/2020/bin/x86_64-linux"
Everything is ostensibly in order.
If I run tlmgr instll lua-ul then I get:
(running on Debian, switching to user mode!)
tlmgr: Remote repository is newer than local (2018 < 2020)
Cross release updates are only supported with
update-tlmgr-latest(.sh/.exe) --update
Please see https://tug.org/texlive/upgrade.html for details.
But there is only one repository (which surely is as up to date as possible?!):
$ tlmgr repository list
> (running on Debian, switching to user mode!)
List of repositories (with tags if set):
http://mirror.ctan.org/systems/texlive/tlnet (main)
What do I have to do to install the package?
I have tried:
I discovered that tlmgr should be run as root on Debian (I can't remember why or where I found this). But as this thread points out, that on it's own won't work because using sudo standardly doesn't use the user's environment variable settings. So I tried sudo "PATH=$PATH" tlmgr install luate and got the same error (exactly the same, verbatim).
What am I doing wrong? What should I do? Should I just accept that something won't work? I just want to underline properly! Thanks!
export PATH="/usr/local/texlive/2020/bin/x86_64-linux:$PATH", it should work. – ArTourter Apr 17 '20 at 19:26tlmgr install lua-ulI get an error saying I don't have permission (which I should get running it without sudo, but didn't before, so something's working). But running it with sudo I still get the error message as above. – Jack-o-tall-tales Apr 17 '20 at 20:18sudo "PATH=$PATH" tlmgr install lua-ul,sudo -E tlmgr install lua-ul,sudo --preserve-env=PATH tlmgr install lua-u. All returned the same error message as above. – Jack-o-tall-tales Apr 17 '20 at 20:31/etc/profile.d, then you can tell sudo to load all these script with the-iflag.sudo -i which tlmgrshould return/usr/local/texlive/2020/bin/tlmgr– ArTourter Apr 17 '20 at 20:33