How To Install yum-plugin-fs-snapshot.noarch on Amazon Linux 2

In this tutorial we learn how to install yum-plugin-fs-snapshot.noarch in Amazon Linux 2. yum-plugin-fs-snapshot.noarch is Yum plugin to automatically snapshot your filesystems during

Introduction

In this tutorial we learn how to install yum-plugin-fs-snapshot.noarch on Amazon Linux 2.

What is yum-plugin-fs-snapshot.noarch

When this plugin is installed it will automatically snapshot any filesystem that is touched by the packages in a yum update or yum remove.

We can use yum to install yum-plugin-fs-snapshot.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install yum-plugin-fs-snapshot.noarch.

Install yum-plugin-fs-snapshot.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install yum-plugin-fs-snapshot.noarch using yum by running the following command:

sudo yum -y install yum-plugin-fs-snapshot.noarch

How To Uninstall yum-plugin-fs-snapshot.noarch on Amazon Linux 2

To uninstall only the yum-plugin-fs-snapshot.noarch package we can use the following command:

sudo yum remove yum-plugin-fs-snapshot.noarch

yum-plugin-fs-snapshot.noarch Package Contents on Amazon Linux 2

/etc/yum/pluginconf.d/fs-snapshot.conf
/usr/lib/yum-plugins/fs-snapshot.py
/usr/lib/yum-plugins/fs-snapshot.pyc
/usr/lib/yum-plugins/fs-snapshot.pyo
/usr/share/doc/yum-plugin-fs-snapshot-1.1.31
/usr/share/doc/yum-plugin-fs-snapshot-1.1.31/COPYING
/usr/share/man/man1/yum-fs-snapshot.1.gz
/usr/share/man/man5/yum-fs-snapshot.conf.5.gz

References

Summary

In this tutorial we learn how to install yum-plugin-fs-snapshot.noarch on Amazon Linux 2 using yum.