How To Install libx11-6 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libx11-6
on Ubuntu 20.04.
What is libx11-6
libx11-6 is:
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.
More information about X.Org can be found at: URL:https://www.X.org
This module can be found at git://anongit.freedesktop.org/git/xorg/lib/libX11 Task: standard
Package: libx11-6 Architecture: amd64 Version: 2:1.6.9-2ubuntu1 Multi-Arch: same Priority: standard Section: libs Source: libx11 Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian X Strike Force [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1374 Depends: libc6 (>= 2.26), libxcb1 (>= 1.11.1), libx11-data Filename: pool/main/libx/libx11/libx11-6_1.6.9-2ubuntu1_amd64.deb Size: 572868 MD5sum: efae67480b043fb8f94c0c64e771e013 SHA1: 5e47828edc370b29d59a4906bab8a19cd2bc38a7 SHA256: 42330358d8814f2864add8a5159334854c758ec5ccd5658247f221c2c221c997 Description-en: X11 client-side library 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.
More information about X.Org can be found at: URL:https://www.X.org
This module can be found at git://anongit.freedesktop.org/git/xorg/lib/libX11 Task: standard
There are three methods to install libx11-6
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 libx11-6 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libx11-6
using apt-get
by running the following command:
sudo apt-get -y install libx11-6
Install libx11-6 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libx11-6
using apt
by running the following command:
sudo apt -y install libx11-6
Install libx11-6 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 libx11-6
using aptitude
by running the following command:
sudo aptitude -y install libx11-6
How To Uninstall libx11-6 on Ubuntu 20.04
To uninstall only the libx11-6
package we can use the following command:
sudo apt-get remove libx11-6
Uninstall libx11-6 And Its Dependencies
To uninstall libx11-6
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libx11-6
Remove libx11-6 Configurations and Data
To remove libx11-6
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libx11-6
Remove libx11-6 configuration, data, and all of its dependencies
We can use the following command to remove libx11-6
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libx11-6
References
Summary
In this tutorial we learn how to install libx11-6
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.