How To Install ascii on Debian 9
Introduction
In this tutorial we learn how to install ascii
on Debian 9.
What is ascii
ascii is:
The ascii utility provides easy conversion between various byte representations and the American Standard Code for Information Interchange (ASCII) character table. It knows about a wide variety of hex, binary, octal, Teletype mnemonic, ISO/ECMA code point, slang names, XML entity names, and other representations. Given any one on the command line, it will try to display all others. Called with no arguments it displays a handy small ASCII chart.
There are three methods to install ascii
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 ascii Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ascii
using apt-get
by running the following command:
sudo apt-get -y install ascii
Install ascii Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ascii
using apt
by running the following command:
sudo apt -y install ascii
Install ascii 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 ascii
using aptitude
by running the following command:
sudo aptitude -y install ascii
How To Uninstall ascii on Debian 9
To uninstall only the ascii
package we can use the following command:
sudo apt-get remove ascii
Uninstall ascii And Its Dependencies
To uninstall ascii
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove ascii
Remove ascii Configurations and Data
To remove ascii
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge ascii
Remove ascii configuration, data, and all of its dependencies
We can use the following command to remove ascii
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ascii
Dependencies
ascii have the following dependencies:
References
Summary
In this tutorial we learn how to install ascii
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.