How to Install and Uninstall libdri2-dev Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 28,2024

1. Install "libdri2-dev" package

Please follow the steps below to install libdri2-dev on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libdri2-dev

2. Uninstall "libdri2-dev" package

Please follow the instructions below to uninstall libdri2-dev on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove libdri2-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libdri2-dev package on Ubuntu 20.04 LTS (Focal Fossa)

Package: libdri2-dev
Architecture: amd64
Version: 1.0.0~git20120510+26fee2e-0ubuntu3
Priority: optional
Section: universe/libdevel
Source: libdri2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 36
Depends: libdri2-1 (= 1.0.0~git20120510+26fee2e-0ubuntu3)
Filename: pool/universe/libd/libdri2/libdri2-dev_1.0.0~git20120510+26fee2e-0ubuntu3_amd64.deb
Size: 7252
MD5sum: 6ed6479438a91572d35b5b7bf8edce4e
SHA1: 6f7ebe0dc65369540f8809a778e5950f27cfcc47
SHA256: e4d4c4313db5df41bea486bdd79e6bea68d8ff0dac0fcfc65442a3ba25322154
Description: library for the DRI2 extension to the X Window System -- development files
Description-md5: 298e10f5edd3486dcbcb6228ba89625b