getnonfreefonts on a recent TL and Ubuntu

Jim Hefferon jim.hefferon at gmail.com
Fri Sep 3 20:47:29 CEST 2021


Hello,

I am trying to install Luximono to a brand new Ubuntu and TeX Live
installation (Ubuntu 20, TL 2021).  I am having trouble installing
getnonfreefonts.  No doubt I am missing some point, but I just cannot see
what.

As described on https://tug.org/fonts/getnonfreefonts/, I used wget to
download install-getnonfreefonts to the current directory.   I then tried
to run texlua.

  ftpmaint at Alonzo:~/Documents$ texlua ./install-getnonfreefonts
  Detected System: x86_64-linux
  Detected Installation: /usr/local/texlive/2021
  mkdir /usr/local/texlive/2021/texmf-dist/scripts/getnonfreefonts ...
[failed]
  Sorry, couldn't create directory
/usr/local/texlive/2021/texmf-dist/scripts/getnonfreefonts

(I made install-getnonfreefonts executable but that didn't change the
outcome.)  OK, maybe sudo?

  ftpmaint at Alonzo:~/Documents$ sudo texlua ./install-getnonfreefonts
  sudo: texlua: command not found

Maybe it does not like the path?

  ftpmaint at Alonzo:~/Documents$ sudo /usr/local/texlive/2021/bin/x86_64-
linux/texlua install-getnonfreefonts
  lstat(./texlua) failed: ./texlua: No such file or directory
  kpathsea: Can't get directory of program name: ./texlua

Even this did not work.

  ftpmaint at Alonzo:~/Documents$ sudo /usr/local/texlive/2021/bin/x86_64-
linux/texlua /home/ftpmaint/Documents/install-getnonfreefonts
  lstat(./texlua) failed: ./texlua: No such file or directory
  kpathsea: Can't get directory of program name: ./texlua

I note the kpathsea errors.  If it helps, my /etc/profile says this.

  export PATH="/usr/local/texlive/2021/bin/x86_64-linux:$PATH"
  export MANPATH="/usr/local/texlive/2021/texmf-dist/doc/man:$MANPATH"
  export INFOPATH="/usr/local/texlive/2021/texmf-dist/doc/info:$INFOPATH"

Using sudo -s or sudo su gave similar results (and are at or past the
limits of my knowledge).  Googling around gave results from at most 2016,
and they didn't help.  Any ideas would be most welcome.

Regards,
Jim Hefferon

-- 
"Does not the Captain seek your advice sir?"
"Not always," said Stephen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20210903/21221b0e/attachment.html>


More information about the texhax mailing list.