How To Install libyami-dev on Ubuntu 18.04

In this tutorial we learn how to install libyami-dev on Ubuntu 18.04. libyami-dev is high-level abstraction for Video Acceleration (VA) API (development files)

Introduction

In this tutorial we learn how to install libyami-dev on Ubuntu 18.04.

What is libyami-dev

libyami-dev is:

Video Acceleration API (VA API) is a library (“libVA”) and API specification which enables and provides access to graphics hardware (GPU) acceleration for video processing on Linux and UNIX based operating systems. Accelerated processing includes video decoding, video encoding, subpicture blending and rendering. libyami builds on top of libva, and provides high level API for video processing. It will help with bitstream parsing, reference frame management, etc.

This package provides the development files for libyami.

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

sudo apt-get -y install libyami-dev

Install libyami-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libyami-dev

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

sudo aptitude -y install libyami-dev

How To Uninstall libyami-dev on Ubuntu 18.04

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

sudo apt-get remove libyami-dev

Uninstall libyami-dev And Its Dependencies

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

sudo apt-get -y autoremove libyami-dev

Remove libyami-dev Configurations and Data

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

sudo apt-get -y purge libyami-dev

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

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

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

References

Summary

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