Created
April 3, 2019 17:29
-
-
Save solrevdev/e9725598ba3aa833cb064e940a24e617 to your computer and use it in GitHub Desktop.
install 'source code pro' font on ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Run the following to install 'Source Code Pro' font on ubuntu | |
# touch install-source-code-pro.sh | |
# chmod +x install-source-code-pro.sh | |
# ./install-source-code-pro.sh | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment