How To Install Microsoft Text Fonts In Ubuntu Linux

install-microsoft-core-fonts-ubuntu Arial, Times New Roman, Impact and Verdana are some of the most commonly used fonts. They are so widely used in fact that whenever you open a Word document from any computer, you immediately expect to find their presence. However, on your newly installed Ubuntu (and many other Linux distros), you will find that there is absolutely no trace of any of these fonts.

Ubuntu, by default, does not include the commonly used Microsoft core fonts in its installation. The set of fonts that it uses is not supported in Windows or Mac. This means that if you create a document and send to your partner for editing, he/she will not be able to view it in the way that it was originally formatted. Vice versa, you won’t be able to view the document that your friend sends you in the way that it was formatted, unless he/she is using the same fonts as you.

Luckily, installing the Microsoft core fonts package (and any other new fonts) in Ubuntu is easy. Here’s how you can do it on your own:

Installing Microsoft Core Fonts in Ubuntu Linux

The Microsoft core fonts package consists of the following fonts:

    * Andale Mono
    * Arial Black
    * Arial (Bold, Italic, Bold Italic)
    * Comic Sans MS (Bold)
    * Courier New (Bold, Italic, Bold Italic)
    * Georgia (Bold, Italic, Bold Italic)
    * Impact
    * Times New Roman (Bold, Italic, Bold Italic)
    * Trebuchet (Bold, Italic, Bold Italic)
    * Verdana (Bold, Italic, Bold Italic)
    * Webdings

To install them, open up your Synaptic Package Manager (System -> Administration -> Synaptic Package Manager). Scroll down till you find msttcorefonts. Check the box beside it and select Mark for Installation. Click Apply at the menubar to install the fonts package.

install microsoft fonts linux

Alternatively, if you prefer the terminal way, simply type the following command in your terminal.

sudo apt-get install msttcorefonts

Installing new fonts

Installing the Microsoft core fonts package is only the beginning. There will be many occasions where you need to install a new set of fonts for a specific project. Here is how you can do it :

If you are installing the new fonts for personal use and do not want others to have access to them, simply create a .fonts folder in your Home directory and paste all the fonts into it. Here’s the steps:

  • 1. Download the fonts (it should be in zipped format)
  • 2. Extract the fonts.
  • 3. Open nautilus (Places -> Home). Press Ctrl + H to reveal all the hidden files and folders.
  • 4. Check if the .fonts folder exist. If not, create the folder and name it .fonts.
  • 5. Copy and paste the new font(s) into the .fonts folder.
  • 6. Restart your application. The fonts should be available for your use now.

If you want to install system-wide and allow others to use it:

  • 1. Create a new folder in your Desktop. Name it newfonts
  • 2. Download the new font(s) and extract to the newfonts folder
  • 3. Open a terminal
  • 4. Key in the command: sudo cp -R ~/Desktop/newfonts /usr/share/fonts. This will copy your new font(s) to the system font folder.
  • 5. Restart your application. The new fonts are now available for system-wide use.

If you are using KDE, there is a font installer application that allows you to install new fonts easily.The Font Installer application is found under System Settings.

install microsoft fonts ubuntu

Better Font Rendering

Now that you have installed your favorite fonts in your system, here’s a simple trick to improve the font rendering and make it look nicer.

Open up your Appearance configuration page (System -> Preferences -> Appearance)

Click on the Fonts tab. Under the Rendering section, check on the subpixel smoothing button.

smooth-font-rendering

You should notice the differences immediately.

If you are using Ubuntu 8.04 or an earlier version, this is what you need to do:

Type in the following command in the terminal

sudo ln -sf /etc/fonts/conf.avail/10-autohint.conf /etc/fonts/conf.d/

Logout and login again. You should see a noticeable difference in the font rendering.


MakeUseOf Recommends

Damien Oh

Damien Oh is an all-out technology geek who loves to tweak and hack various operating systems to make life easier. Check out his blog at MakeTechEasier.com where he shares all the tips, tricks and tutorials.

The comments were closed because the article is more than 180 days old.

If you have any questions related to stuff mentioned in the article or need help with any computer issue, just ask it on MakeUseOf Answers.

