How to set up various fonts I like and use on Ubuntu Linux computers

  • Use the install_source-pro_font.sh script from resources/computers/fonts/ to install a bunch of Adobe fonts. For convenience only, the current version of the script is reproduced below

     1#!/bin/bash
     2mkdir /tmp/adobefont
     3cd /tmp/adobefont
     4mkdir -p ~/.fonts
     5
     6wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip
     7unzip 1.050R-it.zip
     8cp source-code-pro-2.030R-ro-1.050R-it/OTF/*.otf ~/.fonts/
     9
    10wget https://github.com/adobe-fonts/source-serif-pro/archive/2.000R.zip
    11unzip 2.000R.zip
    12cp source-serif-pro-2.000R/OTF/*.otf ~/.fonts/
    13
    14wget https://github.com/adobe-fonts/source-sans-pro/archive/2.020R-ro/1.075R-it.zip
    15unzip 1.075R-it.zip
    16cp source-sans-pro-2.020R-ro-1.075R-it/OTF/*.otf ~/.fonts/
    17
    18wget https://github.com/adobe-fonts/source-serif/releases/download/4.004R/source-serif-4.004.zip
    19unzip source-serif-4.004.zip
    20cp source-serif-4.004/OTF/*.otf ~/.fonts/
    21
    22wget https://github.com/adobe-fonts/source-sans/releases/download/3.046R/OTF-source-sans-3.046R.zip
    23unzip OTF-source-sans-3.046R.zip
    24cp OTF/*.otf ~/.fonts/
    25
    26fc-cache -f -v
    
  • sudo apt install fonts-firacode

    • The universe repo needs to be enabled in sources.list. (The contrib repo for Debian)
  • There are also a bunch of folders with .ttf fonts in resources/computers/fonts/. Install them with

    • find . -name \*.ttf -exec cp -v {} ~/.fonts/ \;
    • fc-cache -f -v