How To Install mesa-vulkan-drivers on Ubuntu 20.04
Introduction
In this tutorial we learn how to install mesa-vulkan-drivers
on Ubuntu 20.04.
What is mesa-vulkan-drivers
mesa-vulkan-drivers is:
Vulkan is a low-overhead 3D graphics and compute API. This package includes Vulkan drivers provided by the Mesa project. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Package: mesa-vulkan-drivers Status: install ok installed Priority: optional Section: libs Installed-Size: 17172 Maintainer: Ubuntu Developers [email protected] Architecture: amd64 Multi-Arch: same Source: mesa Version: 20.2.6-0ubuntu0.20.04.1 Provides: vulkan-icd Depends: libvulkan1, libc6 (>= 2.29), libdrm-amdgpu1 (>= 2.4.99), libdrm2 (>= 2.4.89), libelf1 (>= 0.142), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.4), libllvm11 (>= 1:9~svn298832-1~), libstdc++6 (>= 5.2), libwayland-client0 (>= 1.15.0), libx11-xcb1 (>= 2:1.6.9), libxcb-dri3-0 (>= 1.13), libxcb-present0, libxcb-randr0 (>= 1.13), libxcb-sync1, libxcb1 (>= 1.9.2), libxshmfence1, libzstd1 (>= 1.3.2), zlib1g (>= 1:1.1.4) Description-en: Mesa Vulkan graphics drivers Vulkan is a low-overhead 3D graphics and compute API. This package includes Vulkan drivers provided by the Mesa project. Original-Maintainer: Debian X Strike Force [email protected] Homepage: https://mesa3d.org/
Package: mesa-vulkan-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: 15173 Provides: vulkan-icd Depends: libvulkan1, libc6 (>= 2.29), libdrm-amdgpu1 (>= 2.4.97), libdrm2 (>= 2.4.89), libelf1 (>= 0.142), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.4), libllvm9 (>= 1:9~svn298832-1~), libstdc++6 (>= 5.2), libwayland-client0 (>= 1.15.0), libx11-xcb1 (>= 2:1.6.9), libxcb-dri3-0 (>= 1.13), libxcb-present0, libxcb-randr0 (>= 1.13), libxcb-sync1, libxcb1 (>= 1.9.2), libxshmfence1, libzstd1 (>= 1.3.2), zlib1g (>= 1:1.1.4) Filename: pool/main/m/mesa/mesa-vulkan-drivers_20.0.4-2ubuntu1_amd64.deb Size: 3346396 MD5sum: 09fb48450dea71a713bd141df65b7102 SHA1: cc5b74a885e591d11e30fe2a59673c939fe8b510 SHA256: 027ea2a16b9177a17fa8e4fab0140fdc27173cf2c77fabd7fc3739fc03ac77dd Homepage: https://mesa3d.org/ Description-en: Mesa Vulkan graphics drivers Vulkan is a low-overhead 3D graphics and compute API. This package includes Vulkan drivers provided by the Mesa project. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
There are three methods to install mesa-vulkan-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-vulkan-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-vulkan-drivers
using apt-get
by running the following command:
sudo apt-get -y install mesa-vulkan-drivers
Install mesa-vulkan-drivers Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install mesa-vulkan-drivers
using apt
by running the following command:
sudo apt -y install mesa-vulkan-drivers
Install mesa-vulkan-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-vulkan-drivers
using aptitude
by running the following command:
sudo aptitude -y install mesa-vulkan-drivers
How To Uninstall mesa-vulkan-drivers on Ubuntu 20.04
To uninstall only the mesa-vulkan-drivers
package we can use the following command:
sudo apt-get remove mesa-vulkan-drivers
Uninstall mesa-vulkan-drivers And Its Dependencies
To uninstall mesa-vulkan-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-vulkan-drivers
Remove mesa-vulkan-drivers Configurations and Data
To remove mesa-vulkan-drivers
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge mesa-vulkan-drivers
Remove mesa-vulkan-drivers configuration, data, and all of its dependencies
We can use the following command to remove mesa-vulkan-drivers
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mesa-vulkan-drivers
References
Summary
In this tutorial we learn how to install mesa-vulkan-drivers
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.