Consolas Font On Ubuntu

Consolas is not installed by default on Ubuntu, but we can get it.

1
2
sudo apt-get install font-manager
sudo apt-get install cabextract

Create a file named consolas.sh with following contents:

1
2
3
4
5
6
7
8
#!/bin/sh
set -e
set -x
mkdir temp
cd temp
wget http://download.microsoft.com/download/E/6/7/E675FFFC-2A6D-4AB0-B3EB-27C9F8C8F696/PowerPointViewer.exe
cabextract -L -F ppviewer.cab PowerPointViewer.exe
cabextract ppviewer.cab

Run it!

1
bash consolas.sh