How To Install perl-X11-Protocol on CentOS 7

In this tutorial we learn how to install perl-X11-Protocol on CentOS 7. perl-X11-Protocol is X11-Protocol - Raw interface to X Window System servers

Introduction

In this tutorial we learn how to install perl-X11-Protocol on CentOS 7.

What is perl-X11-Protocol

X11 X(1) for information about X11), allowing perl programs to display windows and graphics on X11 servers. A full description of the protocol is beyond the scope of this documentation; for complete information, see the I<X Window System Protocol, X Version 11>, available as Postscript or *roff source from C of O’Reilly & Associates’s series of books about X (ISBN 1-56592-083-X, C<http the same information.

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

Install perl-X11-Protocol on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-X11-Protocol using yum by running the following command:

sudo yum -y install perl-X11-Protocol

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

sudo dnf -y install perl-X11-Protocol

How To Uninstall perl-X11-Protocol on CentOS 7

To uninstall only the perl-X11-Protocol package we can use the following command:

sudo dnf remove perl-X11-Protocol

References

Summary

In this tutorial we learn how to install perl-X11-Protocol on CentOS 7 using yum and dnf.