How To Install libnginx-mod-rtmp on Ubuntu 20.04

In this tutorial we learn how to install libnginx-mod-rtmp on Ubuntu 20.04. libnginx-mod-rtmp is RTMP support for Nginx RTMP support for Nginx

Introduction

In this tutorial we learn how to install libnginx-mod-rtmp on Ubuntu 20.04.

What is libnginx-mod-rtmp

libnginx-mod-rtmp is:

The nginx RTMP module is a fully-featured streaming solution implemented in nginx.

It provides the following features:

  • Live streaming with RTMP, HLS and MPEG-DASH;
  • RTMP Video on Demand from local or HTTP sources;
  • Stream relay support via a push or pull model;
  • Integrated stream recording;
  • and more.

Package: libnginx-mod-rtmp Architecture: amd64 Version: 1.17.10-0ubuntu1 Priority: optional Section: universe/httpd Source: nginx Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Nginx Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 378 Depends: nginx-common (= 1.17.10-0ubuntu1), libc6 (>= 2.28) Filename: pool/universe/n/nginx/libnginx-mod-rtmp_1.17.10-0ubuntu1_amd64.deb Size: 124096 MD5sum: a5a267a50c2fe771f4a6922db5730f38 SHA1: 85666b3a0fec247a0055fb9674bf15eb29b5625c SHA256: 82c3d5ce9f3a6b88b1fa3936b9966bde6ae4c9401a0329da36cabed93f6df52c Homepage: http://nginx.net Description-en: RTMP support for Nginx The nginx RTMP module is a fully-featured streaming solution implemented in nginx.

It provides the following features:

  • Live streaming with RTMP, HLS and MPEG-DASH;
  • RTMP Video on Demand from local or HTTP sources;
  • Stream relay support via a push or pull model;
  • Integrated stream recording;
  • and more.

There are three methods to install libnginx-mod-rtmp on Ubuntu 20.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 libnginx-mod-rtmp Using apt-get

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

sudo apt-get update

After updating apt database, We can install libnginx-mod-rtmp using apt-get by running the following command:

sudo apt-get -y install libnginx-mod-rtmp

Install libnginx-mod-rtmp Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libnginx-mod-rtmp using apt by running the following command:

sudo apt -y install libnginx-mod-rtmp

Install libnginx-mod-rtmp 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 libnginx-mod-rtmp using aptitude by running the following command:

sudo aptitude -y install libnginx-mod-rtmp

How To Uninstall libnginx-mod-rtmp on Ubuntu 20.04

To uninstall only the libnginx-mod-rtmp package we can use the following command:

sudo apt-get remove libnginx-mod-rtmp

Uninstall libnginx-mod-rtmp And Its Dependencies

To uninstall libnginx-mod-rtmp and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libnginx-mod-rtmp

Remove libnginx-mod-rtmp Configurations and Data

To remove libnginx-mod-rtmp configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libnginx-mod-rtmp

Remove libnginx-mod-rtmp configuration, data, and all of its dependencies

We can use the following command to remove libnginx-mod-rtmp configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libnginx-mod-rtmp

References

Summary

In this tutorial we learn how to install libnginx-mod-rtmp package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.