How To Install xfonts-scalable on Ubuntu 18.04

In this tutorial we learn how to install xfonts-scalable on Ubuntu 18.04. xfonts-scalable is scalable fonts for X

Introduction

In this tutorial we learn how to install xfonts-scalable on Ubuntu 18.04.

What is xfonts-scalable

xfonts-scalable is:

xfonts-scalable provides fonts that can be drawn at any size by the X server or font server without loss of quality. In most cases it is desirable to have the X font server (xfs) and/or an X server installed to make the fonts available to X clients.

This package is missing three fonts from the X.Org source archives because the license terms on the fonts do not meet the Debian Free Software Guidelines; they are the Type1 fonts Adobe Utopia, IBM Courier, and Bigelow & Holmes (B&H) Luxi.

This package requires the xutils package to prepare the font directories for use by an X server or X font server.

There are three methods to install xfonts-scalable 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 xfonts-scalable Using apt-get

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

sudo apt-get update

After updating apt database, We can install xfonts-scalable using apt-get by running the following command:

sudo apt-get -y install xfonts-scalable

Install xfonts-scalable Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xfonts-scalable using apt by running the following command:

sudo apt -y install xfonts-scalable

Install xfonts-scalable 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 xfonts-scalable using aptitude by running the following command:

sudo aptitude -y install xfonts-scalable

How To Uninstall xfonts-scalable on Ubuntu 18.04

To uninstall only the xfonts-scalable package we can use the following command:

sudo apt-get remove xfonts-scalable

Uninstall xfonts-scalable And Its Dependencies

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

sudo apt-get -y autoremove xfonts-scalable

Remove xfonts-scalable Configurations and Data

To remove xfonts-scalable configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge xfonts-scalable

Remove xfonts-scalable configuration, data, and all of its dependencies

We can use the following command to remove xfonts-scalable configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge xfonts-scalable

References

Summary

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