How To Install xvattr on CentOS 7

In this tutorial we learn how to install xvattr on CentOS 7. xvattr is Utility for getting and setting Xv attributes

Introduction

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

What is xvattr

This program is used for getting and setting Xv attributes such as XV_BRIGHTNESS, XV_CONTRAST, XV_SATURATION, XV_HUE, XV_COLORKEY, …

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

Install xvattr on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install xvattr

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

sudo dnf -y install xvattr

How To Uninstall xvattr on CentOS 7

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

sudo dnf remove xvattr

References

Summary

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