Home FAQ Install Microsoft Windows Fonts In Ubuntu 18.04 LTS
Install Microsoft Windows Fonts in Ubuntu

Install Microsoft Windows Fonts In Ubuntu 18.04 LTS

By sk
7953 Views

Most of the educational institutions are still using Microsoft Fonts. I am not sure about other countries. But in Tamilnadu (India), Times New Roman and Arial fonts are still being mostly used by almost all sorts of documentation works, projects, and assignments in colleges and schools. Not only the educational institutions, most government and private offices, small organizations, and shops are still using MS Windows Fonts. Just in case, if you are in a situation where you need to use Microsoft fonts in your Ubuntu Linux desktop, here is how to do it.

Disclaimer: Microsoft has released its core fonts for free. However, Please be aware that usage of Microsoft fonts is prohibited in other operating systems. Read the EULA carefully before installing MS Fonts in any Linux operating system. We (OSTechNix) are not responsible for any kind of piracy act.

Install MS Fonts in Ubuntu 18.04 LTS desktop

Install MS TrueType Fonts as shown below:

$ sudo apt update
$ sudo apt install ttf-mscorefonts-installer

Microsoft's End user agreement wizard will appear. Click OK to continue.

Click Yes to accept the Microsoft agreement:

After installing the fonts, we need to update the font cache using command:

$ sudo fc-cache -f -v

Sample output:

/usr/share/fonts: caching, new cache contents: 0 fonts, 6 dirs
/usr/share/fonts/X11: caching, new cache contents: 0 fonts, 4 dirs
/usr/share/fonts/X11/Type1: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, new cache contents: 89 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cMap: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap: caching, new cache contents: 0 fonts, 5 dirs
/usr/share/fonts/cmap/adobe-cns1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-gb1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-japan1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-japan2: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-korea1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/opentype: caching, new cache contents: 0 fonts, 2 dirs
/usr/share/fonts/opentype/malayalam: caching, new cache contents: 3 fonts, 0 dirs
/usr/share/fonts/opentype/noto: caching, new cache contents: 24 fonts, 0 dirs
/usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 46 dirs
/usr/share/fonts/truetype/Gargi: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/Gubbi: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/Nakula: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/Navilu: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/Sahadeva: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/Sarai: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/abyssinica: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/dejavu: caching, new cache contents: 6 fonts, 0 dirs
/usr/share/fonts/truetype/droid: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-beng-extra: caching, new cache contents: 6 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-deva-extra: caching, new cache contents: 3 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-gujr-extra: caching, new cache contents: 5 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-guru-extra: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-kalapi: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-orya-extra: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-telu-extra: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/kacst: caching, new cache contents: 15 fonts, 0 dirs
/usr/share/fonts/truetype/kacst-one: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/lao: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/liberation: caching, new cache contents: 16 fonts, 0 dirs
/usr/share/fonts/truetype/liberation2: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-assamese: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-bengali: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-devanagari: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-gujarati: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-kannada: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-malayalam: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-oriya: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-punjabi: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-tamil: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-tamil-classical: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-telugu: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/malayalam: caching, new cache contents: 11 fonts, 0 dirs
/usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs
/usr/share/fonts/truetype/noto: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/padauk: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/pagul: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/samyak: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/samyak-fonts: caching, new cache contents: 3 fonts, 0 dirs
/usr/share/fonts/truetype/sinhala: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/tibetan-machine: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/tlwg: caching, new cache contents: 58 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-khmeros-core: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/ubuntu: caching, new cache contents: 13 fonts, 0 dirs
/usr/share/fonts/type1: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
/home/sk/.local/share/fonts: skipping, no such directory
/home/sk/.fonts: skipping, no such directory
/var/cache/fontconfig: cleaning cache directory
/home/sk/.cache/fontconfig: cleaning cache directory
/home/sk/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded

Install MS Fonts in Dual boot with Linux and Windows

If you have dual boot system with Linux and Windows operating system, you can easily install the MS fonts from Windows C drive. All you have to do is mount the Windows partition (C:/Windows).

