install_fonts_on_linux
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 anonymous_pro roboto_mono reddit_mono ; do # The version I have is current as of 2024-05-20 wget -O ${Font}.zip "https://wiki.cyli.org/lib/exe/fetch.php?media=other:${Font}.zip" # In the unzip below; # -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 ~/.cache/fontconfig # After, the font should be available to X things like LibreOffice
Fonts can also be downloaded here ; Anonymous_Pro.zip Reddit_Mono.zip Roboto_Mono.zip
install_fonts_on_linux.txt · Last modified: by steve
