How To Install emacs-intl-fonts on Ubuntu 18.04

In this tutorial we learn how to install emacs-intl-fonts on Ubuntu 18.04. emacs-intl-fonts is fonts to allow multilingual PostScript printing from Emacs

Introduction

In this tutorial we learn how to install emacs-intl-fonts on Ubuntu 18.04.

What is emacs-intl-fonts

emacs-intl-fonts is:

This package includes BDF fonts to print Amharic, Arabic, Cantonese, Chinese, Czech, Danish, Dutch, Esperanto, Estonian, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Maltese, Norwegian, Polish, Russian, Slovak, Spanish, Swedish, Thai, Tigrinya, Turkish, and Vietnamese text as bit-mapped PostScript. To see these languages in X, you can use the xfonts-intl-* packages (among others).

There are three methods to install emacs-intl-fonts on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install emacs-intl-fonts Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install emacs-intl-fonts using apt-get by running the following command:

sudo apt-get -y install emacs-intl-fonts

Install emacs-intl-fonts Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install emacs-intl-fonts using apt by running the following command:

sudo apt -y install emacs-intl-fonts

Install emacs-intl-fonts Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install emacs-intl-fonts using aptitude by running the following command:

sudo aptitude -y install emacs-intl-fonts

How To Uninstall emacs-intl-fonts on Ubuntu 18.04

To uninstall only the emacs-intl-fonts package we can use the following command:

sudo apt-get remove emacs-intl-fonts

Uninstall emacs-intl-fonts And Its Dependencies

To uninstall emacs-intl-fonts and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove emacs-intl-fonts

Remove emacs-intl-fonts Configurations and Data

To remove emacs-intl-fonts configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge emacs-intl-fonts

Remove emacs-intl-fonts configuration, data, and all of its dependencies

We can use the following command to remove emacs-intl-fonts configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge emacs-intl-fonts

References

Summary

In this tutorial we learn how to install emacs-intl-fonts package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.