Introduction
In this tutorial we learn how to install ascii2binary
on Kali Linux.
What is ascii2binary
ascii2binary is:
This package contains:
- ascii2binary reads input consisting of ascii or hexadecimal representation
numbers separated by whitespace and produces as output the binary
equivalents. The type and precision of the binary output is selected
using command line flags. - binary2ascii reads input consisting of binary numbers and converts
them to their ascii or hexadecimal representation.
Command line flags specify the type and size of the binary numbers
and provide control over the format of the output.
Unsigned integers may be written out in binary, octal, decimal,
or hexadecimal.
Signed integers may be written out only in binary or decimal. Floating
point numbers may be written out only decimal, either in standard or
scientific notation. (If you want to examine the binary representation
of floating point numbers, just treat the input as a sequence of unsigned
characters.)
The two programs are useful for generating test data, for inspecting binary
files, and for interfacing programs that generate textual output to programs
that require binary input and conversely. They can also be useful when it is
desired to reformat numbers.
There are three methods to install ascii2binary
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 ascii2binary Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ascii2binary
using apt-get
by running the following command:
sudo apt-get -y install ascii2binary
Install ascii2binary Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ascii2binary
using apt
by running the following command:
sudo apt -y install ascii2binary
Install ascii2binary 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 ascii2binary
using aptitude
by running the following command:
sudo aptitude -y install ascii2binary
How To Uninstall ascii2binary on Kali Linux
To uninstall only the ascii2binary
package we can use the following command:
sudo apt-get remove ascii2binary
Uninstall ascii2binary And Its Dependencies
To uninstall ascii2binary
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ascii2binary
Remove ascii2binary Configurations and Data
To remove ascii2binary
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ascii2binary
Remove ascii2binary configuration, data, and all of its dependencies
We can use the following command to remove ascii2binary
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ascii2binary
Dependencies
ascii2binary have the following dependencies:
References
Summary
In this tutorial we learn how to install ascii2binary
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.