How to Install New Fonts In Your Linux System


To install fonts in your Linux system for use by all users, (as root) you can place the font files somewhere under /usr/share/fonts or /usr/share/fonts/truetype. Alternatively, if the fonts reside elsewhere on your system, as root, you can also link to the directory.
सभी Users के द्वारा प्रयोग के लिए आपके Linux system में fonts को install करने के लिए, (root के रूप में) आप font files को /usr/share/fonts या /usr/share/fonts/truetype के अन्तर्गत कहीं पर भी रख सकते हैं| वैकल्पिक रूप से, यदि font files आपके Linux system में किसी अन्य location पर स्थित हैं, तो root के रूप में आप directory से भी link कर सकते हैं|

Method 1

1. Open your terminal from the dash menu. (ctrl + alt + t)

dash menu से अपने terminal को open कीजिए| (ctrl + alt + t)

2. Type the following command in your terminal:

नीचे दी गयी command को अपने terminal में Type कीजिए:

$gksu nautilus <press the Enter key>

OR

$sudo –H nautilus <press the Enter key>

Type your sudo password and press the Enter key.

अपना  sudo password type कीजिए और Enter key दबाइये|

3. Go to the /usr/share/fonts/ location and create a new directory name truetype.

/usr/share/fonts/ location पर जाइए और truetype नाम से एक new directory बनाइये|

4. Now, copy the font files to the truetype directory.

अब, truetype directory में font files को copy कर दीजिये|

5. Then update your font cache by using the following command:

फिर निम्न command का उपयोग करके अपने font cache को update कीजिए:

$sudo fc-cache –fv <press the Enter key>

Method 2

1. Create a new directory name truetype on your desktop.

अपने desktop पर truetype नाम से new directory बनाइये|

2. Now, copy the font files to the truetype directory.

अब, truetype directory में font files को copy कर दीजिये|

3. Open your terminal from the dash menu. (ctrl + alt + t)

dash menu से अपने terminal को open कीजिए| (ctrl + alt + t)

4. Go to the desktop location, by typing the following command in your terminal:

निम्न command को अपने terminal में type करके desktop location पर जाइए:

$cd ./Desktop/ <press the Enter key>

OR

$cd Desktop <press the Enter key>

5. Move the truetype directory to /usr/share/fonts/ location by typing the following command in your terminal:

निम्न command को अपने terminal में type करके /usr/share/fonts/ location पर truetype directory को move कराइए:

$sudo mv truetype/ /usr/share/fonts/ <press the Enter key>

Type your sudo password and press the Enter key.

अपना  sudo password type कीजिए और Enter key दबाइये|

6. Then update your font cache by using the following command:

फिर निम्न command का उपयोग करके अपने font cache को update कीजिए:

$sudo fc-cache –fv <press the Enter key>

Installing Microsoft Fonts

Open your terminal from the dash menu and type the following command in your terminal:
dash menu से अपने terminal को Open कीजिए और निम्न command को अपने terminal में type कीजिए:
$sudo apt-get install ttf-mscorefonts-installer <press the Enter key>

OR

If you want to install Microsoft fonts in your Linux system, there's an easy way. Just go to your package manager / software manager and look for a package named "ttf-mscorefonts-installer". Click on it, Mark for installation and apply.

यदि आप अपने Linux system में Microsoft fonts को install करना चाहते हैं, तो इसका एक आसान तरीका है| बस अपने package manager / software manager पर जायें और "ttf-mscorefonts-installer" नामक package को तलाशें| उसपर Click करें, installation और apply करने के लिए Mark करें|



Previous: How To Install Emmet Plugin In Text Editors (Hindi)

Information Technology Page