How to Install and Uninstall libx11-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 19,2024

1. Install "libx11-dev" package

This guide covers the steps necessary to install libx11-dev on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libx11-dev

2. Uninstall "libx11-dev" package

Please follow the guidelines below to uninstall libx11-dev on Ubuntu 21.10 (Impish Indri):

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

3. Information about the libx11-dev package on Ubuntu 21.10 (Impish Indri)

Package: libx11-dev
Architecture: amd64
Version: 2:1.7.2-1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: libx11
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian X Strike Force
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2473
Depends: libx11-6 (= 2:1.7.2-1), libxau-dev (>= 1:1.0.0-1), libxdmcp-dev (>= 1:1.0.0-1), x11proto-dev (>= 2019.2-1), xtrans-dev, libxcb1-dev
Suggests: libx11-doc
Replaces: x11proto-dev (<< 2019.2)
Filename: pool/main/libx/libx11/libx11-dev_1.7.2-1_amd64.deb
Size: 741150
MD5sum: 8e08b7fa903ffaa2fa67e20a3b460baf
SHA1: d2398f5e7067aaa274f08ef1bb44f00178dd40cf
SHA256: 3e58d9fc784c3682fa3efd5c8c728036af731f3559226af908692fb47e593ed5
SHA512: 0576df2442e7a328b26ea9b26282af7a0aba72b17f22b0c4c2923305c9e482543a90384ef005adf99f778b07a38d2640a5fa382cfe70c7bc5bf64e0110e175b3
Description-en: X11 client-side library (development headers)
This package provides a client interface to the X Window System, otherwise
known as 'Xlib'. It provides a complete API for the basic functions of the
window system.
.
This package contains the development headers for the library found in
libx11-6. Non-developers likely have little use for this package.
.
More information about X.Org can be found at:

.
This module can be found at
https://gitlab.freedesktop.org/xorg/lib/libX11
Description-md5: f634d43d2be84f3b53cb251c69f05406