Install Source Code Pro font on Ubuntu

Posted on: Sunday, Apr 08, 2018

Put this Bash script in your home folder and run it to install Source Code Pro. Make it executable with:

chmod +x install-source-code-pro

From your home folder, launch it with:

./install-source-code-pro.sh

This file removes all installation files from the ~/Downloads folder when it's done.

#!/usr/bin/env bash

cd Downloads

wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip

if [ ! -d "~/.fonts" ] ; then
    mkdir ~/.fonts
fi

unzip 1.050R-it.zip 

cp source-code-pro-*-it/OTF/*.otf ~/.fonts/
rm -rf source-code-pro* 
rm 1.050R-it.zip 

cd ~/

fc-cache -f -v

install-source-code-pro.sh


Comments

  • thanks for summarizing issues briefly.


    Submitted by geekowll
    1 year ago
  • Thanks my Spacemacs starts up with no errors. The fonts are working just fine


    Submitted by Dennis
    11 months ago
  • sun poison remedy [url=http://www.studiomerliniortodonzia.it/cgi-bin/avanafil.htm]studiomerliniortodonzia.it/cgi-bin/avanafil.htm[/url] herbal supplements wholesale


    Submitted by Jamesjib
    7 months ago
  • Thanks for this script, it was very easy to use.


    Submitted by Alexander
    5 months ago
  • Generic On Line Levaquin Cod Accepted [url=https://viacialisns.com/#]buy cialis usa[/url] Kaufen Viagra Berlin <a href=https://viacialisns.com/#>Cialis</a> Cytotec 200 Posologie


    Submitted by Stevliva
    5 months ago



Add your comment
You email is never shared with anyone else.

© Copyright 2017 by Roger Pence. All rights reserved.