How To Install backuppc-rsync on Ubuntu 20.04
Introduction
In this tutorial we learn how to install backuppc-rsync
on Ubuntu 20.04.
What is backuppc-rsync
backuppc-rsync is:
This is not a normal rsync. It is designed only for use with version 4 of BackupPC, not by humans.
You do not need to install this package manually. It is pulled in as dependency where needed.
There are three methods to install backuppc-rsync
on Ubuntu 20.04. 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 first since aptitude is usually not installed by default on Ubuntu. 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 Ubuntu 20.04
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 Ubuntu 20.04, 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 Ubuntu 20.04 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
References
Summary
In this tutorial we learn how to install backuppc-rsync
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.