How To Install xorg-x11-server-Xnest on CentOS 7

In this tutorial we learn how to install xorg-x11-server-Xnest on CentOS 7. xorg-x11-server-Xnest is A nested server.

Introduction

In this tutorial we learn how to install xorg-x11-server-Xnest on CentOS 7.

What is xorg-x11-server-Xnest

Xnest is an X server which has been implemented as an ordinary X application. It runs in a window just like other X applications, but it is an X server itself in which you can run other software. It is a very useful tool for developers who wish to test their applications without running them on their real X server.

We can use yum or dnf to install xorg-x11-server-Xnest on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install xorg-x11-server-Xnest.

Install xorg-x11-server-Xnest on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install xorg-x11-server-Xnest

Install xorg-x11-server-Xnest on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install xorg-x11-server-Xnest using dnf by running the following command:

sudo dnf -y install xorg-x11-server-Xnest

How To Uninstall xorg-x11-server-Xnest on CentOS 7

To uninstall only the xorg-x11-server-Xnest package we can use the following command:

sudo dnf remove xorg-x11-server-Xnest

References

Summary

In this tutorial we learn how to install xorg-x11-server-Xnest on CentOS 7 using yum and dnf.