How To Install font-hosny-amiri on Debian 9

In this tutorial we learn how to install font-hosny-amiri on Debian 9. font-hosny-amiri is Arabic Naskh style typographically oriented font (transitional package)

Introduction

In this tutorial we learn how to install font-hosny-amiri on Debian 9.

What is font-hosny-amiri

font-hosny-amiri is:

Amiri is a classical Arabic typeface in Naskh style for typesetting books and other running text.

Its design is a revival of the beautiful typeface pioneered in early 20th century by Bulaq Press in Cairo, also known as Amiria Press, after which the font is named.

Amiri font covers the full Unicode 6.0 Arabic and Arabic Supplement blocks, as well as the compatibility Arabic Presentation Forms-A and B blocks.

This is a dummy transitional package that will ensure a proper upgrade path. This package may be safely removed after upgrading.

There are three methods to install font-hosny-amiri on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install font-hosny-amiri Using apt-get

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

sudo apt-get update

After updating apt database, We can install font-hosny-amiri using apt-get by running the following command:

sudo apt-get -y install font-hosny-amiri

Install font-hosny-amiri Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install font-hosny-amiri using apt by running the following command:

sudo apt -y install font-hosny-amiri

Install font-hosny-amiri 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install font-hosny-amiri using aptitude by running the following command:

sudo aptitude -y install font-hosny-amiri

How To Uninstall font-hosny-amiri on Debian 9

To uninstall only the font-hosny-amiri package we can use the following command:

sudo apt-get remove font-hosny-amiri

Uninstall font-hosny-amiri And Its Dependencies

To uninstall font-hosny-amiri and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove font-hosny-amiri

Remove font-hosny-amiri Configurations and Data

To remove font-hosny-amiri configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge font-hosny-amiri

Remove font-hosny-amiri configuration, data, and all of its dependencies

We can use the following command to remove font-hosny-amiri configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge font-hosny-amiri

Dependencies

font-hosny-amiri have the following dependencies:

References

Summary

In this tutorial we learn how to install font-hosny-amiri package on Debian 9 using different package management tools: apt, apt-get and aptitude.