How To Install upnp-router-control on Ubuntu 18.04

In this tutorial we learn how to install upnp-router-control on Ubuntu 18.04. upnp-router-control is UPnP compliant router manager

Introduction

In this tutorial we learn how to install upnp-router-control on Ubuntu 18.04.

What is upnp-router-control

upnp-router-control is:

UPnP Router Control allows one to see some parameters of the router like: the network speed, the external IP and the model name. It can manage port forwarding through a simple interface.

UPnP Router Control retrieves this information trough the UPnP-IGD protocol, so you must enable it on your router in order to utilize it.

There are three methods to install upnp-router-control on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install upnp-router-control Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install upnp-router-control using apt-get by running the following command:

sudo apt-get -y install upnp-router-control

Install upnp-router-control Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install upnp-router-control using apt by running the following command:

sudo apt -y install upnp-router-control

Install upnp-router-control Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install upnp-router-control using aptitude by running the following command:

sudo aptitude -y install upnp-router-control

How To Uninstall upnp-router-control on Ubuntu 18.04

To uninstall only the upnp-router-control package we can use the following command:

sudo apt-get remove upnp-router-control

Uninstall upnp-router-control And Its Dependencies

To uninstall upnp-router-control and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove upnp-router-control

Remove upnp-router-control Configurations and Data

To remove upnp-router-control configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge upnp-router-control

Remove upnp-router-control configuration, data, and all of its dependencies

We can use the following command to remove upnp-router-control configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge upnp-router-control

References

Summary

In this tutorial we learn how to install upnp-router-control package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.