How To Install python3-miniupnpc on Kali Linux
Introduction
In this tutorial we learn how to install python3-miniupnpc on Kali Linux.
What is python3-miniupnpc
python3-miniupnpc is:
The UPnP protocol is supported by most home adsl/cable routers and Microsoft Windows 2K/XP. The aim of the MiniUPnP project is to bring a free software solution to support the “Internet Gateway Device” part of the protocol. The MediaServer/MediaRenderer UPnP protocol is also becoming very popular.
Miniupnpc aims at the simplest library possible, with the smallest footprint and no dependencies to other libraries such as XML parsers or HTTP implementations. All the code is pure ANSI C. Compiled on a x86 PC, the miniupnp client library have less than 15KB code size. For instance, the upnpc sample program is around 20KB. The miniupnp daemon is much smaller than any other IGD daemon and is ideal for using on low memory device for this reason.
This package contains the Python 3 bindings.
There are three methods to install python3-miniupnpc 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 python3-miniupnpc Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install python3-miniupnpc using apt-get by running the following command:
sudo apt-get -y install python3-miniupnpcInstall python3-miniupnpc Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install python3-miniupnpc using apt by running the following command:
sudo apt -y install python3-miniupnpcInstall python3-miniupnpc 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 python3-miniupnpc using aptitude by running the following command:
sudo aptitude -y install python3-miniupnpcHow To Uninstall python3-miniupnpc on Kali Linux
To uninstall only the python3-miniupnpc package we can use the following command:
sudo apt-get remove python3-miniupnpcUninstall python3-miniupnpc And Its Dependencies
To uninstall python3-miniupnpc and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove python3-miniupnpcRemove python3-miniupnpc Configurations and Data
To remove python3-miniupnpc configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge python3-miniupnpcRemove python3-miniupnpc configuration, data, and all of its dependencies
We can use the following command to remove python3-miniupnpc configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python3-miniupnpcDependencies
python3-miniupnpc have the following dependencies:
References
Summary
In this tutorial we learn how to install python3-miniupnpc package on Kali Linux using different package management tools: apt, apt-get and aptitude.