How To Install nxagent on CentOS 7

In this tutorial we learn how to install nxagent on CentOS 7. nxagent is NX Agent

Introduction

In this tutorial we learn how to install nxagent on CentOS 7.

What is nxagent

NX is a software suite which implements very efficient compression of the X11 protocol. This increases performance when using X applications over a network, especially a slow one. nxagent is an agent providing NX transport of X sessions. The application is based on the well-known Xnest server. nxagent, like Xnest, is an X server for its own clients, and at the same time, an X client for a system’s local X server. The main scope of nxagent is to eliminate X round-trips or transform them into asynchronous replies. nxagent works together with nxproxy. nxproxy itself does not make any effort to minimize round-trips by itself, this is demanded of nxagent. Being an X server, nxagent is able to resolve all the property/atoms related requests locally, ensuring that the most common source of round-trips are nearly reduced to zero.

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

Install nxagent on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install nxagent using yum by running the following command:

sudo yum -y install nxagent

Install nxagent 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 nxagent using dnf by running the following command:

sudo dnf -y install nxagent

How To Uninstall nxagent on CentOS 7

To uninstall only the nxagent package we can use the following command:

sudo dnf remove nxagent

References

Summary

In this tutorial we learn how to install nxagent on CentOS 7 using yum and dnf.