How To Install xd on Kali Linux
Introduction
In this tutorial we learn how to install xd on Kali Linux.
What is xd
xd is:
The program xd is a program smart directory changer. It allows you to change to a directory specifying only its initial characters or a subset of the initial characters allowing commands like ‘xd ulb’ to do a ‘chdir /usr/local/bin’.
xd can be used in combination with the standard tab-filename completion as offered by most shells. But as xd is very easy to use, one is quickly addicted to xd when changing to directories that are not close to the current working directory. Small changes required thereafter are in practice always performed using the facilities offered by the command shell.
When multiple expansions are available xd offers a list of alternatives from which the user may select an option by simply pressing an associated key. Directories that are never selected by the user may be ignored using directives in xd’s configuration file.
There are three methods to install xd 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 xd Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install xd using apt-get by running the following command:
sudo apt-get -y install xdInstall xd Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install xd using apt by running the following command:
sudo apt -y install xdInstall xd 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 updateAfter updating apt database, We can install xd using aptitude by running the following command:
sudo aptitude -y install xdHow To Uninstall xd on Kali Linux
To uninstall only the xd package we can use the following command:
sudo apt-get remove xdUninstall xd And Its Dependencies
To uninstall xd and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove xdRemove xd Configurations and Data
To remove xd configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge xdRemove xd configuration, data, and all of its dependencies
We can use the following command to remove xd configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge xdDependencies
xd have the following dependencies:
References
Summary
In this tutorial we learn how to install xd package on Kali Linux using different package management tools: apt, apt-get and aptitude.