Installation of fonts in ubuntu 14.04 [duplicate]

I usually preferred some fonts which are not available in Ubuntu 14.04 viz. Times New Roman, Arial etc. How these fonts can be installed in Ubuntu 14.04 environment ?


Method 1) Open Ubuntu Software Center and search for "ttf-mscorefonts-installer". This will install Microsoft's core fonts.

(Note: downloading ttf-mscorefonts-installer from ubuntu download centre,does not properly install the fonts because Microsoft's license is not accepted) so it can be install only from the terminal)

sudo apt-get install ttf-mscorefonts-installer

then accept the Microsoft's license using tab key in a graphical interface during install.

After installing the font package you will need to update the shared font directories with the following command in a terminal shell.

sudo fc-cache -f -v

[ttf-mscorefonts-installer is included in Ubuntu-restricted-extras and the common practice is to install them together with video codecs, flash,etc. sudo apt-get install ubuntu-restricted-extras]

Method 2) Create a directory into your home folder, and name it ".fonts". In this folder you can copy all fonts from Windows (C:\WINDOWS\Fonts).