Recently I wanted to add some Mac-style fonts to my Ubuntu system. Although it requires slightly more work than just dragging the font files into a folder, it is still quite simple.
If you have full root or sudo access and you would like the font to be shared with all users of the system, you may want to put the files in /usr/local/share/fonts/truetype. An easy way to navigate to that location with root privileges is to press Alt+F2 and type:
gksudo nautilus /usr/local/share/fonts/truetype
You can then create a new directory and place your fonts into it.
Alternatively you may place the fonts in a directory inside your home folder. The files get placed in a hidden directory called .fonts. You may have to create this directory. Only you will be able to access these fonts.
Whichever you choose, you will need to reset the font cache . You can reset the cache with the following command:
And for anyone interested, here are a nice set of free MacOS font alternatives to use in Windows or Linux
Mac-Fonts – this includes AppleGaramond, Aquabase, LITHOGRL, Lucida Grande, Lucida Mac, Lucon, MacGrand. I downloaded these from this site, however you need to go through multiple pages of referral sign-ups to access the file.
Monaco Linux – This is the font I use in vim, it looks great.
Inconsolata – This is a variation of Luc(as) de Groot’s Consolas font, which is another nice mono-spaced programming font featured in Windows Vista. Read more about it at the authors webpage.
You may also want to install the Miscrosoft Web Fonts(msttcorefonts):
sudo aptitude install msttcorefonts