How To Install dar on Rocky Linux 8
Introduction
In this tutorial we learn how to install dar
on Rocky Linux 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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install dar.
Install dar on Rocky Linux 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 Rocky Linux 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 Rocky Linux 8
To uninstall only the dar
package we can use the following command:
sudo dnf remove dar
dar Package Contents on Rocky Linux 8
/etc/darrc
/usr/bin/dar
/usr/bin/dar_cp
/usr/bin/dar_manager
/usr/bin/dar_slave
/usr/bin/dar_split
/usr/bin/dar_xform
/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/73ee95fc8eb42a8c79eac66bb6913a53236b94
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/658face8fa7dd25a98a5e4c02016214056c35e
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/2e5294c06e6c7692e3d5f2b3726d0dfe66d816
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/19e5469c1b48fcccdcfeee37cc0c3ecabf4b2a
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/088e716ae87f5d3efe0ae3941399d7addf6246
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/a9a589c3658344c81ed88fdcb4f0f6ac6de916
/usr/share/doc/dar
/usr/share/doc/dar/AUTHORS
/usr/share/doc/dar/COPYING
/usr/share/doc/dar/ChangeLog
/usr/share/doc/dar/NEWS
/usr/share/doc/dar/README
/usr/share/doc/dar/README.Fedora
/usr/share/doc/dar/THANKS
/usr/share/doc/dar/TODO
/usr/share/doc/dar/html
/usr/share/doc/dar/html/COMMAND_LINE
/usr/share/doc/dar/html/Doxyfile
/usr/share/doc/dar/html/FAQ.html
/usr/share/doc/dar/html/Features.html
/usr/share/doc/dar/html/Good_Backup_Practice.html
/usr/share/doc/dar/html/Known_Bugs.html
/usr/share/doc/dar/html/Limitations.html
/usr/share/doc/dar/html/Notes.html
/usr/share/doc/dar/html/README
/usr/share/doc/dar/html/Tutorial.html
/usr/share/doc/dar/html/api_tutorial.html
/usr/share/doc/dar/html/authentification.html
/usr/share/doc/dar/html/dar-catalog.dtd
/usr/share/doc/dar/html/dar_doc.jpg
/usr/share/doc/dar/html/dar_key.txt
/usr/share/doc/dar/html/dar_s_doc.jpg
/usr/share/doc/dar/html/downloading.html
/usr/share/doc/dar/html/from_sources.html
/usr/share/doc/dar/html/index.html
/usr/share/doc/dar/html/man
/usr/share/doc/dar/html/man/index.html
/usr/share/doc/dar/html/mini-howto
/usr/share/doc/dar/html/mini-howto/README
/usr/share/doc/dar/html/mini-howto/dar-differential-backup-mini-howto.en.html
/usr/share/doc/dar/html/mini-howto/dar-differential-backup-mini-howto.es.html
/usr/share/doc/dar/html/mini-howto/dar-differential-backup-mini-howto.it.html
/usr/share/doc/dar/html/mini-howto/index.html
/usr/share/doc/dar/html/old_dar_key.txt
/usr/share/doc/dar/html/portable_cp
/usr/share/doc/dar/html/presentation.html
/usr/share/doc/dar/html/python
/usr/share/doc/dar/html/python/libdar_test.py
/usr/share/doc/dar/html/samples
/usr/share/doc/dar/html/samples/JH-dar-make_user_backup.sh
/usr/share/doc/dar/html/samples/JH-readme.txt
/usr/share/doc/dar/html/samples/JH_dar_archiver.options
/usr/share/doc/dar/html/samples/JH_darrc
/usr/share/doc/dar/html/samples/MyBackup.sh.tar.gz
/usr/share/doc/dar/html/samples/PN_backup-root.options
/usr/share/doc/dar/html/samples/PN_backup-root.sh
/usr/share/doc/dar/html/samples/PN_backup-storage.options
/usr/share/doc/dar/html/samples/PN_backup-storage.sh
/usr/share/doc/dar/html/samples/PN_ftpbackup.sh
/usr/share/doc/dar/html/samples/Patrick_Nagel_Note.txt
/usr/share/doc/dar/html/samples/README
/usr/share/doc/dar/html/samples/automatic_backup
/usr/share/doc/dar/html/samples/automatic_backup.txt
/usr/share/doc/dar/html/samples/available_space.duc
/usr/share/doc/dar/html/samples/cdbackup.sh
/usr/share/doc/dar/html/samples/cluster_digital_backups.sh
/usr/share/doc/dar/html/samples/cluster_digital_readme.txt
/usr/share/doc/dar/html/samples/dar_backup
/usr/share/doc/dar/html/samples/dar_backups.sh
/usr/share/doc/dar/html/samples/dar_par.dcf
/usr/share/doc/dar/html/samples/dar_par_create.duc
/usr/share/doc/dar/html/samples/dar_par_test.duc
/usr/share/doc/dar/html/samples/dar_rqck.bash
/usr/share/doc/dar/html/samples/darrc_sample
/usr/share/doc/dar/html/samples/date_past_N_days
/usr/share/doc/dar/html/samples/etc_darrc
/usr/share/doc/dar/html/samples/index.html
/usr/share/doc/dar/html/samples/pause_every_n_slice.duc
/usr/share/doc/dar/html/samples/sample1.txt
/usr/share/doc/dar/html/usage_notes.html
/usr/share/locale/fr/LC_MESSAGES/dar.mo
/usr/share/locale/sv/LC_MESSAGES/dar.mo
/usr/share/man/man1/dar.1.gz
/usr/share/man/man1/dar_cp.1.gz
/usr/share/man/man1/dar_manager.1.gz
/usr/share/man/man1/dar_slave.1.gz
/usr/share/man/man1/dar_split.1.gz
/usr/share/man/man1/dar_xform.1.gz
References
Summary
In this tutorial we learn how to install dar
on Rocky Linux 8 using yum and dnf.