Working with fonts in Debian and Ubuntu
Serhii Potapov October 08, 2013 #linux #debian #ubuntu #fontsInstall 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:
| |
Short explanation of the command:
apt-cache search ^fonts-
- find all packages which starts withfonts-
;sed 's/^\(fonts-[^ ]*\).*$/\1/'
- filter output to get only package names;xargs apt-get install
- pass package names toapt-get install
to install them.
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:
And run it:
fontmatrix
Now it's much easier to select right font!:)