How To Install gnome-shell-extension-suspend-button on CentOS 7

In this tutorial we learn how to install gnome-shell-extension-suspend-button on CentOS 7. gnome-shell-extension-suspend-button is GNOME Shell Extension Suspend-Button by laserb

Introduction

In this tutorial we learn how to install gnome-shell-extension-suspend-button on CentOS 7.

What is gnome-shell-extension-suspend-button

Allows to modify the suspend/shutdown button in the status menu.

We can use yum or dnf to install gnome-shell-extension-suspend-button on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install gnome-shell-extension-suspend-button.

Install gnome-shell-extension-suspend-button on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install gnome-shell-extension-suspend-button using yum by running the following command:

sudo yum -y install gnome-shell-extension-suspend-button

Install gnome-shell-extension-suspend-button 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 gnome-shell-extension-suspend-button using dnf by running the following command:

sudo dnf -y install gnome-shell-extension-suspend-button

How To Uninstall gnome-shell-extension-suspend-button on CentOS 7

To uninstall only the gnome-shell-extension-suspend-button package we can use the following command:

sudo dnf remove gnome-shell-extension-suspend-button

References

Summary

In this tutorial we learn how to install gnome-shell-extension-suspend-button on CentOS 7 using yum and dnf.