How To Install timeshift on Fedora 34

timeshift is System restore tool for Linux

Introduction

In this tutorial we learn how to install timeshift on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install timeshift.

Install timeshift on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install timeshift

Install timeshift on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install timeshift

How To Uninstall timeshift on Fedora 34

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

sudo dnf remove timeshift

timeshift Package Contents on Fedora 34

/etc/cron.d/timeshift-boot
/etc/cron.d/timeshift-hourly
/etc/default/timeshift.json
/etc/timeshift.json
/usr/bin/timeshift
/usr/bin/timeshift-gtk
/usr/bin/timeshift-launcher
/usr/lib/.build-id
/usr/lib/.build-id/66
/usr/lib/.build-id/66/64fee5f2232cabdf02c0076e27100cee1a5b40
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/8b6b46c3cca978a39da295ae4e4145ea563206
/usr/share/applications/timeshift-gtk.desktop
/usr/share/doc/timeshift
/usr/share/doc/timeshift/AUTHORS
/usr/share/doc/timeshift/README.md
/usr/share/icons/hicolor/128x128/apps/timeshift.png
/usr/share/icons/hicolor/16x16/apps/timeshift.png
/usr/share/icons/hicolor/22x22/apps/timeshift.png
/usr/share/icons/hicolor/24x24/apps/timeshift.png
/usr/share/icons/hicolor/32x32/apps/timeshift.png
/usr/share/icons/hicolor/48x48/apps/timeshift.png
/usr/share/icons/hicolor/64x64/apps/timeshift.png
/usr/share/icons/hicolor/96x96/apps/timeshift.png
/usr/share/licenses/timeshift
/usr/share/licenses/timeshift/COPYING
/usr/share/licenses/timeshift/LICENSE.md
/usr/share/locale/am/LC_MESSAGES/timeshift.mo
/usr/share/locale/ar/LC_MESSAGES/timeshift.mo
/usr/share/locale/az/LC_MESSAGES/timeshift.mo
/usr/share/locale/bg/LC_MESSAGES/timeshift.mo
/usr/share/locale/ca/LC_MESSAGES/timeshift.mo
/usr/share/locale/cs/LC_MESSAGES/timeshift.mo
/usr/share/locale/da/LC_MESSAGES/timeshift.mo
/usr/share/locale/de/LC_MESSAGES/timeshift.mo
/usr/share/locale/el/LC_MESSAGES/timeshift.mo
/usr/share/locale/en_GB/LC_MESSAGES/timeshift.mo
/usr/share/locale/es/LC_MESSAGES/timeshift.mo
/usr/share/locale/et/LC_MESSAGES/timeshift.mo
/usr/share/locale/eu/LC_MESSAGES/timeshift.mo
/usr/share/locale/fi/LC_MESSAGES/timeshift.mo
/usr/share/locale/fr/LC_MESSAGES/timeshift.mo
/usr/share/locale/he/LC_MESSAGES/timeshift.mo
/usr/share/locale/hi/LC_MESSAGES/timeshift.mo
/usr/share/locale/hr/LC_MESSAGES/timeshift.mo
/usr/share/locale/hu/LC_MESSAGES/timeshift.mo
/usr/share/locale/ia/LC_MESSAGES/timeshift.mo
/usr/share/locale/id/LC_MESSAGES/timeshift.mo
/usr/share/locale/is/LC_MESSAGES/timeshift.mo
/usr/share/locale/it/LC_MESSAGES/timeshift.mo
/usr/share/locale/ja/LC_MESSAGES/timeshift.mo
/usr/share/locale/ko/LC_MESSAGES/timeshift.mo
/usr/share/locale/lt/LC_MESSAGES/timeshift.mo
/usr/share/locale/nb/LC_MESSAGES/timeshift.mo
/usr/share/locale/ne/LC_MESSAGES/timeshift.mo
/usr/share/locale/nl/LC_MESSAGES/timeshift.mo
/usr/share/locale/pl/LC_MESSAGES/timeshift.mo
/usr/share/locale/pt/LC_MESSAGES/timeshift.mo
/usr/share/locale/pt_BR/LC_MESSAGES/timeshift.mo
/usr/share/locale/ro/LC_MESSAGES/timeshift.mo
/usr/share/locale/ru/LC_MESSAGES/timeshift.mo
/usr/share/locale/sk/LC_MESSAGES/timeshift.mo
/usr/share/locale/sr/LC_MESSAGES/timeshift.mo
/usr/share/locale/sv/LC_MESSAGES/timeshift.mo
/usr/share/locale/tr/LC_MESSAGES/timeshift.mo
/usr/share/locale/uk/LC_MESSAGES/timeshift.mo
/usr/share/locale/vi/LC_MESSAGES/timeshift.mo
/usr/share/locale/zh_CN/LC_MESSAGES/timeshift.mo
/usr/share/locale/zh_TW/LC_MESSAGES/timeshift.mo
/usr/share/man/man1/timeshift.1.gz
/usr/share/metainfo/timeshift.appdata.xml
/usr/share/polkit-1/actions/in.teejeetech.pkexec.timeshift.policy
/usr/share/timeshift
/usr/share/timeshift/images
/usr/share/timeshift/images/clock.png
/usr/share/timeshift/images/disk.png
/usr/share/timeshift/images/document-open-recent-symbolic.svg
/usr/share/timeshift/images/document-save-symbolic.svg
/usr/share/timeshift/images/donate.png
/usr/share/timeshift/images/drive-harddisk.svg
/usr/share/timeshift/images/edit-delete-symbolic.svg
/usr/share/timeshift/images/edit-delete.png
/usr/share/timeshift/images/emblem-default-symbolic.svg
/usr/share/timeshift/images/exclude.png
/usr/share/timeshift/images/folder-symbolic.svg
/usr/share/timeshift/images/gtk-file.png
/usr/share/timeshift/images/include.png
/usr/share/timeshift/images/item-blue.png
/usr/share/timeshift/images/item-gray.png
/usr/share/timeshift/images/item-green.png
/usr/share/timeshift/images/item-red.png
/usr/share/timeshift/images/item-yellow.png
/usr/share/timeshift/images/list-add.png
/usr/share/timeshift/images/list-remove.png
/usr/share/timeshift/images/locked.png
/usr/share/timeshift/images/media-optical.png
/usr/share/timeshift/images/open-menu-symbolic.svg
/usr/share/timeshift/images/preferences-system-symbolic.svg
/usr/share/timeshift/images/timeshift-shield-high.svg
/usr/share/timeshift/images/timeshift-shield-low.svg
/usr/share/timeshift/images/timeshift-shield-med.svg
/usr/share/timeshift/images/unlocked.png

References

Summary

In this tutorial we learn how to install timeshift on Fedora 34 using yum and dnf.