How To Install restic on Fedora 34
Introduction
In this tutorial we learn how to install restic on Fedora 34.
What is restic
A backup program that is easy, fast, verifiable, secure, efficient and free. Backup destinations can be *Local *SFTP *REST Server *Amazon S3 *Minio Server *OpenStack Swift *Backblaze B2 *Microsoft Azure Blob Storage *Google Cloud Storage *Other Services via rclone
We can use yum or dnf to install restic on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install restic.
Install restic 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 restic using dnf by running the following command:
sudo dnf -y install restic
Install restic 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 restic using yum by running the following command:
sudo yum -y install restic
How To Uninstall restic on Fedora 34
To uninstall only the restic package we can use the following command:
sudo dnf remove restic
restic Package Contents on Fedora 34
/usr/bin/restic
/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/0d11dc6e673c272201106ab98e9bc44844f1d3
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/restic
/usr/share/doc/restic
/usr/share/doc/restic/CHANGELOG.md
/usr/share/doc/restic/CONTRIBUTING.md
/usr/share/doc/restic/GOVERNANCE.md
/usr/share/doc/restic/README.md
/usr/share/licenses/restic
/usr/share/licenses/restic/LICENSE
/usr/share/man/man1/restic-backup.1.gz
/usr/share/man/man1/restic-cache.1.gz
/usr/share/man/man1/restic-cat.1.gz
/usr/share/man/man1/restic-check.1.gz
/usr/share/man/man1/restic-copy.1.gz
/usr/share/man/man1/restic-diff.1.gz
/usr/share/man/man1/restic-dump.1.gz
/usr/share/man/man1/restic-find.1.gz
/usr/share/man/man1/restic-forget.1.gz
/usr/share/man/man1/restic-generate.1.gz
/usr/share/man/man1/restic-init.1.gz
/usr/share/man/man1/restic-key.1.gz
/usr/share/man/man1/restic-list.1.gz
/usr/share/man/man1/restic-ls.1.gz
/usr/share/man/man1/restic-migrate.1.gz
/usr/share/man/man1/restic-mount.1.gz
/usr/share/man/man1/restic-prune.1.gz
/usr/share/man/man1/restic-rebuild-index.1.gz
/usr/share/man/man1/restic-recover.1.gz
/usr/share/man/man1/restic-restore.1.gz
/usr/share/man/man1/restic-self-update.1.gz
/usr/share/man/man1/restic-snapshots.1.gz
/usr/share/man/man1/restic-stats.1.gz
/usr/share/man/man1/restic-tag.1.gz
/usr/share/man/man1/restic-unlock.1.gz
/usr/share/man/man1/restic-version.1.gz
/usr/share/man/man1/restic.1.gz
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_restic
References
Summary
In this tutorial we learn how to install restic on Fedora 34 using yum and dnf.