How To Install dar on Fedora 34
Introduction
In this tutorial we learn how to install dar
on Fedora 34.
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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install dar.
Install dar 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 dar
using dnf
by running the following command:
sudo dnf -y install dar
Install dar 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 dar
using yum
by running the following command:
sudo yum -y install dar
How To Uninstall dar on Fedora 34
To uninstall only the dar
package we can use the following command:
sudo dnf remove dar
dar Package Contents on Fedora 34
/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/07
/usr/lib/.build-id/07/f6fe215af799a827e01907b52773f54fb44ac7
/usr/lib/.build-id/11
/usr/lib/.build-id/11/9e99ea2110037e7bf48ac9fbf3728da6af091a
/usr/lib/.build-id/82
/usr/lib/.build-id/82/b33a6c9f06fed8880321f715fdf3c6af109511
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/dacffad2d3e866a31a66b192727afddb8a62d3
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/b26552e7c4737e6a9bdaaab2287f8c888a6d37
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/1e50595bf97724043eb5803c4710bcc5f1a4cd
/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
/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/0f
/usr/lib/.build-id/0f/3db94371732b56761d0e5143f0267506ca546e
/usr/lib/.build-id/65
/usr/lib/.build-id/65/8bcad2b6067d74bbaf6efa6c56af159c5ebdc1
/usr/lib/.build-id/72
/usr/lib/.build-id/72/8c5a7e9c78e2edc5ecd6f4aaa07df6c60c1237
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/407890814ccefad509fb53e58d87870439de8a
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/674a3cb5bd3cf29c3c67aa779771f371abe1d3
/usr/lib/.build-id/df
/usr/lib/.build-id/df/39c9aba6d7f07e5bd003789bb16db7e7f5e1bd
/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 Fedora 34 using yum and dnf.