How To Install xguest on CentOS 7

In this tutorial we learn how to install xguest on CentOS 7. xguest is Creates xguest user as a locked down user

Introduction

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

What is xguest

Installing this package sets up the xguest user to be used as a temporary account to switch to or as a kiosk user account. The account is disabled unless SELinux is in enforcing mode. The user is only allowed to log in via graphical login program. The home and temporary directories of the user will be polyinstantiated and mounted on tmpfs.

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

Install xguest on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install xguest

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

sudo dnf -y install xguest

How To Uninstall xguest on CentOS 7

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

sudo dnf remove xguest

References

Summary

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