Installing true type fonts in Ubuntu

Even we are using Ubuntu we may sometimes want to or need to use some Microsoft true type fonts. For that we can follow the following steps to install true type fonts in our Ubuntu.

We can install the MS core fonts by installing the msttcorefonts package.
To do this, enable the “Universe” component of the repositories.
Then run the following command in the terminal:

$sudo apt-get install msttcorefonts

This will give us the core fonts, but if there are other TrueType fonts that we want installed, it is as easy as copying the font files to the ~/.fonts/ directory.

After installing new fonts, we will have to log out and log in again to be able to see and use the new fonts. If we want to avoid this, we can regenerate the fonts cache by issuing the following command:

$sudo fc-cache -fv

Leave a Comment