How To Install slbackup on Debian 9

In this tutorial we learn how to install slbackup on Debian 9. slbackup is Skolelinux Backup system

Introduction

In this tutorial we learn how to install slbackup on Debian 9.

What is slbackup

slbackup is:

A backup system designed to back up multiple clients to a server. slbackup uses rdiff-backup as the underlying backup software.

Clients can be the host installing this package, or other hosts reachable via a SSH connection (using SSH keys). The host storing the backup data can be the host installing this package or another host reachable via a SSH connection (also using SSH keys).

There are three methods to install slbackup on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install slbackup Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install slbackup using apt-get by running the following command:

sudo apt-get -y install slbackup

Install slbackup Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install slbackup using apt by running the following command:

sudo apt -y install slbackup

Install slbackup 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install slbackup using aptitude by running the following command:

sudo aptitude -y install slbackup

How To Uninstall slbackup on Debian 9

To uninstall only the slbackup package we can use the following command:

sudo apt-get remove slbackup

Uninstall slbackup And Its Dependencies

To uninstall slbackup and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove slbackup

Remove slbackup Configurations and Data

To remove slbackup configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge slbackup

Remove slbackup configuration, data, and all of its dependencies

We can use the following command to remove slbackup configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge slbackup

Dependencies

slbackup have the following dependencies:

References

Summary

In this tutorial we learn how to install slbackup package on Debian 9 using different package management tools: apt, apt-get and aptitude.