Вы находитесь на странице: 1из 7

Installing custom font via Terminal in Ubuntu MATE 16.

04
Author: Amar Tufo
Date: 7. July 2018
E­mail: amartufotm@gmail.com 

Apstract:

In this very short article I’m about to show you how to install a custom font by name

Kavivanar in Ubuntu MATE 16.04.4 and to use it in Libre Office, GIMP, Inkscape

and others application. The main purpose of  this article is to demonstrate use of

terminal to accomplish daily Linux tasks without GUI. Ok, let’s get started.

Key words: Ubuntu, MATE, terminal, Kavivanar
1. Getting Kavivanar online

Figure 1: Kavivanar font on Urbanfonts.com
Figure source: urbanfonts.com 

First thing we need to do is to download this font on­line via Google Fonts or other

font’s repositories available on­line such as urbanfonts, fontsquirrel. In this article we

will get our font via urbanfont.  Ok, once our font is downloaded we need to install it

so   that   we   can   use   it.   I’m   using   Ubuntu   MATE   16.04.4   LTS   and   I’m   gonna

demonstrate how to install this font via terminal. Since we have download it inside

our Download directory, we can install it.
2. Installing Kavivanar font

Figure 2: Fonts destination directory /usr/share/fonts 

Figure source: /home/amar/Desktop/figure2.png

Installation process is very easy and you can install this font using numerous ways

but I prefer terminal. One thing must be clear. In order that we can use Kavivanar,

this font has to be installed into /usr/share/fonts directory where all Ubuntu MATE

fonts are residing (figure 2). Now, inside this directory we gonna install our font.

Here’s another thing to keep in mind. Since our font is downloaded as .zip archive in

order to extract it inside /usr/share/fonts directory, I’m gonna use unzip utility to

extract Kavivanar archive. 
Figure 3: Kavivanar.zip archive inside Download directory
Figure source: /home/amar/Desktop/figure3.png

Now let’s extract our Kavivanar.font inside font’s destination directory (see figure4).

Figure 4: Extracting Kavivanar.zip font archive into /usr/share/fonts/truetype
Figure source: /home/amar/Desktop/figure4.png

Since our command did not prompt any error it means that we have successfully

extracted Kavivanar font into it’s destination directory (see figure 5).
Figure 5: Checking /usr/share/fonts/truetype directory on Kavivanar font

Figure source: /home/amar/Desktop/figure5.png

Due to fact that Kavivanar font is a truetype font, I have used a full command in

order to extract it and install it into it’s destination directory /usr/share/fonts/truetype.

Just in case that you can’t read the command I used to extract Kavivanar font, you

can read it down bellow.

sudo unzip ~/Downloads/Kavivanar.zip ­d “usr/share/fonts/truetype”

Now out Kavivanar font is installed and should be ready for use. To demonstrate that

Kavivanar has been successfully installed, here’s a quick sample of TecMint name

written using Kavivanar font.

Figure 6: TecMint portal name written using Kavivanar font

Figure source: /home/amar/Desktop/figure6.png

Conclusion
There you go, we have successfully installed Kavivanar font into Ubuntu MATE

16.04.4 Linux distribution and Kavivanar   is ready for use in LibreOffice, GIMP,

Inkscape. You can use it in writing quick essays instead of Times New Roman font,

creating GIMP posters for your school or university and much more. On the technical

side, you have learn how to use terminal to accomplish your daily tasks without GUI

on much faster way. We have used sudo to grant administrator privileges so that we

can   extract   and   install   custom   font   such   as   Kavivanar   to   system   directory

/usr/share/fonts/ depending on font’s type. I hope that you like this article and if so

make sure to comment it, share it on social media. See you next time. 

Quick references

[1] Kavivanar font 

https://www.urbanfonts.com/fonts/Kavivanar.font 

Graphic poster of Assyrian king Tiglat­Pilizar I made in GIMP using Kavivanar

Вам также может понравиться