How To Install coreutils on Kali Linux
Introduction
In this tutorial we learn how to install coreutils
on Kali Linux.
What is coreutils
coreutils is:
This package contains the basic file, shell and text manipulation utilities which are expected to exist on every operating system.
Specifically, this package includes: arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp csplit cut date dd df dir dircolors dirname du echo env expand expr factor false flock fmt fold groups head hostid id install join link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup nproc numfmt od paste pathchk pinky pr printenv printf ptx pwd readlink realpath rm rmdir runcon sha*sum seq shred sleep sort split stat stty sum sync tac tail tee test timeout touch tr true truncate tsort tty uname unexpand uniq unlink users vdir wc who whoami yes
There are three methods to install coreutils
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 coreutils Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install coreutils
using apt-get
by running the following command:
Install coreutils Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install coreutils
using apt
by running the following command:
Install coreutils 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.
After updating apt database, We can install coreutils
using aptitude
by running the following command:
How To Uninstall coreutils on Kali Linux
To uninstall only the coreutils
package we can use the following command:
Uninstall coreutils And Its Dependencies
To uninstall coreutils
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
Remove coreutils Configurations and Data
To remove coreutils
configuration and data from Kali Linux we can use the following command:
Remove coreutils configuration, data, and all of its dependencies
We can use the following command to remove coreutils
configurations, data and all of its dependencies, we can use the following command:
Dependencies
coreutils have the following dependencies:
References
Summary
In this tutorial we learn how to install coreutils
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.