Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save slovenianGooner/b711e55df1156a756e221804ba788272 to your computer and use it in GitHub Desktop.
Save slovenianGooner/b711e55df1156a756e221804ba788272 to your computer and use it in GitHub Desktop.
Install Google Fonts on Ubuntu

Install Google Fonts

Download desired fonts

https://fonts.google.com/?selection.family=Open+Sans

Install Google Fonts on Ubuntu

cd /usr/share/fonts
sudo mkdir googlefonts
cd googlefonts
sudo unzip -d . ~/Downloads/Open_Sans.zip
sudo chmod -R --reference=/usr/share/fonts/opentype /usr/share/fonts/googlefonts

Register fonts

sudo fc-cache -fv

Check if font installed

fc-match OpenSans

Bibliography

http://www.binarytides.com/gorgeous-looking-fonts-ubuntu-linux
http://ubuntuhandbook.org/index.php/2016/05/manually-install-fonts-ubuntu-16-04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment