aliases | category | classification | date | date_modified | draft | id | image | links | local_archive_links | pinned | series | tags | title | type | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
linux |
public |
2021-01-01 07:03:58 -0800 |
2024-06-13 08:06:11 -0700 |
false |
20210101150358 |
false |
false |
|
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/