How To Install libdvbpsi-dev on Ubuntu 22.04

In this tutorial we learn how to install libdvbpsi-dev on Ubuntu 22.04. libdvbpsi-dev is development files for libdvbpsi

Introduction

In this tutorial we learn how to install libdvbpsi-dev on Ubuntu 22.04.

What is libdvbpsi-dev

libdvbpsi-dev is:

libdvbpsi is a simple library designed for MPEG TS and DVB PSI tables decoding and generating.

This package contains the header files and static library needed to compile applications that use libdvbpsi.

There are three methods to install libdvbpsi-dev on Ubuntu 22.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 libdvbpsi-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 libdvbpsi-dev using apt-get by running the following command:

sudo apt-get -y install libdvbpsi-dev

Install libdvbpsi-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libdvbpsi-dev using apt by running the following command:

sudo apt -y install libdvbpsi-dev

Install libdvbpsi-dev 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 libdvbpsi-dev using aptitude by running the following command:

sudo aptitude -y install libdvbpsi-dev

How To Uninstall libdvbpsi-dev on Ubuntu 22.04

To uninstall only the libdvbpsi-dev package we can use the following command:

sudo apt-get remove libdvbpsi-dev

Uninstall libdvbpsi-dev And Its Dependencies

To uninstall libdvbpsi-dev and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove libdvbpsi-dev

Remove libdvbpsi-dev Configurations and Data

To remove libdvbpsi-dev configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge libdvbpsi-dev

Remove libdvbpsi-dev configuration, data, and all of its dependencies

We can use the following command to remove libdvbpsi-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libdvbpsi-dev

References

Summary

In this tutorial we learn how to install libdvbpsi-dev package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.