[Tex/LaTex] ubuntu 14.04 Texlive 2014 getnonfreefonts-sys ! ERROR: The install directory ‘/usr/local/texlive/texmf-local’ is not writable

fontsinstallingtexliveUbuntu

I upgraded to Texlive 2014 on Unbutu 14.04 and trying to install non-freetonts with getnonfreefonts-sys. This command throws the following error:

 ERROR: The install directory '/usr/local/texlive/texmf-local' is not writable.

Then I tried the following command:

  wget http://tug.org/fonts/getnonfreefonts/install-getnonfreefonts
  sudo texlua install-getnonfreefonts
  getnonfreefonts -a

Then I used getnonfreefonts-l to check the installed fonts and this command shows Webomints font in this list.

Then I'm getting the this error

!pdfTeX error: pdflatex (file WebOMintsGD): Font WebOMintsGD not
found

(Might be in different directory, looked this link for the same problem where fonts were in different directory). I'm not very expert and struggling with it. Any help will be highly appreciated. Thanks

Best Answer

There is no need for installing texlive as root. It makes sense to set the owner of the texlive to the user:

sudo chown -R <username>.users /usr/local/texlive

Then you can run all <command>-sys as a default user.