How To Install wget2-dev on Kali Linux
Introduction
In this tutorial we learn how to install wget2-dev
on Kali Linux.
What is wget2-dev
wget2-dev is:
GNU Wget is a network utility to retrieve files from the web using HTTP(S) and FTP, the two most widely used internet protocols. It works non-interactively, so it will work in the background, after having logged off. The program supports recursive retrieval of web-authoring pages as well as FTP sites – you can use Wget to make mirrors of archives and home pages or to travel the web like a WWW robot.
These are the development files to build software with libwget.
There are three methods to install wget2-dev
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 wget2-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install wget2-dev
using apt-get
by running the following command:
sudo apt-get -y install wget2-dev
Install wget2-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install wget2-dev
using apt
by running the following command:
sudo apt -y install wget2-dev
Install wget2-dev 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 wget2-dev
using aptitude
by running the following command:
sudo aptitude -y install wget2-dev
How To Uninstall wget2-dev on Kali Linux
To uninstall only the wget2-dev
package we can use the following command:
sudo apt-get remove wget2-dev
Uninstall wget2-dev And Its Dependencies
To uninstall wget2-dev
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove wget2-dev
Remove wget2-dev Configurations and Data
To remove wget2-dev
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge wget2-dev
Remove wget2-dev configuration, data, and all of its dependencies
We can use the following command to remove wget2-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge wget2-dev
Dependencies
wget2-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install wget2-dev
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.