How To Install fonts-ocr-b on Kali Linux
Introduction
In this tutorial we learn how to install fonts-ocr-b
on Kali Linux.
What is fonts-ocr-b
fonts-ocr-b is:
Provides the OCR-B typeface originally designed by Adrian Frutiger and standardised in ISO 1073/II-1976 (E). Originally designed for use with OCR, it has a somewhat mechanical appearance, and remains in use in passports and on car number plates.
There are three methods to install fonts-ocr-b
on Kali Linux. 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-ocr-b 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-ocr-b
using apt-get
by running the following command:
sudo apt-get -y install fonts-ocr-b
Install fonts-ocr-b Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install fonts-ocr-b
using apt
by running the following command:
sudo apt -y install fonts-ocr-b
Install fonts-ocr-b Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install fonts-ocr-b
using aptitude
by running the following command:
sudo aptitude -y install fonts-ocr-b
How To Uninstall fonts-ocr-b on Kali Linux
To uninstall only the fonts-ocr-b
package we can use the following command:
sudo apt-get remove fonts-ocr-b
Uninstall fonts-ocr-b And Its Dependencies
To uninstall fonts-ocr-b
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove fonts-ocr-b
Remove fonts-ocr-b Configurations and Data
To remove fonts-ocr-b
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge fonts-ocr-b
Remove fonts-ocr-b configuration, data, and all of its dependencies
We can use the following command to remove fonts-ocr-b
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fonts-ocr-b
Dependencies
fonts-ocr-b have the following dependencies:
References
Summary
In this tutorial we learn how to install fonts-ocr-b
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.