Pages

Install complete collection of Google fonts on Debian/Ubuntu

Google Fonts is an extensive collection of Free and Open Source fonts. The collection includes more than one thousand fonts and releases under Open licenses (SIL Open Font License and Apache License). Google fonts can make use with word processors (LibreOffice, Abiword) after the installation on Linux based operating systems.

Users have to visit the Google Fonts website to download and install the font one by one, and it's a time-consuming process. The font collection maintains through the GitHub repository, where all font files can be download directly. Users can download the entire font collection and put it in the font directory of Linux based operating systems. Then the fonts become available for the entire system.

Download font collection

Visit https://github.com/google/fonts and download the fonts package.


Installation of fonts

A compressed file with the name fonts-main.zip download to the Download folder. Extract the zip file. A folder will appear with the name fonts-main. Rename the fonts-main folder to gfonts and copy the folder to home.

Move the gfonts folder to /usr/share/fonts, where fonts are located in Ubuntu. Apply the following command to move the fonts to the Ubuntu font folder.

sudo mv gfonts /usr/share/fonts

Refresh the cache of the font directory to take effect the changes.

sudo fc-cache -f -v

Check the new fonts available.

Open LibreOffice Writer and check the font, EB Garamond available.