[Tex/LaTex] How to install uarial.sty on a mac

installingpackagestexshop

I'm using TexShop (2.43 on 10.6) to manage LaTeX, but have the following error:

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

I tried to use the approach in this question with

\usepackage{listings}

But apparently, uarial.sty isn't already installed. It is definitely a CTAN package, and I don't see any relevant packages in TeX Live's download list. What package should I look for in the download list, as the downloads are taking forever? Or is there some other way I should be using?

I attempted to install the non-free fonts. To do so, I've done this:

  1. Downloaded install-getnonfreefonts from the link @MarcoDaniel provided.
  2. created the following script to avoid having to edit my own path:

#!/bin/bash

#script to run the font installer once it's in the directory
export PATH=/usr/local/texlive/2010/bin/x86_64-darwin:$PATH

exec texlua ~/Downloads/install-getnonfreefonts

  1. Ran that script as sudo, got this output:
    Detected System: x86_64-darwin
    Detected Installation: /usr/local/texlive/2010
    Installing texmf/scripts/getnonfreefonts/getnonfreefonts.pl ...          [done]
    Installing texmf/doc/man/man1/getnonfreefonts.1 ...                      [done]
    Installing texmf/doc/man/man1/getnonfreefonts-sys.1 ...                  [done]
    Installing texmf/doc/man/man1/getnonfreefonts.man1.pdf ...               [done]
    Installing texmf/doc/man/man1/getnonfreefonts-sys.man1.pdf ...           [done]
    md5sum: cdc91dd4b6bea936a013a16836421a0b getnonfreefonts.pl ...            [ok]
    md5sum: f850d910dd96ee27cecdb3772047d247 getnonfreefonts.1 ...             [ok]
    md5sum: fb2b0f7699db8e627d4e26b730e94928 getnonfreefonts-sys.1 ...         [ok]
    md5sum: 415b51f7c80a4abe8d0a667a04c9d525 getnonfreefonts.man1.pdf ...      [ok]
    Fixing File Permissions ...                                              [done]
    Creating symlinks in 'bin/universal-darwin' ...                          [done]
    Creating symlinks in 'bin/x86_64-darwin' ...                             [done]
    texhash: Updating /usr/local/texlive/2010/texmf/ls-R... 
    texhash: Done.
  1. Restarted TeXShip
  2. Rebuilt the file, no joy.

Best Answer

The font can be easily installed via the script getnonfreefonts. It is available at tug.org:

TUG getnonfreefonts


EDIT: I tried the installation of getnonfreefonts on my Mac. In the follwoing explaniation I will try to explain my steps. First I have the following machine:

  • iMac 27"
  • Installed updated MacTeX 2011

Now the steps.

  1. I downloaded the installation script.
  2. Open the terminal and go to the folder Download

    cd Download

  3. Run the installation:

    sudo texlua install-getnonfreefonts

  4. The installation finished and the scipts with their execute files getnonefreefonts and getnonfreefonts-sys are now located at

    /usr/local/texlive/2011/bin/x86_64-darwin/

  5. Now you can run the script

    sudo getnonfreefonts-sys -a