Support Ukraine. DONATE.
A blog about software development.

Working with fonts in Debian and Ubuntu

Serhii Potapov October 08, 2013 #linux #debian #ubuntu #fonts

Install fonts

There are a lot of fonts in standard Debian repository. Packages which contains fonts starts with fonts-, so lets install them all. Run the next command as root:

apt-cache search ^fonts- | sed 's/^\(fonts-[^ ]*\).*$/\1/' | xargs apt-get install

Short explanation of the command:

Preview fonts

Now you have more than 1500 fonts, but it's hard to pick one that you need, because it's hard to look through all of them. For our luck there exist specials to preview fonts, and one of is called fontmatrix. Lets install it:

apt-get install fontmatrix

And run it:


Now it's much easier to select right font!:)