How To Install nat-rtsp-dkms on Ubuntu 18.04

In this tutorial we learn how to install nat-rtsp-dkms on Ubuntu 18.04. nat-rtsp-dkms is Connection tracking and NAT support for RTSP

Introduction

In this tutorial we learn how to install nat-rtsp-dkms on Ubuntu 18.04.

What is nat-rtsp-dkms

nat-rtsp-dkms is:

Real Time Streaming Protocol is a network control protocol designed for use in entertainment and communications systems to control streaming media servers.

For example in France, the modem provided by Free ISP (Freebox) uses this protocol to broadcast TV/radio channels on the LAN. This module is required for any router between the modem and end-users.

There are three methods to install nat-rtsp-dkms 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 nat-rtsp-dkms Using apt-get

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

sudo apt-get update

After updating apt database, We can install nat-rtsp-dkms using apt-get by running the following command:

sudo apt-get -y install nat-rtsp-dkms

Install nat-rtsp-dkms Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install nat-rtsp-dkms using apt by running the following command:

sudo apt -y install nat-rtsp-dkms

Install nat-rtsp-dkms 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 nat-rtsp-dkms using aptitude by running the following command:

sudo aptitude -y install nat-rtsp-dkms

How To Uninstall nat-rtsp-dkms on Ubuntu 18.04

To uninstall only the nat-rtsp-dkms package we can use the following command:

sudo apt-get remove nat-rtsp-dkms

Uninstall nat-rtsp-dkms And Its Dependencies

To uninstall nat-rtsp-dkms and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove nat-rtsp-dkms

Remove nat-rtsp-dkms Configurations and Data

To remove nat-rtsp-dkms configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge nat-rtsp-dkms

Remove nat-rtsp-dkms configuration, data, and all of its dependencies

We can use the following command to remove nat-rtsp-dkms configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge nat-rtsp-dkms

References

Summary

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