install font in linux code example
Example 1: install fontforge linux
# ubuntu
sudo apt-get install software-properties-common;
sudo add-apt-repository ppa:fontforge/fontforge;
sudo apt-get update;
sudo apt-get install fontforge;
# fedora
yum install fontforge;
Example 2: how to add font in ubuntu
# Copy the fonts to /usr/local/share/fonts or a subfolder
# (such as /usr/local/share/fonts/TTF) and
# then run sudo fc-cache -fv. There are some graphical programs
# you can install to make this easier, but I've never felt the need
# to try any of them.
# The Ubuntu wiki page on Fonts here may be of help too.