How To Install ftpgrab on Kali Linux
Introduction
In this tutorial we learn how to install ftpgrab on Kali Linux.
What is ftpgrab
ftpgrab is:
ftpgrab is a utility for maintaining FTP mirrors. In fact not unlike the “Mirror” perl program. However ftpgrab is oriented towards the smaller site which doesn’t have the resources to mirror entire version trees of software.
The primary “plus point” of ftpgrab is that it can base download decisions by parsing version numbers out of filenames. For example, ftpgrab will recognize that the file “linux-2.2.2.tar.gz” is newer than “linux-2.2.1.tar.gz” based on the version string. It will then download the new version and delete the old one when it is done, thus saving you mirroring 10 kernel versions all at >10Mb each.
There are three methods to install ftpgrab 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 ftpgrab Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ftpgrab using apt-get by running the following command:
sudo apt-get -y install ftpgrabInstall ftpgrab Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ftpgrab using apt by running the following command:
sudo apt -y install ftpgrabInstall ftpgrab 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 ftpgrab using aptitude by running the following command:
sudo aptitude -y install ftpgrabHow To Uninstall ftpgrab on Kali Linux
To uninstall only the ftpgrab package we can use the following command:
sudo apt-get remove ftpgrabUninstall ftpgrab And Its Dependencies
To uninstall ftpgrab and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ftpgrabRemove ftpgrab Configurations and Data
To remove ftpgrab configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ftpgrabRemove ftpgrab configuration, data, and all of its dependencies
We can use the following command to remove ftpgrab configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ftpgrabDependencies
ftpgrab have the following dependencies:
References
Summary
In this tutorial we learn how to install ftpgrab package on Kali Linux using different package management tools: apt, apt-get and aptitude.