Introduction
In this tutorial we learn how to install backuppc-rsync
on Kali Linux.
What is backuppc-rsync
backuppc-rsync is:
rsync-bpc (as it is called upstream) is a patched variant of rsync
that has been developed specifically for server-side use with
BackupPC (https://github.com/backuppc/backuppc) version 4. It extends
the normal rsync so that it understands BackupPC 4’s internal data
structures on disk and can directly write to it.
You do neither need to use nor to install this package manually. It
is pulled in as dependency where needed.
It is also no problem to install it in parallel with the normal rsync
as it does not install any binary in the common search path ($PATH),
just in a dedicated directory under /usr/libexec/.
In terms of functionality it replaces the less performant Perl module
File::RsyncP (package libfile-rsyncp-perl) which was used by BackupPC
version 3 on the server side.
There are three methods to install backuppc-rsync
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install backuppc-rsync Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install backuppc-rsync
using apt-get
by running the following command:
sudo apt-get -y install backuppc-rsync
Install backuppc-rsync Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install backuppc-rsync
using apt
by running the following command:
sudo apt -y install backuppc-rsync
Install backuppc-rsync Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install backuppc-rsync
using aptitude
by running the following command:
sudo aptitude -y install backuppc-rsync
How To Uninstall backuppc-rsync on Kali Linux
To uninstall only the backuppc-rsync
package we can use the following command:
sudo apt-get remove backuppc-rsync
Uninstall backuppc-rsync And Its Dependencies
To uninstall backuppc-rsync
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove backuppc-rsync
Remove backuppc-rsync Configurations and Data
To remove backuppc-rsync
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge backuppc-rsync
Remove backuppc-rsync configuration, data, and all of its dependencies
We can use the following command to remove backuppc-rsync
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge backuppc-rsync
Dependencies
backuppc-rsync have the following dependencies:
References
Summary
In this tutorial we learn how to install backuppc-rsync
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.