Monday, March 17, 2014

Automatically Install All The Google Web Fonts In Ubuntu Using A Script

What the script does is download all the fonts from Google Font Directory. It installs them under /usr/share/fonts/truetype/google-fonts/ so if you want to remove them, simply delete that folder.

To download and install all the Google Web Fonts in Ubuntu, open a terminal and type the following commands:



cd && wget http://webupd8.googlecode.com/files/install-google-fonts
chmod +x install-google-fonts
./install-google-fonts
 
If you want to take a look at the script before running it, download it from 
HERE.


Once the script finishes downloading and installing the fonts, you can go ahead and try them out. If you want to use one of the Google Web Fonts for your desktop, right click your Desktop, select "Preferences" and set the new font on the "Fonts" tab.

The script creates a "googlefontdirectory" folder in the directory where you run it (your home folder if you've followed our exact instructions) - you can either delete this folder or keep it and the next time you run the script, it will only update the fonts instead of completely downloading them all over again.
I found this script on Web UPD8 and is easy peasy.  It takes a little time to download so be patient.

Unixmaiden on Google +
 

1 comment :

  1. Be positive to comply with me on Twitter at @DavidGewirtz, on Facebook at Facebook.com/DavidGewirtz, on Instagram at Instagram.com/DavidGewirtz, and on YouTube at YouTube.com/DavidGewirtzTV. All content, design, and structure are Copyright © 1998–2022 Digital Photography Review All Cooling Towels Rights Reserved. Of the 256 tons, a Leica M Prototype 24x24mm digicam bought for the very best hammer price.

    ReplyDelete