How To Install libX11-common on CentOS 8

libX11-common is Common data for libX11

Introduction

In this tutorial we learn how to install libX11-common on CentOS 8.

What is libX11-common

libX11 common data

We can use yum or dnf to install libX11-common on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install libX11-common.

Install libX11-common on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install libX11-common using dnf by running the following command:

sudo dnf -y install libX11-common

Install libX11-common on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install libX11-common using yum by running the following command:

sudo yum -y install libX11-common

How To Uninstall libX11-common on CentOS 8

To uninstall only the libX11-common package we can use the following command:

sudo dnf remove libX11-common

libX11-common Package Contents on CentOS 8

/usr/share/X11/XErrorDB
/usr/share/X11/locale
/usr/share/X11/locale/C
/usr/share/X11/locale/C/Compose
/usr/share/X11/locale/C/XI18N_OBJS
/usr/share/X11/locale/C/XLC_LOCALE
/usr/share/X11/locale/am_ET.UTF-8
/usr/share/X11/locale/am_ET.UTF-8/Compose
/usr/share/X11/locale/am_ET.UTF-8/XI18N_OBJS
/usr/share/X11/locale/am_ET.UTF-8/XLC_LOCALE
/usr/share/X11/locale/armscii-8
/usr/share/X11/locale/armscii-8/Compose
/usr/share/X11/locale/armscii-8/XI18N_OBJS
/usr/share/X11/locale/armscii-8/XLC_LOCALE
/usr/share/X11/locale/compose.dir
/usr/share/X11/locale/cs_CZ.UTF-8
/usr/share/X11/locale/cs_CZ.UTF-8/Compose
/usr/share/X11/locale/cs_CZ.UTF-8/XI18N_OBJS
/usr/share/X11/locale/cs_CZ.UTF-8/XLC_LOCALE
/usr/share/X11/locale/el_GR.UTF-8
/usr/share/X11/locale/el_GR.UTF-8/Compose
/usr/share/X11/locale/el_GR.UTF-8/XI18N_OBJS
/usr/share/X11/locale/el_GR.UTF-8/XLC_LOCALE
/usr/share/X11/locale/en_US.UTF-8
/usr/share/X11/locale/en_US.UTF-8/Compose
/usr/share/X11/locale/en_US.UTF-8/XI18N_OBJS
/usr/share/X11/locale/en_US.UTF-8/XLC_LOCALE
/usr/share/X11/locale/fi_FI.UTF-8
/usr/share/X11/locale/fi_FI.UTF-8/Compose
/usr/share/X11/locale/fi_FI.UTF-8/XI18N_OBJS
/usr/share/X11/locale/fi_FI.UTF-8/XLC_LOCALE
/usr/share/X11/locale/georgian-academy
/usr/share/X11/locale/georgian-academy/Compose
/usr/share/X11/locale/georgian-academy/XI18N_OBJS
/usr/share/X11/locale/georgian-academy/XLC_LOCALE
/usr/share/X11/locale/georgian-ps
/usr/share/X11/locale/georgian-ps/Compose
/usr/share/X11/locale/georgian-ps/XI18N_OBJS
/usr/share/X11/locale/georgian-ps/XLC_LOCALE
/usr/share/X11/locale/ibm-cp1133
/usr/share/X11/locale/ibm-cp1133/Compose
/usr/share/X11/locale/ibm-cp1133/XI18N_OBJS
/usr/share/X11/locale/ibm-cp1133/XLC_LOCALE
/usr/share/X11/locale/iscii-dev
/usr/share/X11/locale/iscii-dev/Compose
/usr/share/X11/locale/iscii-dev/XI18N_OBJS
/usr/share/X11/locale/iscii-dev/XLC_LOCALE
/usr/share/X11/locale/isiri-3342
/usr/share/X11/locale/isiri-3342/Compose
/usr/share/X11/locale/isiri-3342/XI18N_OBJS
/usr/share/X11/locale/isiri-3342/XLC_LOCALE
/usr/share/X11/locale/iso8859-1
/usr/share/X11/locale/iso8859-1/Compose
/usr/share/X11/locale/iso8859-1/XI18N_OBJS
/usr/share/X11/locale/iso8859-1/XLC_LOCALE
/usr/share/X11/locale/iso8859-10
/usr/share/X11/locale/iso8859-10/Compose
/usr/share/X11/locale/iso8859-10/XI18N_OBJS
/usr/share/X11/locale/iso8859-10/XLC_LOCALE
/usr/share/X11/locale/iso8859-11
/usr/share/X11/locale/iso8859-11/Compose
/usr/share/X11/locale/iso8859-11/XI18N_OBJS
/usr/share/X11/locale/iso8859-11/XLC_LOCALE
/usr/share/X11/locale/iso8859-13
/usr/share/X11/locale/iso8859-13/Compose
/usr/share/X11/locale/iso8859-13/XI18N_OBJS
/usr/share/X11/locale/iso8859-13/XLC_LOCALE
/usr/share/X11/locale/iso8859-14
/usr/share/X11/locale/iso8859-14/Compose
/usr/share/X11/locale/iso8859-14/XI18N_OBJS
/usr/share/X11/locale/iso8859-14/XLC_LOCALE
/usr/share/X11/locale/iso8859-15
/usr/share/X11/locale/iso8859-15/Compose
/usr/share/X11/locale/iso8859-15/XI18N_OBJS
/usr/share/X11/locale/iso8859-15/XLC_LOCALE
/usr/share/X11/locale/iso8859-2
/usr/share/X11/locale/iso8859-2/Compose
/usr/share/X11/locale/iso8859-2/XI18N_OBJS
/usr/share/X11/locale/iso8859-2/XLC_LOCALE
/usr/share/X11/locale/iso8859-3
/usr/share/X11/locale/iso8859-3/Compose
/usr/share/X11/locale/iso8859-3/XI18N_OBJS
/usr/share/X11/locale/iso8859-3/XLC_LOCALE
/usr/share/X11/locale/iso8859-4
/usr/share/X11/locale/iso8859-4/Compose
/usr/share/X11/locale/iso8859-4/XI18N_OBJS
/usr/share/X11/locale/iso8859-4/XLC_LOCALE
/usr/share/X11/locale/iso8859-5
/usr/share/X11/locale/iso8859-5/Compose
/usr/share/X11/locale/iso8859-5/XI18N_OBJS
/usr/share/X11/locale/iso8859-5/XLC_LOCALE
/usr/share/X11/locale/iso8859-6
/usr/share/X11/locale/iso8859-6/Compose
/usr/share/X11/locale/iso8859-6/XI18N_OBJS
/usr/share/X11/locale/iso8859-6/XLC_LOCALE
/usr/share/X11/locale/iso8859-7
/usr/share/X11/locale/iso8859-7/Compose
/usr/share/X11/locale/iso8859-7/XI18N_OBJS
/usr/share/X11/locale/iso8859-7/XLC_LOCALE
/usr/share/X11/locale/iso8859-8
/usr/share/X11/locale/iso8859-8/Compose
/usr/share/X11/locale/iso8859-8/XI18N_OBJS
/usr/share/X11/locale/iso8859-8/XLC_LOCALE
/usr/share/X11/locale/iso8859-9
/usr/share/X11/locale/iso8859-9/Compose
/usr/share/X11/locale/iso8859-9/XI18N_OBJS
/usr/share/X11/locale/iso8859-9/XLC_LOCALE
/usr/share/X11/locale/iso8859-9e
/usr/share/X11/locale/iso8859-9e/Compose
/usr/share/X11/locale/iso8859-9e/XI18N_OBJS
/usr/share/X11/locale/iso8859-9e/XLC_LOCALE
/usr/share/X11/locale/ja
/usr/share/X11/locale/ja.JIS
/usr/share/X11/locale/ja.JIS/Compose
/usr/share/X11/locale/ja.JIS/XI18N_OBJS
/usr/share/X11/locale/ja.JIS/XLC_LOCALE
/usr/share/X11/locale/ja.SJIS
/usr/share/X11/locale/ja.SJIS/Compose
/usr/share/X11/locale/ja.SJIS/XI18N_OBJS
/usr/share/X11/locale/ja.SJIS/XLC_LOCALE
/usr/share/X11/locale/ja/Compose
/usr/share/X11/locale/ja/XI18N_OBJS
/usr/share/X11/locale/ja/XLC_LOCALE
/usr/share/X11/locale/ja_JP.UTF-8
/usr/share/X11/locale/ja_JP.UTF-8/Compose
/usr/share/X11/locale/ja_JP.UTF-8/XI18N_OBJS
/usr/share/X11/locale/ja_JP.UTF-8/XLC_LOCALE
/usr/share/X11/locale/km_KH.UTF-8
/usr/share/X11/locale/km_KH.UTF-8/Compose
/usr/share/X11/locale/km_KH.UTF-8/XI18N_OBJS
/usr/share/X11/locale/km_KH.UTF-8/XLC_LOCALE
/usr/share/X11/locale/ko
/usr/share/X11/locale/ko/Compose
/usr/share/X11/locale/ko/XI18N_OBJS
/usr/share/X11/locale/ko/XLC_LOCALE
/usr/share/X11/locale/ko_KR.UTF-8
/usr/share/X11/locale/ko_KR.UTF-8/Compose
/usr/share/X11/locale/ko_KR.UTF-8/XI18N_OBJS
/usr/share/X11/locale/ko_KR.UTF-8/XLC_LOCALE
/usr/share/X11/locale/koi8-c
/usr/share/X11/locale/koi8-c/Compose
/usr/share/X11/locale/koi8-c/XI18N_OBJS
/usr/share/X11/locale/koi8-c/XLC_LOCALE
/usr/share/X11/locale/koi8-r
/usr/share/X11/locale/koi8-r/Compose
/usr/share/X11/locale/koi8-r/XI18N_OBJS
/usr/share/X11/locale/koi8-r/XLC_LOCALE
/usr/share/X11/locale/koi8-u
/usr/share/X11/locale/koi8-u/Compose
/usr/share/X11/locale/koi8-u/XI18N_OBJS
/usr/share/X11/locale/koi8-u/XLC_LOCALE
/usr/share/X11/locale/locale.alias
/usr/share/X11/locale/locale.dir
/usr/share/X11/locale/microsoft-cp1251
/usr/share/X11/locale/microsoft-cp1251/Compose
/usr/share/X11/locale/microsoft-cp1251/XI18N_OBJS
/usr/share/X11/locale/microsoft-cp1251/XLC_LOCALE
/usr/share/X11/locale/microsoft-cp1255
/usr/share/X11/locale/microsoft-cp1255/Compose
/usr/share/X11/locale/microsoft-cp1255/XI18N_OBJS
/usr/share/X11/locale/microsoft-cp1255/XLC_LOCALE
/usr/share/X11/locale/microsoft-cp1256
/usr/share/X11/locale/microsoft-cp1256/Compose
/usr/share/X11/locale/microsoft-cp1256/XI18N_OBJS
/usr/share/X11/locale/microsoft-cp1256/XLC_LOCALE
/usr/share/X11/locale/mulelao-1
/usr/share/X11/locale/mulelao-1/Compose
/usr/share/X11/locale/mulelao-1/XI18N_OBJS
/usr/share/X11/locale/mulelao-1/XLC_LOCALE
/usr/share/X11/locale/nokhchi-1
/usr/share/X11/locale/nokhchi-1/Compose
/usr/share/X11/locale/nokhchi-1/XI18N_OBJS
/usr/share/X11/locale/nokhchi-1/XLC_LOCALE
/usr/share/X11/locale/pt_BR.UTF-8
/usr/share/X11/locale/pt_BR.UTF-8/Compose
/usr/share/X11/locale/pt_BR.UTF-8/XI18N_OBJS
/usr/share/X11/locale/pt_BR.UTF-8/XLC_LOCALE
/usr/share/X11/locale/pt_PT.UTF-8
/usr/share/X11/locale/pt_PT.UTF-8/Compose
/usr/share/X11/locale/pt_PT.UTF-8/XI18N_OBJS
/usr/share/X11/locale/pt_PT.UTF-8/XLC_LOCALE
/usr/share/X11/locale/ru_RU.UTF-8
/usr/share/X11/locale/ru_RU.UTF-8/Compose
/usr/share/X11/locale/ru_RU.UTF-8/XI18N_OBJS
/usr/share/X11/locale/ru_RU.UTF-8/XLC_LOCALE
/usr/share/X11/locale/sr_CS.UTF-8
/usr/share/X11/locale/sr_CS.UTF-8/Compose
/usr/share/X11/locale/sr_CS.UTF-8/XI18N_OBJS
/usr/share/X11/locale/sr_CS.UTF-8/XLC_LOCALE
/usr/share/X11/locale/tatar-cyr
/usr/share/X11/locale/tatar-cyr/Compose
/usr/share/X11/locale/tatar-cyr/XI18N_OBJS
/usr/share/X11/locale/tatar-cyr/XLC_LOCALE
/usr/share/X11/locale/th_TH
/usr/share/X11/locale/th_TH.UTF-8
/usr/share/X11/locale/th_TH.UTF-8/Compose
/usr/share/X11/locale/th_TH.UTF-8/XI18N_OBJS
/usr/share/X11/locale/th_TH.UTF-8/XLC_LOCALE
/usr/share/X11/locale/th_TH/Compose
/usr/share/X11/locale/th_TH/XI18N_OBJS
/usr/share/X11/locale/th_TH/XLC_LOCALE
/usr/share/X11/locale/tscii-0
/usr/share/X11/locale/tscii-0/Compose
/usr/share/X11/locale/tscii-0/XI18N_OBJS
/usr/share/X11/locale/tscii-0/XLC_LOCALE
/usr/share/X11/locale/vi_VN.tcvn
/usr/share/X11/locale/vi_VN.tcvn/Compose
/usr/share/X11/locale/vi_VN.tcvn/XI18N_OBJS
/usr/share/X11/locale/vi_VN.tcvn/XLC_LOCALE
/usr/share/X11/locale/vi_VN.viscii
/usr/share/X11/locale/vi_VN.viscii/Compose
/usr/share/X11/locale/vi_VN.viscii/XI18N_OBJS
/usr/share/X11/locale/vi_VN.viscii/XLC_LOCALE
/usr/share/X11/locale/zh_CN
/usr/share/X11/locale/zh_CN.UTF-8
/usr/share/X11/locale/zh_CN.UTF-8/Compose
/usr/share/X11/locale/zh_CN.UTF-8/XI18N_OBJS
/usr/share/X11/locale/zh_CN.UTF-8/XLC_LOCALE
/usr/share/X11/locale/zh_CN.gb18030
/usr/share/X11/locale/zh_CN.gb18030/Compose
/usr/share/X11/locale/zh_CN.gb18030/XI18N_OBJS
/usr/share/X11/locale/zh_CN.gb18030/XLC_LOCALE
/usr/share/X11/locale/zh_CN.gbk
/usr/share/X11/locale/zh_CN.gbk/Compose
/usr/share/X11/locale/zh_CN.gbk/XI18N_OBJS
/usr/share/X11/locale/zh_CN.gbk/XLC_LOCALE
/usr/share/X11/locale/zh_CN/Compose
/usr/share/X11/locale/zh_CN/XI18N_OBJS
/usr/share/X11/locale/zh_CN/XLC_LOCALE
/usr/share/X11/locale/zh_HK.UTF-8
/usr/share/X11/locale/zh_HK.UTF-8/Compose
/usr/share/X11/locale/zh_HK.UTF-8/XI18N_OBJS
/usr/share/X11/locale/zh_HK.UTF-8/XLC_LOCALE
/usr/share/X11/locale/zh_HK.big5
/usr/share/X11/locale/zh_HK.big5/Compose
/usr/share/X11/locale/zh_HK.big5/XI18N_OBJS
/usr/share/X11/locale/zh_HK.big5/XLC_LOCALE
/usr/share/X11/locale/zh_HK.big5hkscs
/usr/share/X11/locale/zh_HK.big5hkscs/Compose
/usr/share/X11/locale/zh_HK.big5hkscs/XI18N_OBJS
/usr/share/X11/locale/zh_HK.big5hkscs/XLC_LOCALE
/usr/share/X11/locale/zh_TW
/usr/share/X11/locale/zh_TW.UTF-8
/usr/share/X11/locale/zh_TW.UTF-8/Compose
/usr/share/X11/locale/zh_TW.UTF-8/XI18N_OBJS
/usr/share/X11/locale/zh_TW.UTF-8/XLC_LOCALE
/usr/share/X11/locale/zh_TW.big5
/usr/share/X11/locale/zh_TW.big5/Compose
/usr/share/X11/locale/zh_TW.big5/XI18N_OBJS
/usr/share/X11/locale/zh_TW.big5/XLC_LOCALE
/usr/share/X11/locale/zh_TW/Compose
/usr/share/X11/locale/zh_TW/XI18N_OBJS
/usr/share/X11/locale/zh_TW/XLC_LOCALE
/usr/share/doc/libX11-common
/usr/share/doc/libX11-common/AUTHORS
/usr/share/doc/libX11-common/COPYING
/usr/share/doc/libX11-common/NEWS
/usr/share/doc/libX11-common/README.md
/var/cache/libX11
/var/cache/libX11/compose

References

Summary

In this tutorial we learn how to install libX11-common on CentOS 8 using yum and dnf.