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:


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

#!/usr/bin/env bash

cd Downloads


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


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

cd ~/

fc-cache -f -v


  • thanks for summarizing issues briefly.

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

    Submitted by Dennis
    1 year ago
  • sun poison remedy [url=][/url] herbal supplements wholesale

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

    Submitted by Alexander
    1 year ago
  • Generic On Line Levaquin Cod Accepted [url=]buy cialis usa[/url] Kaufen Viagra Berlin <a href=>Cialis</a> Cytotec 200 Posologie

    Submitted by Stevliva
    1 year ago
  • Thank you! The solution worked flawlessly on Pop! OS 20.04 LTS

    Submitted by Luis
    10 months ago
  • <a href=>cialis dapoxetine overnight shipping[/url]

    Submitted by engepophy
    3 months ago

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

© Copyright 2017 by Roger Pence. All rights reserved.