Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Install IBM Plex Font

Steps

Copy, paste, and execute the following script to download and install the IBM Plex font (tested for Ubuntu 16.04 Desktop):

#!/bin/bash

cd /tmp

# install unzip just in case the user doesn't already have it.
sudo apt-get install unzip -y
wget "https://github.com/IBM/type/archive/master.zip"

unzip master.zip
rm master.zip

cd type-master

sudo mkdir -p /usr/share/fonts/truetype/ibm-plex
sudo mkdir -p /usr/share/fonts/opentype/ibm-plex

sudo cp /tmp/type-master/fonts/*/desktop/pc/*.ttf /usr/share/fonts/truetype/ibm-plex/.
sudo cp /tmp/type-master/fonts/*/desktop/mac/*.otf /usr/share/fonts/opentype/ibm-plex/.

sudo fc-cache -fv

So you can see what it is like in action, below is a screenshot of the script above, written in gedit, using one of the variations of the font. I find it quite pleasing to write scripts with.

References