How to install *.zip font packs (SOLVED).

SeanK

Member
Joined
Mar 18, 2020
Messages
96
Reaction score
61
Credits
550
So I need to install a *.zip font pack in LMDE but I'm not entirely sure where to install it or the correct command to use.

Any suggestions? SOLVED.
 
Last edited:


Vrai

Well-Known Member
Joined
Mar 16, 2019
Messages
1,084
Reaction score
1,044
Credits
4,216
Have a look at this site. It is for Linux Mint Cinnamon but I should think LMDE would be similar.
All Linux Mint users should bookmark this site.
A good search engine is a must have also.

How to install fonts that you've downloaded
 

captain-sensible

Well-Known Member
Joined
Jun 14, 2019
Messages
2,910
Reaction score
1,971
Credits
18,114
you can have a look to see where existing .ttf and .otf files are:

eg on my slackware :

cd /

# locate *.ttf

i get :
/usr/share/fonts/TTF/AGENCYB.ttf
/usr/share/fonts/TTF/AGENCYR.ttf
/usr/share/fonts/TTF/ALGER.ttf
/usr/share/fonts/TTF/ANTQUAB.ttf
/usr/share/fonts/TTF/ANTQUABI.ttf
/usr/share/fonts/TTF/ANTQUAI.ttf
etc


if i have a zip containing .ttf files then its just a case of moving them to:

/usr/share/fonts/TTF

and .otf to :

/usr/share/fonts/OTF/

you can shift all .ttf files if you cd into unpacked .zip say on Desktop and use something like:

cd into dir :

cd Desktop/dir
Code:
# mv *.ttf    /usr/share/fonts/TTF
 

Vrai

Well-Known Member
Joined
Mar 16, 2019
Messages
1,084
Reaction score
1,044
Credits
4,216
you can have a look to see where existing .ttf and .otf files are:

eg on my slackware :

cd /

# locate *.ttf

i get :
/usr/share/fonts/TTF/AGENCYB.ttf
/usr/share/fonts/TTF/AGENCYR.ttf
/usr/share/fonts/TTF/ALGER.ttf
/usr/share/fonts/TTF/ANTQUAB.ttf
/usr/share/fonts/TTF/ANTQUABI.ttf
/usr/share/fonts/TTF/ANTQUAI.ttf
etc


if i have a zip containing .ttf files then its just a case of moving them to:

/usr/share/fonts/TTF

and .otf to :

/usr/share/fonts/OTF/

you can shift all .ttf files if you cd into unpacked .zip say on Desktop and use something like:

cd into dir :

cd Desktop/dir
Code:
# mv *.ttf    /usr/share/fonts/TTF
I wonder if on Slackware one would still want to run a command such as or similar to
sudo fc-cache -fv
in order to make the system aware of the new fonts?
 

captain-sensible

Well-Known Member
Joined
Jun 14, 2019
Messages
2,910
Reaction score
1,971
Credits
18,114
i've found that simply dumping .ttf and .otf into their respective places they are picked up and appear in lists of fonts to choose from eg GIMP and LibreOffice, without having to do any command - just the way Slackware works i guess
 
OP
S

SeanK

Member
Joined
Mar 18, 2020
Messages
96
Reaction score
61
Credits
550
Hey thanks everyone. I did work it out by installing a google solution (yes I know) that searches for fonts and automatically installs them.

Appreciate all the kind advice.
 

Vrai

Well-Known Member
Joined
Mar 16, 2019
Messages
1,084
Reaction score
1,044
Credits
4,216
i've found that simply dumping .ttf and .otf into their respective places they are picked up and appear in lists of fonts to choose from eg GIMP and LibreOffice, without having to do any command - just the way Slackware works i guess
Good to know! That is exactly why I asked the question. And perhaps another Linux user may benefit from the answer ;)
 

JasKinasis

Well-Known Member
Joined
Apr 25, 2017
Messages
1,706
Reaction score
2,471
Credits
13,702
Additional to what the others have said:
If you’re only installing the fonts for yourself, copy the uncompressed/extracted fonts to a directory called ~/.fonts/.
If it doesn’t exist - simply use mkdir to create the directory:
mkdir -p ~/.fonts
Then copy/move all of the new fonts into the new directory.

When you start an application that uses fonts, like Libreoffice, Scribus or gimp - they typically look for fonts in the user’s .fonts directory - if one exists!
Saves you having to run an additional tool to build the systems font cache.
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Top