User Tools

Site Tools


install_fonts_on_linux

This is an old revision of the document!


Install Fonts on Linux

There are three font families that Google hosts that are simply perfect for coding; Anonymous_Pro, Roboto_Mono, and Reddit_Mono. To install them in Linux is pretty easy and straight forward;

# Move to tmp so it gets cleaned up by default
cd /tmp
# Download each font in turn, and extract it
for Font in ananymous_pro roboto_mono reddit_mono ; do
    # The version I have is current as of 2024-05-20
    wget https://cyli.org/${Font}.zip 
    # -j removes the folder structure within the .zip, -d extracts 
    # to and creates a folder if needed, *.ttf extracts only matches
    sudo unzip -j ${Font}.zip "*.ttf" -d /usr/share/fonts/${Font}/
done
# Now, rebuild the system font cache.
sudo fc-cache -v -f /usr/share/fonts
# And the personal one
fc-cache -v -f /usr/share/fonts
# After, the font should be available to X things like LibreOffice

Fonts.Google.com

install_fonts_on_linux.1716300359.txt.gz · Last modified: by steve