getnonfreefonts on a recent TL and Ubuntu

Hefferon, Jim S. jhefferon at smcvt.edu
Fri Sep 3 21:46:15 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.  (I am having some trouble with an email account, so I apologize if this message is a dupe.)

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

...........................................................
Doesn’t it feel like the dystopian future we deserve? Like in a decade everyone will make their living by steering colorful blob-like creatures around to acquire coins in a virtual world, but ownership of the colorful blob-like virtual creatures will be concentrated among a hereditary elite of people who, like, bought Dogecoin in 2014, and in order to scrape together enough to live on you will need to indenture yourself to a member of that elite, steering their blob-like virtual creatures around to earn coins for them and getting a few crumbs for yourself. And you’ll work 16-hour days in the Smooth Love Potions mines just to feed your children, but every once in a while in a rare free moment you will stop and ask yourself “wait why do our overlords want all these Smooth Love Potions anyway?”  --Matt Levine



More information about the texhax mailing list.