How To Install num-utils on Kali Linux
Introduction
In this tutorial we learn how to install num-utils
on Kali Linux.
What is num-utils
num-utils is:
The ’num-utils’ are a set of programs for dealing with numbers from the Unix command line. Much like the other Unix command line utilities like grep, awk, sort, cut, etc. these utilities work on data from both standard in and data from files.
Includes these programs:
- numaverage: A program for calculating the average of numbers.
- numbound: Finds the boundary numbers (min and max) of input.
- numinterval: Shows the numeric intervals between each number in a sequence.
- numnormalize: Normalizes a set of numbers between 0 and 1 by default.
- numgrep: Like normal grep, but for sets of numbers.
- numprocess: Do mathematical operations on numbers.
- numsum: Add up all the numbers.
- numrandom: Generate a random number from a given expression.
- numrange: Generate a set of numbers in a range expression.
- numround: Round each number according to its value.
There are three methods to install num-utils
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 num-utils Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install num-utils
using apt-get
by running the following command:
sudo apt-get -y install num-utils
Install num-utils Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install num-utils
using apt
by running the following command:
sudo apt -y install num-utils
Install num-utils 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 num-utils
using aptitude
by running the following command:
sudo aptitude -y install num-utils
How To Uninstall num-utils on Kali Linux
To uninstall only the num-utils
package we can use the following command:
sudo apt-get remove num-utils
Uninstall num-utils And Its Dependencies
To uninstall num-utils
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove num-utils
Remove num-utils Configurations and Data
To remove num-utils
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge num-utils
Remove num-utils configuration, data, and all of its dependencies
We can use the following command to remove num-utils
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge num-utils
Dependencies
num-utils have the following dependencies:
References
Summary
In this tutorial we learn how to install num-utils
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.