How To Install dar on AlmaLinux 8
Introduction
In this tutorial we learn how to install dar
on AlmaLinux 8.
What is dar
DAR is a command line tool to backup a directory tree and files. DAR is able to make differential backups, split them over a set of disks or files of a given size, use compression, filter files or subtrees to be saved or not saved, directly access and restore given files. DAR is also able to handle extented attributes, and can make remote backups through an ssh session for example. Finally, DAR handles save and restore of hard and symbolic links.
We can use yum
or dnf
to install dar
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install dar.
Install dar on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install dar
using dnf
by running the following command:
sudo dnf -y install dar
Install dar on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install dar
using yum
by running the following command:
sudo yum -y install dar
How To Uninstall dar on AlmaLinux 8
To uninstall only the dar
package we can use the following command:
sudo dnf remove dar
References
Summary
In this tutorial we learn how to install dar
on AlmaLinux 8 using yum and dnf.