Quick tip #3: Installing fonts on linux
Hello there! On this quick little post I’ll describe you how to install true type fonts on linux. I’m using Ubuntu linux but I believe the proccess must be pretty much the same on any other distro.
True type fonts are located on the directory /usr/share/fonts/truetype (at least on ubuntu) so in order to install a new font the first thing to do is to copy it to that directory. You need root privileges to do that. Now comes the mini-howto:
1. Make a new directory inside the truetype one. Call this directory whatever you want, I’m calling it “newfontdirectory”
sudo mkdir /usr/share/fonts/truetype/newfontdirectory
2. Copy your font file to the directory you’ve just created
cp ~/fontdirectory/fontfile.ttf /user/share/fonts/truetype/newfontdirectory/
3. Update your font index
sudo fc-cache -fv

1 comment

The second command is wrong, it says "/user/share/fonts/truetype/newfontdirectory/" but should really say "/usr/share/fonts..."
— viewer Mon, 26 Apr 2010