How To Install vdpau-va-driver on Ubuntu 18.04

In this tutorial we learn how to install vdpau-va-driver on Ubuntu 18.04. vdpau-va-driver is VDPAU-based backend for VA API

Introduction

In this tutorial we learn how to install vdpau-va-driver on Ubuntu 18.04.

What is vdpau-va-driver

vdpau-va-driver is:

The VA-API (Video Acceleration API) enables hardware accelerated video decode/encode at various entry-points (VLD, IDCT, Motion Compensation etc.) for the prevailing coding standards today (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3). It provides an interface to fully expose the video decode capabilities in today’s GPUs.

This package contains the VDPAU-based backend driver for use with the VA API library.

There are three methods to install vdpau-va-driver 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 vdpau-va-driver Using apt-get

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

sudo apt-get update

After updating apt database, We can install vdpau-va-driver using apt-get by running the following command:

sudo apt-get -y install vdpau-va-driver

Install vdpau-va-driver Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install vdpau-va-driver using apt by running the following command:

sudo apt -y install vdpau-va-driver

Install vdpau-va-driver 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 vdpau-va-driver using aptitude by running the following command:

sudo aptitude -y install vdpau-va-driver

How To Uninstall vdpau-va-driver on Ubuntu 18.04

To uninstall only the vdpau-va-driver package we can use the following command:

sudo apt-get remove vdpau-va-driver

Uninstall vdpau-va-driver And Its Dependencies

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

sudo apt-get -y autoremove vdpau-va-driver

Remove vdpau-va-driver Configurations and Data

To remove vdpau-va-driver configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge vdpau-va-driver

Remove vdpau-va-driver configuration, data, and all of its dependencies

We can use the following command to remove vdpau-va-driver configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge vdpau-va-driver

References

Summary

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