Hide 32 Comments

  • Vadi December 8, 2008
    0 likes

    Even lazier, just click the link and done: appnr.com/install/msttcorefonts

    | Like
  • Mackenzie December 8, 2008
    0 likes

    If you don’t want to use Microsoft’s proprietary fonts, the Liberation fonts Red Hat contracted are the same size as Arial, Times New Roman, and Courier, so your word wrap shouldn’t break.

    Also, you can get over 300 fonts by doing sudo apt-get install ttf-larabie-deco ttf-larabie-straight ttf-larabie-uncommon if you have the Multiverse repository enabled.

    | Like
    • Damien Oh December 8, 2008
      0 likes

      Thanks. I gotta try out the 300 fonts myself.

      | Like
  • Dave December 8, 2008
    0 likes

    i always thought that after installing system wide fonts in ubuntu you needed to rebuild the font cache first, with ” sudo fc-cache -f -v “.

    | Like
    • Damien Oh December 8, 2008
      0 likes

      It is optional to rebuild the font cache. It will work even without the cache rebuilding

      | Like
  • NDS December 8, 2008
    0 likes

    How about

    sudo apt-get install msttcorefonts

    | Like
    • Damien Oh December 8, 2008
      0 likes

      that is covered in the article itself

      | Like
    • Frank May 24, 2009
      0 likes

      “Alternatively, if you prefer the terminal way, simply type the following command in your terminal.

      sudo apt-get install msttcorefonts”

      | Like
  • Sean Meyer December 8, 2008
    0 likes

    Installing Ubuntu Restricted Packages in Add/Remove Programs (Applications -> Add/Remove…) installs Microsoft Core Fonts as well as lots of other useful things (support for various other audio formats (gstreamer plugins), Microsoft fonts, Java runtime environment, Flash plugin, LAME (to create compressed audio files), and DVD playback).

    I recommend anyone using Ubuntu do it.

    | Like
  • flibble December 8, 2008
    0 likes

    Good guide but it doesn’t install Tahoma which a fair few websites and a couple of apps (like Steam) need.

    If you are using Ubuntu, save this as fonts.sh and run it. It’ll install msttcorefonts and extract Tahoma from a Microsoft file (perfectly legal) and set them up correctly for you.

    pastebin.com/f2df1c281

    | Like
    • Damien Oh December 8, 2008
      0 likes

      Cool. Thanks for sharing.

      | Like
  • Free Xbox 360 Games December 8, 2008
    0 likes

    Wow this useful. Thanks a lot.

    | Like
  • beemer December 8, 2008
    0 likes

    sudo apt-get install ubuntu-restricted-extras

    | Like
  • Jojo December 9, 2008
    0 likes

    I followed the process installing the fonts but I got this message:

    E: dpkg was interrupted, you must manually run ‘dpkg –configure -a’ to correct the problem.
    E: _cache->open() failed, please report.

    everytime I launched Synaptic Package Manager. Can you please help me fix this. I’m a noob Ubuntu user. Many thanks.

    | Like
  • User December 9, 2008
    0 likes

    run ‘dpkg –configure -a’ from command line. This should fix it.

    | Like
    • rick July 22, 2009
      0 likes

      where can i find the comand line

      | Like
  • Vadi December 9, 2008
    0 likes

    It needs to be “sudo dpkg –configure -a” actually. The messages will get fixed in next version of ubuntu

    | Like
    • Jojo December 9, 2008
      0 likes

      Thank you for the fix.

      | Like
  • bonik December 9, 2008
    0 likes

    Wow this useful. Thanks a lot!!

    | Like
  • Paul December 10, 2008
    0 likes

    Hello:

    I used the “sudo apt-get install msttcorefonts” method to do this followed by the “Subpixel smoothing”. I restarted the computer and opened Firefox. I thought that the fonts looked quite a bit better. A little while later, there was an automatic update of Firefox and after the computer restarted again and I opened Firefox again, I thought the Fonts had gone back to the “old” ones again. Is this possible or am I just imagining things? I’m using Ubuntu 8.04.1 on a Dell Inspiron mini-laptop.

    Thanks,

    Paul

    | Like
    • Damien Oh December 10, 2008
      0 likes

      In Ubuntu 8.04.1, the font rendering effect is not turned on by default. You have to use the following command to activate the effect.

      sudo ln -sf /etc/fonts/conf.avail/10-autohint.conf /etc/fonts/conf.d/

      You will have to log out and login again to see the effect.
      Try this and let me know if it works.

      | Like
  • Vadi December 11, 2008
    0 likes

    Paul: Firefox tends to do that. Try disabling and enabling the smooth rendering and restarting firefox.

    Damien: You can just go to System→Preferences→Appearance→Fonts and set it up there. That is easier ;)

    | Like
  • teddy December 17, 2008
    0 likes

    Wow dude, thats pretty cool….

    | Like
  • Neil January 3, 2009
    0 likes

    You know i searched everywhere a few weeks ago for a good tutorial on how to install core fonts, i just wish i had have come across yours then ;)

    | Like
    • Damien Oh January 3, 2009
      0 likes

      It still not too late now. There are plenty of useful and interesting stuffs in this site. I would advise you to bookmark it and subscribe to the feed so you won’t miss out any tips or tricks again in the future.

      | Like
  • Neil January 17, 2009
    0 likes

    sudo ln -sf /etc/fonts/conf.avail/10-autohint.conf /etc/fonts/conf.d/

    How do i undo that command? I dont like the way things look now…

    | Like
    • Damien Oh January 18, 2009
      0 likes

      Remove the file with this command:

      sudo rm /etc/fonts/conf.d/10-autohint.conf

      | Like
  • Neil January 17, 2009
    0 likes

    …sorry i should have alaborated, it seems like everything has gotten really big :(

    | Like
  • rohit May 22, 2009
    0 likes

    Does this help import MS fonts into OpenOffice 3? I got pretty sick of trying to figure out how to run spadmin. Once I did get it to run, it just blinked and said no fonts available. Do I need to run something else to import fonts into OO3?

    PS as you can figure out, I’m also a newbie at Linux. Thanks for your patience

    | Like
    • Damien Oh May 24, 2009
      0 likes

      Yes. You can access MS fonts from Open Office 3

      | Like
  • Sigitas June 16, 2009
    0 likes

    Thanks so much.

    | Like
  • Internetakias December 25, 2009
    0 likes

    I can’t find the package i have ubuntu 9.10

    | Like