Download the archive from the Source Code Pro homepage. You can do it also using wget: Open a terminal (ctrl-alt-t or press the win key and type "terminal") and type
Unzip the archive (you can use Nautilus for that, or use the following command).
unzip 1.050R-it.zip
Locate and ensure your fonts folder exist in your home directory, often in ~/.local/share/fonts folder (either go to home in Nautilus and create a new folder, or type the following from the terminal)
My answer is similar to the others just updating the URL'S as it seems those are removed. Source code pro's new home seems to be on github. Source code pro on github.
Not exactly what the OP is asking for, but this might be easier.
You can install the powerline fonts which include slightly modified versions of a bunch of mono fonts which work with powerline for the prompt and Vim with the vim-airline plugin. It kind of gives you an 'awesome' list of source code mono fonts to try out, including "Source Code Pro". To install all the fonts:
$ git clone https://github.com/powerline/fonts.git --depth=1
$ cd fonts
$ ./install.sh
Download the archive from the Source Code Pro homepage. You can do it also using
wget
: Open a terminal (ctrl-alt-t or press the win key and type "terminal") and typeUnzip the archive (you can use Nautilus for that, or use the following command).
Locate and ensure your fonts folder exist in your home directory, often in ~/.local/share/fonts folder (either go to home in Nautilus and create a new folder, or type the following from the terminal)
If you already have that directory, don't worry.
Move the Open Type fonts (*.otf) to the newly created .fonts directory. In command line, that would be
If you haven't done it yet, open a terminal, and type
Your font is now ready to use and the applications should be able to see it.
All in one script for those who simply want to copy/paste the answer
If you want to install system wide instead of per user, copy the files to
/usr/local/share/fonts/
instead of~/.local/share/fonts/
.In order to install Source Code Pro, you can:
source code
in the search box (the only match should be Source Code Pro)Now you just need to decompress the Zip file into your
~/.fonts
folder:You may need to run
to make the fonts available (no need to log out).
Thanks for the answer, just a modified script to get the latest file
My answer is similar to the others just updating the URL'S as it seems those are removed. Source code pro's new home seems to be on github. Source code pro on github.
That will install the latest release of the font (as I'm writing this in June 2021, released January 2021).
Based on a GitHub post, this script worked for me. I had to modify the folder names to get it to work.
There is also a working third-party debian package on github.
To install:
Not exactly what the OP is asking for, but this might be easier.
You can install the powerline fonts which include slightly modified versions of a bunch of mono fonts which work with powerline for the prompt and Vim with the vim-airline plugin. It kind of gives you an 'awesome' list of source code mono fonts to try out, including "Source Code Pro". To install all the fonts: