Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install font Adobe Source Code Pro on Ubuntu 16.04 LTS
# Userland mode (~$USER/), (~/).
# ~/.fonts is now deprecated and that
# ~/.local/share/fonts should be used instead
echo "installing fonts at $PWD to $FONT_HOME"
mkdir -p "$FONT_HOME/adobe-fonts/source-code-pro"
# find "$FONT_HOME" -iname '*.ttf' -exec echo '{}' \;
(git clone \
--branch release \
--depth 1 \
'' \
"$FONT_HOME/adobe-fonts/source-code-pro" && \
fc-cache -f -v "$FONT_HOME/adobe-fonts/source-code-pro")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment