How To Install dar on CentOS 7
Introduction
In this tutorial we learn how to install dar
on CentOS 7.
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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install dar.
Install dar on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install dar
using yum
by running the following command:
Install dar 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.
After updating yum database, We can install dar
using dnf
by running the following command:
How To Uninstall dar on CentOS 7
To uninstall only the dar
package we can use the following command:
References
Summary
In this tutorial we learn how to install dar
on CentOS 7 using yum
and dnf
.