Ubuntu Consolas Font Installation / Ubuntu 16.04 Environment

Ubuntu Consolas Font Installation / Ubuntu 16.04 Environment

1. Installation Environment

The installation environment is as follows.

  • Ubuntu 16.04 LTS 64bit, root user

2. Ubuntu Package Installation

$ apt-get install font-manager
$ apt-get install cabextract

Install font-manager.

3. Consolas Download Script Creation and Installation

$ vim consolas.sh
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
[File 1] consolas.sh

Create the consolas.sh file by copying the content from [File 1].

$ chmod +x consolas.sh
$ ./consolas.sh

Execute consolas.sh.

4. Consolas Font Installation

$ font-manager

Run font-manager.

[Figure 1] Font File Selection

[Figure 1] Font File Selection

Click Install Fonts and select the font files in the temp folder.

5. File Deletion

$ rm -r temp
$ rm consolas.sh

Delete font files and the consolas.sh file.

6. References