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

In this tutorial we learn how to install xorg-x11-xinit.x86_64 in Amazon Linux 2. xorg-x11-xinit.x86_64 is X.Org X11 X Window System xinit startup scripts

Introduction

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

What is xorg-x11-xinit.x86_64

X.Org X11 X Window System xinit startup scripts

We can use yum to install xorg-x11-xinit.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-xinit.x86_64.

Install xorg-x11-xinit.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-xinit.x86_64 using yum by running the following command:

sudo yum -y install xorg-x11-xinit.x86_64

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

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

sudo yum remove xorg-x11-xinit.x86_64

xorg-x11-xinit.x86_64 Package Contents on Amazon Linux 2

/etc/X11/Xmodmap
/etc/X11/Xresources
/etc/X11/xinit
/etc/X11/xinit/Xclients
/etc/X11/xinit/Xclients.d
/etc/X11/xinit/Xsession
/etc/X11/xinit/xinitrc
/etc/X11/xinit/xinitrc-common
/etc/X11/xinit/xinitrc.d
/etc/X11/xinit/xinitrc.d/localuser.sh
/usr/bin/startx
/usr/bin/xinit
/usr/share/doc/xorg-x11-xinit-1.3.4
/usr/share/doc/xorg-x11-xinit-1.3.4/COPYING
/usr/share/doc/xorg-x11-xinit-1.3.4/ChangeLog
/usr/share/doc/xorg-x11-xinit-1.3.4/README
/usr/share/man/man1/startx.1.gz
/usr/share/man/man1/xinit.1.gz

References

Summary

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