[Tex/LaTex] ! LaTeX Error: File `uarial.sty’ not found


I am gettting the below error.

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

How to fix this?


Best Answer

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

Depending on your system (Windows, latest Ubuntu,...), the last command should be

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.