How To Install fonts-hosny-amiri on Ubuntu 22.04
Introduction
In this tutorial we learn how to install fonts-hosny-amiri
on Ubuntu 22.04.
What is fonts-hosny-amiri
fonts-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.
There are three methods to install fonts-hosny-amiri
on Ubuntu 22.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 fonts-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 fonts-hosny-amiri
using apt-get
by running the following command:
sudo apt-get -y install fonts-hosny-amiri
Install fonts-hosny-amiri Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install fonts-hosny-amiri
using apt
by running the following command:
sudo apt -y install fonts-hosny-amiri
Install fonts-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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install fonts-hosny-amiri
using aptitude
by running the following command:
sudo aptitude -y install fonts-hosny-amiri
How To Uninstall fonts-hosny-amiri on Ubuntu 22.04
To uninstall only the fonts-hosny-amiri
package we can use the following command:
sudo apt-get remove fonts-hosny-amiri
Uninstall fonts-hosny-amiri And Its Dependencies
To uninstall fonts-hosny-amiri
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove fonts-hosny-amiri
Remove fonts-hosny-amiri Configurations and Data
To remove fonts-hosny-amiri
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge fonts-hosny-amiri
Remove fonts-hosny-amiri configuration, data, and all of its dependencies
We can use the following command to remove fonts-hosny-amiri
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fonts-hosny-amiri
References
Summary
In this tutorial we learn how to install fonts-hosny-amiri
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.