How To Install rdiff-backup-fs on Ubuntu 18.04
Introduction
In this tutorial we learn how to install rdiff-backup-fs
on Ubuntu 18.04.
What is rdiff-backup-fs
rdiff-backup-fs is:
rdiff-backup-fs is a filesystem in userspace that reads rdiff-backup archives and provides convenient access for different revisions of the copied files and directories.
There are three methods to install rdiff-backup-fs
on Ubuntu 18.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 rdiff-backup-fs Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install rdiff-backup-fs
using apt-get
by running the following command:
sudo apt-get -y install rdiff-backup-fs
Install rdiff-backup-fs Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install rdiff-backup-fs
using apt
by running the following command:
sudo apt -y install rdiff-backup-fs
Install rdiff-backup-fs 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 rdiff-backup-fs
using aptitude
by running the following command:
sudo aptitude -y install rdiff-backup-fs
How To Uninstall rdiff-backup-fs on Ubuntu 18.04
To uninstall only the rdiff-backup-fs
package we can use the following command:
sudo apt-get remove rdiff-backup-fs
Uninstall rdiff-backup-fs And Its Dependencies
To uninstall rdiff-backup-fs
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove rdiff-backup-fs
Remove rdiff-backup-fs Configurations and Data
To remove rdiff-backup-fs
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge rdiff-backup-fs
Remove rdiff-backup-fs configuration, data, and all of its dependencies
We can use the following command to remove rdiff-backup-fs
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge rdiff-backup-fs
References
Summary
In this tutorial we learn how to install rdiff-backup-fs
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.