How To Install bareos on Debian 9
Introduction
In this tutorial we learn how to install bareos
on Debian 9.
What is bareos
bareos is:
Bareos is a set of programs to manage backup, recovery and verification of data across a network of computers of different kinds.
It is efficient and relatively easy to use, while offering many advanced storage management features that make it easy to find and recover lost or damaged files. Due to its modular design, Bareos is scalable from small single computer systems to networks of hundreds of machines.
This metapackage installs the entire suite of Bareos applications: job scheduling, storage control, node connector, and administrative console.
There are three methods to install bareos
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 bareos Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install bareos
using apt-get
by running the following command:
sudo apt-get -y install bareos
Install bareos Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install bareos
using apt
by running the following command:
sudo apt -y install bareos
Install bareos 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 bareos
using aptitude
by running the following command:
sudo aptitude -y install bareos
How To Uninstall bareos on Debian 9
To uninstall only the bareos
package we can use the following command:
sudo apt-get remove bareos
Uninstall bareos And Its Dependencies
To uninstall bareos
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove bareos
Remove bareos Configurations and Data
To remove bareos
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge bareos
Remove bareos configuration, data, and all of its dependencies
We can use the following command to remove bareos
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge bareos
Dependencies
bareos have the following dependencies:
References
Summary
In this tutorial we learn how to install bareos
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.