How To Install detox on Kali Linux
Introduction
In this tutorial we learn how to install detox on Kali Linux.
What is detox
detox is:
detox is a utility designed to clean up filenames. It replaces difficult to work with characters, such as spaces, with standard equivalents. It will also clean up filenames with UTF-8 or Latin-1 (or CP-1252) characters in them.
Features:
- Removal or replacement of upper ASCII Latin-1 (ISO 8859-1) characters;
- Removal or replacement of UTF-8 encoded Unicode characters;
- Removal or replacement of spaces and other potentially tricky characters;
- Trimming of excessive “_” and “-“s;
- Directory recursion, dry runs, verbose listings.
It is designed with safety in mind. It won’t overwrite a file that already exists, and it doesn’t touch special files if not requested.
detox is useful to mass rename files automatically. As just one example, you can use detox to easily standardize lots of files, as MP3 or movies, downloaded or stored inside a directory.
This package provides detox and inline-detox commands. The inline-detox can be used in command lines, as a filter in shell procedures.
There are three methods to install detox 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 detox Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install detox using apt-get by running the following command:
sudo apt-get -y install detoxInstall detox Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install detox using apt by running the following command:
sudo apt -y install detoxInstall detox 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 detox using aptitude by running the following command:
sudo aptitude -y install detoxHow To Uninstall detox on Kali Linux
To uninstall only the detox package we can use the following command:
sudo apt-get remove detoxUninstall detox And Its Dependencies
To uninstall detox and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove detoxRemove detox Configurations and Data
To remove detox configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge detoxRemove detox configuration, data, and all of its dependencies
We can use the following command to remove detox configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge detoxDependencies
detox have the following dependencies:
References
Summary
In this tutorial we learn how to install detox package on Kali Linux using different package management tools: apt, apt-get and aptitude.