How to Install and Uninstall libgl1-mesa-dri Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 17,2024

1. Install "libgl1-mesa-dri" package

This is a short guide on how to install libgl1-mesa-dri on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libgl1-mesa-dri

2. Uninstall "libgl1-mesa-dri" package

Please follow the guidelines below to uninstall libgl1-mesa-dri on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libgl1-mesa-dri $ sudo apt autoclean && sudo apt autoremove

3. Information about the libgl1-mesa-dri package on Ubuntu 21.04 (Hirsute Hippo)

Package: libgl1-mesa-dri
Architecture: amd64
Version: 21.0.1-2
Multi-Arch: same
Priority: optional
Section: libs
Source: mesa
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian X Strike Force
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 37008
Depends: libc6 (>= 2.33), libdrm-amdgpu1 (>= 2.4.100), libdrm-intel1 (>= 2.4.38), 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), libglapi-mesa (= 21.0.1-2), libllvm11 (>= 1:9~svn298832-1~), libsensors5 (>= 1:3.5.0), libstdc++6 (>= 5.2), libvulkan1 (>= 1.2.131.2), libzstd1 (>= 1.3.2), zlib1g (>= 1:1.1.4)
Filename: pool/main/m/mesa/libgl1-mesa-dri_21.0.1-2_amd64.deb
Size: 10406452
MD5sum: 10cc04f87ec8db5ccf669b76b3437a8e
SHA1: 4824b9cf866d7776b86580255a3901e4b27c6a12
SHA256: 6ff4acd8b91189c14c5ebfeb3c4628eec5b67f14572d102cd405636d279d6aca
SHA512: de32151ae173bc3c92deafc805a004f6abc4db886258f294a889abd2093bb0c67cde10c454b480439ae07ea42fff607175d9ab003e1ab6f6c47f484ce396e247
Homepage: https://mesa3d.org/
Description-en: free implementation of the OpenGL API -- DRI modules
This version of Mesa provides GLX and DRI capabilities: it is capable of
both direct and indirect rendering. For direct rendering, it can use DRI
modules from the libgl1-mesa-dri package to accelerate drawing.
.
This package does not include the OpenGL library itself, only the DRI
modules for accelerating direct rendering.
.
For a complete description of Mesa, please look at the
libglx-mesa0 package.
Description-md5: 4ce0833dab51e157223384b77395619a
Task: ubuntu-desktop-minimal, ubuntu-desktop, ubuntu-desktop-raspi, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi