Last active
October 15, 2025 16:02
-
-
Save jacksonpradolima/840b4a20c617204a65b15da61e124bf6 to your computer and use it in GitHub Desktop.
Installing Adobe's Source Pro fonts in Ubuntu: Source Code Pro, Source Serif Prof, and Source Sans Pro
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
| #!/bin/bash | |
| mkdir /tmp/adodefont | |
| cd /tmp/adodefont | |
| mkdir -p ~/.fonts | |
| wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip | |
| unzip 1.050R-it.zip | |
| cp source-code-pro-2.030R-ro-1.050R-it/OTF/*.otf ~/.fonts/ | |
| wget https://github.com/adobe-fonts/source-serif-pro/archive/2.000R.zip | |
| unzip 2.000R.zip | |
| cp source-serif-pro-2.000R/OTF/*.otf ~/.fonts/ | |
| wget https://github.com/adobe-fonts/source-sans-pro/archive/2.020R-ro/1.075R-it.zip | |
| unzip 1.075R-it.zip | |
| cp source-sans-pro-2.020R-ro-1.075R-it/OTF/*.otf ~/.fonts/ | |
| fc-cache -f -v |
Nill-R
commented
Feb 25, 2023
#!/usr/bin/env bash
(
cd $(mktemp -d /tmp/script.XXXXXXX)
TEMP_DIR=$(pwd)
mkdir -p ~/.fonts
wget https://github.com/adobe-fonts/source-code-pro/releases/download/2.042R-u%2F1.062R-i%2F1.026R-vf/OTF-source-code-pro-2.042R-u_1.062R-i.zip
unzip OTF-source-code-pro-2.042R-u_1.062R-i.zip
cp -f OTF/*.otf ~/.fonts/
rm -rf OTF
wget https://github.com/adobe-fonts/source-serif/releases/download/4.005R/source-serif-4.005_Desktop.zip
unzip source-serif-4.005_Desktop.zip
cp -f source-serif-4.005_Desktop/OTF/*.otf ~/.fonts/
rm -rf source-serif-4.005_Desktop
wget https://github.com/adobe-fonts/source-sans/releases/download/3.052R/OTF-source-sans-3.052R.zip
unzip OTF-source-sans-3.052R.zip
cp -f OTF/*.otf ~/.fonts/
rm -rf OTF
fc-cache -f -v
rm -rf $TEMP_DIR
)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment