Wednesday, November 07, 2007

Installing Fonts in Ubuntu 7.10

Installing fonts in Ubuntu 7.10 (Gutsy Gibbon) can be done in a number of ways. Personally I like the following method, it's quick,simple and it works.

Installing some common fonts.
There are a number of very common fonts, which you can install through APT/Synaptic, including the Microsoft TrueType core fonts (e.g. Arial Black, Times New Roman).
Before installing, make sure you enable the extra repositories, (If your not sure how to do this please see: Repositories/Ubuntu).
Install the fonts:
# sudo apt-get install msttcorefonts texlive-fonts-extra
Installing Other fonts
You can also use many other fonts, like those downloaded from There are two options when installing: one to install them for a Single User, this means that only this user can use them, or installing them for System Wide use, so that every user on the system can use the fonts.

Single User:
Once you have downloaded and unpacked your font files (.ttf, .TTF), you will need to create a ~/.fonts if it doesn't exist.
$ mkdir ~/.fonts
Copy the font files to the .font directory:
$ cp *.ttf ~/.fonts
$ cp *.TTF ~/.fonts

Now we need tell the system about the new fonts:
$ fc-cache -f -v ~/.fonts
System Wide:
Once you have downloaded and unpacked your font files (.ttf, .TTF), we just need to move them to the font directory:
# sudo cp *.ttf /usr/local/share/fonts/
# sudo cp *.TTF /usr/local/share/fonts/

Run the following command to rebuild the font cache:
# sudo fc-cache -f -v


Anonymous said...

Thanks for the great!

Kris said...

No worries, I'm glad this helped.

MetalHellsAngel said...

Thank you So much for sharing this it worked perfectly!

Anonymous said...

Thank you for writing this. This did indeed help out big time!

Anonymous said...

Thanks, this help me

nshahril said...


thanks for sharing... works well on me though... cheers!

oldskool ubuntu newbie.. heh! :)