How To Install libvdpau-doc on Ubuntu 18.04

In this tutorial we learn how to install libvdpau-doc on Ubuntu 18.04. libvdpau-doc is Video Decode and Presentation API for Unix (documentation)

Introduction

In this tutorial we learn how to install libvdpau-doc on Ubuntu 18.04.

What is libvdpau-doc

libvdpau-doc is:

VDPAU (Video Decode and Presentation API for Unix) is an open source library (libvdpau) and API designed by NVIDIA originally for its GeForce 8 series and later GPU hardware, targeted at the X Window System on Unix operating-systems (including Linux, FreeBSD, and Solaris). This VDPAU API allows video programs to offload portions of the video decoding process and video post-processing to the GPU video-hardware.

This package contains the VDPAU documentation.

There are three methods to install libvdpau-doc 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 libvdpau-doc Using apt-get

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

sudo apt-get update

After updating apt database, We can install libvdpau-doc using apt-get by running the following command:

sudo apt-get -y install libvdpau-doc

Install libvdpau-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libvdpau-doc

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

sudo aptitude -y install libvdpau-doc

How To Uninstall libvdpau-doc on Ubuntu 18.04

To uninstall only the libvdpau-doc package we can use the following command:

sudo apt-get remove libvdpau-doc

Uninstall libvdpau-doc And Its Dependencies

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

sudo apt-get -y autoremove libvdpau-doc

Remove libvdpau-doc Configurations and Data

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

sudo apt-get -y purge libvdpau-doc

Remove libvdpau-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libvdpau-doc

References

Summary

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