How To Install xorg-x11-server-Xorg.x86_64 on Amazon Linux 2

In this tutorial we learn how to install xorg-x11-server-Xorg.x86_64 in Amazon Linux 2. xorg-x11-server-Xorg.x86_64 is Xorg X server

Introduction

In this tutorial we learn how to install xorg-x11-server-Xorg.x86_64 on Amazon Linux 2.

What is xorg-x11-server-Xorg.x86_64

X.org X11 is an open source implementation of the X Window System. It provides the basic low level functionality which full fledged graphical user interfaces (GUIs) such as GNOME and KDE are designed upon. Requires(preun) Requires(post) Requires(postun)

We can use yum to install xorg-x11-server-Xorg.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install xorg-x11-server-Xorg.x86_64.

Install xorg-x11-server-Xorg.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install xorg-x11-server-Xorg.x86_64 using yum by running the following command:

sudo yum -y install xorg-x11-server-Xorg.x86_64

How To Uninstall xorg-x11-server-Xorg.x86_64 on Amazon Linux 2

To uninstall only the xorg-x11-server-Xorg.x86_64 package we can use the following command:

sudo yum remove xorg-x11-server-Xorg.x86_64

xorg-x11-server-Xorg.x86_64 Package Contents on Amazon Linux 2

/etc/X11/xorg.conf.d
/etc/pam.d/xserver
/etc/security/console.apps/xserver
/usr/bin/X
/usr/bin/Xorg
/usr/bin/cvt
/usr/bin/gtf
/usr/lib64/xorg
/usr/lib64/xorg/modules
/usr/lib64/xorg/modules/drivers
/usr/lib64/xorg/modules/drivers/modesetting_drv.so
/usr/lib64/xorg/modules/extensions
/usr/lib64/xorg/modules/extensions/libglx.so
/usr/lib64/xorg/modules/extensions/libglx.so.Xorg
/usr/lib64/xorg/modules/input
/usr/lib64/xorg/modules/libexa.so
/usr/lib64/xorg/modules/libfb.so
/usr/lib64/xorg/modules/libfbdevhw.so
/usr/lib64/xorg/modules/libglamoregl.so
/usr/lib64/xorg/modules/libint10.so
/usr/lib64/xorg/modules/libshadow.so
/usr/lib64/xorg/modules/libshadowfb.so
/usr/lib64/xorg/modules/libvbe.so
/usr/lib64/xorg/modules/libvgahw.so
/usr/lib64/xorg/modules/libwfb.so
/usr/share/X11/xorg.conf.d
/usr/share/X11/xorg.conf.d/10-quirks.conf
/usr/share/man/man1/Xorg.1.gz
/usr/share/man/man1/cvt.1.gz
/usr/share/man/man1/gtf.1.gz
/usr/share/man/man4/exa.4.gz
/usr/share/man/man4/fbdevhw.4.gz
/usr/share/man/man4/modesetting.4.gz
/usr/share/man/man5/xorg.conf.5.gz
/usr/share/man/man5/xorg.conf.d.5.gz

References

Summary

In this tutorial we learn how to install xorg-x11-server-Xorg.x86_64 on Amazon Linux 2 using yum.