I am gettting the below error.

! LaTeX Error: File `uarial.sty' not found.

How to fix this?


  • 1
    Have you read the uarial README? It shows exactly what you need to do to install it. – Werner Jun 21 '12 at 4:46
  • I am installing on linux. – manish Jun 21 '12 at 5:50

you have to install the "non free fonts" from CTAN which is easy with Linux. run in a terminal:

wget -q https://www.tug.org/fonts/getnonfreefonts/install-getnonfreefonts
texlua ./install-getnonfreefonts
getnonfreefonts-sys -a

or if you have no root rights, then use

sudo texlua ./install-getnonfreefonts
sudo getnonfreefonts-sys -a

Only for a local user based installation use getnonfreefonts instead of the getnonfreefonts-sys

That will install Arial and others in your local texmf/ directory. It is also possible under Windows with running cmd to get a terminal window, too.

  • bash: ./getnonfreefonts: No such file or directory – gsamaras Feb 26 '15 at 12:51
  • @gsamaras you may need to use sudo depending on your use and linux distribution. – Atilla Ozgur Apr 20 '17 at 10:34
  • The last command didn't work for me on Windows. Instead I had to use getnonfreefonts --sys -a – Kevin Van Ryckegem Jul 8 '17 at 20:48
  • 1
    @KevinVanRyckegem: getnonfreefonts' will already be changed so that -sys` is no more needed, if I remember correctly – user2478 Jul 9 '17 at 5:58

I had the same problem. I fixed it by adding rights:

# sudo chmod u+x install-getnonfreefonts

than I ran

# sudo /home/dirk/install-getnonfreefonts -a 


# sudo /usr/local/bin/getnonfreefonts -a
  • 1
    Is the doubled sudo in the third instruction a typo? – Mico Mar 6 '15 at 20:46
  • The sudo is not needed, as install-getnonfreefonts installs the fonts in $TEXMFHOME, i.e. your own dir. And of course the path /home/dirk/ works only on your system. – Martin Schröder Mar 6 '15 at 20:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.