How do I install TrueType fonts under Debian GNU/Linux desktop operating systems?
The True Type Font was originally developed by Apple Computer. It is most commonly used on Microsoft Windows based systems so sometimes called as “Windows Fonts”. You can easily install the true type fonts under Debian Linux. Open a terminal and type the following command as root to install the same:
# apt-get install ttf-mscorefonts-installer
Sample outputs:
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: cabextract ... output truncated ...
Starting with Debian lenny, free alternatives for the common Microsoft fonts Arial, Courier and Times New Roman are available in ttf-liberation package, enter:
# apt-get install ttf-liberation
Close the terminal and logout from your current gnome / kde session. Login again to refresh and reload the fonts.
Result:
A screen-shot without TrueType fonts:
A screen-shot after installing TrueType fonts:
How Do I List All Installed Fonts?
Type the following command:
$ fc-list
Sample outputs:
Verdana:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta Liberation Mono:style=Regular Nimbus Sans L:style=Regular Italic DejaVu Serif,DejaVu Serif Condensed:style=Condensed,Book Times New Roman:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,thường,Arrunta Webdings:style=Regular URW Palladio L:style=Roman DejaVu Serif,DejaVu Serif Condensed:style=Condensed Bold Italic,Bold Italic Century Schoolbook L:style=Bold Italic DejaVu Serif,DejaVu Serif Condensed:style=Condensed Bold,Bold .... .. ..
How Do I Install TrueType Fonts on Debian Linux?
Open a nautilus.
- Type fonts:// and press [Enter] key.
- You will get the list of all installed fonts.
- Open another nautilus windows
- Select your TTF font file
- Drag and drop file into the fonts window.
Again logout and login back to refresh new fonts.
How Do I Configure Fonts?
The fontconfig is the configuration tool. Use the following commands to reconfigure default font rendering:
# dpkg-reconfigure fontconfig-config
# dpkg-reconfigure fontconfig
How Do I Update Fonts Cache?
Type the following command as root user:
# fc-cache -fv
OR
$ sudo fc-cache -fv
Sample outputs:
/usr/share/fonts: caching, new cache contents: 0 fonts, 3 dirs /usr/share/fonts/X11: caching, new cache contents: 0 fonts, 6 dirs /usr/share/fonts/X11/100dpi: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/X11/75dpi: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/X11/Type1: caching, new cache contents: 9 fonts, 0 dirs /usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs /usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/X11/misc: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 8 dirs /usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs /usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs /usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/ttf-dejavu: caching, new cache contents: 21 fonts, 0 dirs /usr/share/fonts/truetype/ttf-liberation: caching, new cache contents: 12 fonts, 0 dirs /usr/share/fonts/truetype/ttf-lyx: caching, new cache contents: 9 fonts, 0 dirs /usr/share/fonts/truetype/ttf-sil-gentium: caching, new cache contents: 4 fonts, 0 dirs /usr/share/fonts/truetype/ttf-sil-gentium-basic: caching, new cache contents: 8 fonts, 0 dirs /usr/share/fonts/type1: caching, new cache contents: 0 fonts, 2 dirs /usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs /usr/share/fonts/type1/mathml: caching, new cache contents: 1 fonts, 0 dirs /usr/X11R6/lib/X11/fonts: skipping, no such directory /usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs /root/.fonts: skipping, no such directory /var/cache/fontconfig: cleaning cache directory /root/.fontconfig: not cleaning non-existent cache directory fc-cache: succeeded
🐧 0 comments... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |