Install Google fonts locally 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
sudo unzip -d ./googlefonts ~/Downloads/Open_Sans.zip
cd ..
sudo chmod -R --reference=opentype 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

Last update: Tue, 13 Sep 2022 14:32:15