How To Install libdrm-amdgpu1 on Ubuntu 20.04

In this tutorial we learn how to install libdrm-amdgpu1 on Ubuntu 20.04. libdrm-amdgpu1 is Userspace interface to amdgpu-specific kernel DRM services – runtime Userspace interface to amdgpu-specific kernel DRM services – runtime Userspace interface to amdgpu-specific kernel DRM services – runtime

Introduction

In this tutorial we learn how to install libdrm-amdgpu1 on Ubuntu 20.04.

What is libdrm-amdgpu1

libdrm-amdgpu1 is:

This library implements the userspace interface to the kernel DRM services. DRM stands for “Direct Rendering Manager”, which is the kernelspace portion of the “Direct Rendering Infrastructure” (DRI). The DRI is currently used on Linux to provide hardware-accelerated OpenGL drivers. 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: libdrm-amdgpu1 Status: install ok installed Priority: optional Section: libs Installed-Size: 83 Maintainer: Ubuntu Developers [email protected] Architecture: amd64 Multi-Arch: same Source: libdrm Version: 2.4.102-1ubuntu1~20.04.1 Depends: libc6 (>= 2.28), libdrm2 (>= 2.4.101) Description-en: Userspace interface to amdgpu-specific kernel DRM services – runtime This library implements the userspace interface to the kernel DRM services. DRM stands for “Direct Rendering Manager”, which is the kernelspace portion of the “Direct Rendering Infrastructure” (DRI). The DRI is currently used on Linux to provide hardware-accelerated OpenGL drivers. Original-Maintainer: Debian X Strike Force [email protected] Homepage: https://cgit.freedesktop.org/mesa/drm/

Package: libdrm-amdgpu1 Architecture: amd64 Version: 2.4.101-2 Multi-Arch: same Priority: optional Section: libs Source: libdrm Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian X Strike Force [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 83 Depends: libc6 (>= 2.28), libdrm2 (>= 2.4.101) Filename: pool/main/libd/libdrm/libdrm-amdgpu1_2.4.101-2_amd64.deb Size: 18280 MD5sum: 4c58665f9743dcba21271cf0e6927fc2 SHA1: 808bee45e065e1adff88412c7167406349165528 SHA256: d4567a30f7d68b4dcf794f8677b96e89083693c94e88279fecf577ceba8b9774 Homepage: https://cgit.freedesktop.org/mesa/drm/ Description-en: Userspace interface to amdgpu-specific kernel DRM services – runtime This library implements the userspace interface to the kernel DRM services. DRM stands for “Direct Rendering Manager”, which is the kernelspace portion of the “Direct Rendering Infrastructure” (DRI). The DRI is currently used on Linux to provide hardware-accelerated OpenGL drivers. 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 libdrm-amdgpu1 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 libdrm-amdgpu1 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libdrm-amdgpu1

Install libdrm-amdgpu1 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdrm-amdgpu1

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

sudo aptitude -y install libdrm-amdgpu1

How To Uninstall libdrm-amdgpu1 on Ubuntu 20.04

To uninstall only the libdrm-amdgpu1 package we can use the following command:

sudo apt-get remove libdrm-amdgpu1

Uninstall libdrm-amdgpu1 And Its Dependencies

To uninstall libdrm-amdgpu1 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libdrm-amdgpu1

Remove libdrm-amdgpu1 Configurations and Data

To remove libdrm-amdgpu1 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libdrm-amdgpu1

Remove libdrm-amdgpu1 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdrm-amdgpu1

References

Summary

In this tutorial we learn how to install libdrm-amdgpu1 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.