Skip to content

Latest commit

 

History

History
36 lines (32 loc) · 844 Bytes

install-fonts-on-linux-and-update-font-cache.md

File metadata and controls

36 lines (32 loc) · 844 Bytes
aliases category classification date date_modified draft id image links local_archive_links pinned print series tags title type
install-fonts-on-linux-and-update-font-cache
linux
public
2021-01-01 07:03:58 -0800
2024-06-13 08:06:11 -0700
false
20210101150358
false
false
linux
fonts
font-cache
Install Fonts on Linux and Update Font Cache
tech-note

Install fonts using the Terminal on Linux.

Using Inconsolata as an example.

Tip

You can check /etc/fonts/fonts.conf for a list of directories that contain fonts.

wget https://github.com/googlefonts/Inconsolata/releases/download/v3.000/fonts_ttf.zip --output-document=/tmp/inconsolata_v3.zip
sudo mkdir --parents /usr/local/share/fonts
sudo cp /tmp/fonts/ttf/Inconsolata-*.ttf /usr/local/share/fonts/
sudo fc-cache /usr/local/share/fonts/