How To Install libde265-dev on Ubuntu 20.04

In this tutorial we learn how to install libde265-dev on Ubuntu 20.04. libde265-dev is Open H.265 video codec implementation - development files

Introduction

In this tutorial we learn how to install libde265-dev on Ubuntu 20.04.

What is libde265-dev

libde265-dev is:

libde265 is an open source implementation of the H.265 video codec. It is written from scratch in plain C for simplicity and efficiency. Its simple API makes it easy to integrate it into other software.

The development headers for compiling programs that use libde265 are provided by this package.

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

sudo apt-get -y install libde265-dev

Install libde265-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libde265-dev

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

sudo aptitude -y install libde265-dev

How To Uninstall libde265-dev on Ubuntu 20.04

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

sudo apt-get remove libde265-dev

Uninstall libde265-dev And Its Dependencies

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

sudo apt-get -y autoremove libde265-dev

Remove libde265-dev Configurations and Data

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

sudo apt-get -y purge libde265-dev

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

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

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

References

Summary

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