How To Install timeshift on CentOS 7

In this tutorial we learn how to install timeshift on CentOS 7. timeshift is System restore tool for Linux

Introduction

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

What is timeshift

Timeshift for Linux is an application that provides functionality similar to the System Restore feature in Windows and the Time Machine tool in Mac OS. Timeshift protects your system by taking incremental snapshots of the file system at regular intervals. These snapshots can be restored at a later date to undo all changes to the system. In RSYNC mode, snapshots are taken using rsync and hard-links. Common files are shared between snapshots which saves disk space. Each snapshot is a full system backup that can be browsed with a file manager. In BTRFS mode, snapshots are taken using the in-built features of the BTRFS filesystem. BTRFS snapshots are supported only on BTRFS systems having an Ubuntu-type subvolume layout (with @ and @home subvolumes).

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

Install timeshift on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install timeshift

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

sudo dnf -y install timeshift

How To Uninstall timeshift on CentOS 7

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

sudo dnf remove timeshift

References

Summary

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