I assume you have mounted the C:\Windows partition at /Windowsdrive directory in linux.

Now, link the fonts location to your Linux system's fonts folder as shown below.

ln -s /Windowsdrive/Windows/Fonts /usr/share/fonts/WindowsFonts

After linking the fonts folder, regenerate the fontconfig cache using command:

fc-cache

Alternatively, copy all Windows fonts to /usr/share/fonts directory and install the fonts using the following commands:

mkdir /usr/share/fonts/WindowsFonts
cp /Windowsdrive/Windows/Fonts/* /usr/share/fonts/WindowsFonts
chmod 755 /usr/share/fonts/WindowsFonts/*

Finally, regenerate the fontconfig cache using command:

fc-cache

Test Windows font

Open LibreOffice or GIMP after installing MS Fonts. Now, you will see there the Microsoft coretype fonts.

That's it. Hope this guide useful.

Update 1:

Mscorefonts comes preinstalled in Ubuntu 18.04.2 LTS desktop. So, I guess the latest Ubuntu 18.04 LTS desktop users need not to install it.

Update 2:

If you accidentally rejected license agreement during upgrade from Ubuntu 16.04 LTS to 18.04.3 LTS,  you can reinstall the installer to get the license agreement by running the following command:

$ sudo apt-get install --reinstall ttf-mscorefonts-installer

Thanks Arno77.

Thanks for stopping by!

Help us to help you:

Have a Good day!!

You May Also Like

33 comments

helloct July 18, 2016 - 9:52 am

Awesome blog. Everything is so well detailed.

Reply
SK July 20, 2016 - 12:42 pm

Thank you. Your kind words encourages me to write more. Keep visiting and share a word about our site in your social networks. Thanks again.

Reply
Praveen November 21, 2016 - 2:33 am

Thanks for the info

Reply
J.R. Vasquez February 24, 2017 - 3:12 am

Like a chorus, thank you for this!

Reply
Αλέξανδρος Ρόθος May 28, 2017 - 11:32 am

Thanks, it worked just fine!

Reply
Radoslaw Janeczko October 6, 2017 - 3:22 pm

Great tutorial! Thanks a lot!

Reply
yogi8 October 18, 2017 - 11:58 pm

Tutorial is excellent but I’m not at all technical and stuck. Using ubuntu 16.04 LTS. ran ‘sudo apt-get install ttf-mscorefonts-installer’. When license agreement appeared, I scrolled to its end, clicked on . But it’s is not clickable. Nothing happens when clicked upon. Can’t get to window that accepts license agreement to continue installing. Any tip would be appreciated as I sure would like these fonts.

Reply
yogi8 October 20, 2017 - 10:00 pm

Please disregard this question. Strangely I was installing a program from the ubuntu software center and in the process the Microsoft acceptance window for these fonts appeared. I accepted, and continued the above process. I now have these fonts. Thank you very much for this tutorial.

Reply
Andhika April 7, 2019 - 4:12 pm

Late but.. use the arrow button and then press enter.

Reply
Mario Junior February 10, 2018 - 9:20 am

Many thanks!

Reply
Muffinator June 8, 2018 - 9:29 pm

In Ubuntu 17.10 (Zesty) clicking the button has no interaction. Instead you must use blind user controls: push Tab to select the button and the space bar to press it. Left and right arrow keys to choose yes or no and then space again.

Reply
Ron July 19, 2018 - 6:04 pm

“If you have dual boot system with Linux and Windows operating system, you can easily install the MS fonts from Windows C drive.”

But what should we do if it is not a dual boot?

Reply
sk July 20, 2018 - 11:59 am

Install “ttf-mscorefonts-installer” package as described in the first method.

Reply
Gabriel Seriña October 20, 2018 - 12:27 am

Thank you so much. Greetings from Mexico

Reply
TheWindowsMaster November 3, 2018 - 10:05 pm

Gracias!! Me salvaste!!!! Saludos desde Argentina!!

Reply
sk November 4, 2018 - 11:40 am

De nada, mi amigo!

Reply
mans November 10, 2018 - 2:37 pm

anyone have install font new garrret on libre office, os ubuntu 14.04?

Reply
Arno November 28, 2018 - 4:12 pm

Thanks a lot, it’s work!

Reply
Đinh Tú December 11, 2018 - 6:29 pm

Thanks, that work for me !

Reply
Silvain Dupertuis December 13, 2018 - 2:07 pm

In my case, the process hangs at this stupid system about Eula license.
At first try, after many tries on , it started and stopped at about 40%
At second try, no way to get out of the licence screen…
It would be nice to have the liste of these fonts also, so that we can just install them manually from Windows partition when we have a double boot installation like me.

Reply
Ahmed December 23, 2018 - 9:39 pm

Not working
(Found solutuon)
Apparently there is a bug in sourceforg when it says
E: download failed
But I found a way to install theme anyaways
Hope this helps :
https://sourceforge.net/p/corefonts/bugs/34/
🙂

Reply
Haresh Patel January 2, 2019 - 6:10 pm

Thanks Buddy Work for me 🙂

Reply
Gherart Suynat January 17, 2019 - 11:24 pm

Very useful, thank you.

However, I’ve got a problem: I manged to install the package through terminal and I also managed to update the cache… after some seconds a message tells me that I need to download the fonts, but after I entered my password, it doesn’t work. Is there any solution? I opened Libreoffice and the fonts aren’t there.

Thanks in advance.

Reply
John Rose February 14, 2019 - 10:56 pm

After accepting the EULA & Licence, I get:
Err:1 http://downloads.sourceforge.net/corefonts/arial32.exe
Redirection from https to ‘http://downloads.sourceforge.net/mirrorproblem?failedmirror=netix.dl.sourceforge.net’ is forbidden [IP: 87.121.121.2 443]
E: Failed to fetch https://netix.dl.sourceforge.net/project/corefonts/the fonts/final/arial32.exe Redirection from https to ‘http://downloads.sourceforge.net/mirrorproblem?failedmirror=netix.dl.sourceforge.net’ is forbidden [IP: 87.121.121.2 443]
E: Download Failed

I’ve tried it repeatedly with no success.

Reply
XFCE 4 Laif February 16, 2019 - 11:24 am

Thank you, worked perfectly.

What theme are you using on your terminal?

Reply
sk February 16, 2019 - 12:22 pm

My pleasure. It is Deepin Terminal. I use Deepin DE on Arch Linux.

Reply
Sukree Kaeomanee September 16, 2019 - 1:31 pm

I use Libre Office Version: 6.0.7.3
Build ID: 1:6.0.7-0ubuntu0.18.04.9
I tried those command but could not have the Times New Roman in there.

Reply
sk September 16, 2019 - 3:05 pm

Mscorefonts comes preinstalled in Ubuntu 18.04.2 LTS desktop. So, the latest Ubuntu 18.04 LTS desktop users need to install it. Which Ubuntu version are you using?

Reply
Anon October 5, 2019 - 5:48 am

Thanks a lot!

Reply
Arno77 January 7, 2020 - 5:32 pm

Great. Thanks.

Accidentally rejected license agreement during upgrade from Ubuntu 16.04 LTS to 18.04.3 LTS. So had to install the fonts manually after upgrade was finished.

In that case you need to reinstall the installer to get the license agreement running:
sudo apt-get install –reinstall ttf-mscorefonts-installer
(Found this info in )

Did not need to update the font cache.

Reply
sk January 7, 2020 - 6:24 pm

Thanks for the tip. I updated the guide with your input.

Reply
praveen April 16, 2020 - 9:34 pm

it works! thank you very much…

Reply
Azka Hariz May 29, 2020 - 4:51 pm

Thanks for sharing. I use an alternative procedure. However, some fonts cannot be copied to Ubuntu. At the terminal the message “cp: cannot stat ‘/media/MyComputer/OS/Windows/Fonts/vgaf874.fon’: Input / output error”. There are many messages displayed like this. Could you explain to me why that happened? Thanks for your answer.

Reply

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More