Ubuntu Experiences Database

Install fonts on Ubuntu

Posted by maximillan on December 4, 2006

Install fonts on Ubuntu

1. Installing fonts for single login use
 1a. using kfontview
 1b. by hand
2. Installing fonts for system wide use
3. Installing Microsoft Windows Fonts (eg. Times New Roman)

1. Installing fonts for single login use

1a. using kfontview
The easiest way to install fonts is using kfontview. Try running “kfontview” from the command line.
If you do not have kfontview installed, as root run:

# apt-get install kcontrol

This will download a few dependencies, so if you are short on disk space or simply do not want to install KDE, use the instructions in step 1b

Run “kfontview” from the command line
From the kfontview window, open the font you have downloaded.
Click on the “Install” button
NOTICE: You will probably need to resize the window to see the “Install” button which is in the lower right hand corner.
Click on the “Personal” button

1b. by hand
If ~/.fonts does not exist, create it:

$ mkdir ~/.fonts

Copy the font, from the command line, run the following:

$ cp [fontfile] ~/.fonts

From the command line, run the following:

$ fc-cache -f -v ~/.fonts

or alternatively, log out, and log back in.

2. Installing for system wide use
Make the following directory as root:

# mkdir /usr/share/fonts/truetype/myfonts

Copy the font(s) into the newly created directory:

# cp [fonts] /usr/share/fonts/truetype/myfonts

Run the following:

# fc-cache -f -v

3. Installing Windows Fonts (eg. Times New Roman)

Make sure you have the “universe” repository added. If not, as root, modify your /etc/apt/sources.list and uncomment the deb line which will look something like this:

# deb http://us.archive.ubuntu.com/ubuntu dapper universe

Then update apt-get:

# apt-get update

Run the following as root:

# apt-get install msttcorefonts

Tested under Ubuntu Dapper.

taken from: link


One Response to “Install fonts on Ubuntu”

  1. pinterest said

    In fact social networks have revolutionized our lives
    by incorporating all the basic elements of a person’s social life
    in one place. While that mantra may have worked for Kevin Costner in “Field of Dreams,” it doesn’t necessarily work for credit union websites.

    The more powerful the image, the more interest you
    will provoke in visitors to your profile which in turn will result in your profile attracting more followers.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: