How To Install mesa-vdpau-drivers on Ubuntu 20.04
Introduction
In this tutorial we learn how to install mesa-vdpau-drivers on Ubuntu 20.04.
What is mesa-vdpau-drivers
mesa-vdpau-drivers is:
These libraries provide the Video Decode and Presentation API for Unix. They provide accelerated video playback (incl. H.264) and video post-processing for the supported graphics cards.
This package enables support for VDPAU for some gallium drivers. Task: kubuntu-desktop, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Package: mesa-vdpau-drivers Architecture: amd64 Version: 20.0.4-2ubuntu1 Multi-Arch: same Priority: optional Section: libs Source: mesa Origin: Ubuntu Maintainer: Ubuntu X-SWAT [email protected] Original-Maintainer: Debian X Strike Force [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 36950 Provides: vdpau-driver Depends: libvdpau1, libc6 (>= 2.29), libdrm-amdgpu1 (>= 2.4.100), libdrm-nouveau2 (>= 2.4.66), libdrm-radeon1 (>= 2.4.31), libdrm2 (>= 2.4.75), libelf1 (>= 0.142), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.4), libllvm9 (>= 1:9~svn298832-1~), libstdc++6 (>= 5.2), libx11-xcb1 (>= 2:1.6.9), libxcb-dri2-0 (>= 1.8), libxcb-dri3-0, libxcb-present0, libxcb-sync1, libxcb-xfixes0, libxcb1 (>= 1.9.2), libxshmfence1, libzstd1 (>= 1.3.2), zlib1g (>= 1:1.1.4) Enhances: libvdpau1 Filename: pool/main/m/mesa/mesa-vdpau-drivers_20.0.4-2ubuntu1_amd64.deb Size: 2545648 MD5sum: c65d05cf74f546eb7fd2b74502e9e227 SHA1: 70de0bdb52742c0da64bc01d8206ed52ec82b241 SHA256: f70a38d3e56be251e6f21e4689279fda7db9d93ee12725d22aa5262fb2aec23d Homepage: https://mesa3d.org/ Description-en: Mesa VDPAU video acceleration drivers These libraries provide the Video Decode and Presentation API for Unix. They provide accelerated video playback (incl. H.264) and video post-processing for the supported graphics cards.
This package enables support for VDPAU for some gallium drivers. Task: kubuntu-desktop, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
There are three methods to install mesa-vdpau-drivers 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 mesa-vdpau-drivers Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install mesa-vdpau-drivers using apt-get by running the following command:
sudo apt-get -y install mesa-vdpau-drivers
Install mesa-vdpau-drivers Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install mesa-vdpau-drivers using apt by running the following command:
sudo apt -y install mesa-vdpau-drivers
Install mesa-vdpau-drivers 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 mesa-vdpau-drivers using aptitude by running the following command:
sudo aptitude -y install mesa-vdpau-drivers
How To Uninstall mesa-vdpau-drivers on Ubuntu 20.04
To uninstall only the mesa-vdpau-drivers package we can use the following command:
sudo apt-get remove mesa-vdpau-drivers
Uninstall mesa-vdpau-drivers And Its Dependencies
To uninstall mesa-vdpau-drivers and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove mesa-vdpau-drivers
Remove mesa-vdpau-drivers Configurations and Data
To remove mesa-vdpau-drivers configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge mesa-vdpau-drivers
Remove mesa-vdpau-drivers configuration, data, and all of its dependencies
We can use the following command to remove mesa-vdpau-drivers configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mesa-vdpau-drivers
References
Summary
In this tutorial we learn how to install mesa-vdpau-drivers package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.