How To Install mrb on Debian 10
Introduction
In this tutorial we learn how to install mrb
on Debian 10.
What is mrb
mrb is:
mrb is a single, self-documenting, executable makefile, which aims to make trivial the task of maintaining a set of compact, incremental, rsync mirrors of your important (and sometimes rapidly changing) data.
It relies only on the time-hardened industry tools GNU make and rsync. Snapshots may be taken at any opportune interval. Multiple snapshot targets can be configured in a modular fashion, so fast changing data can be separated from static bulk data, with snapshots of each scheduled or triggered on demand, as may be appropriate for each.
This package also includes gitkeeper, which is a tool for easy bidirectional mirroring of ‘installed’ data files from a remote system to a local git repository. It doesn’t actually require you to keep the local files in git, but if you do it supports restoring the remote system to any snapshot from the repository. Likewise it allows you to explicitly configure the owner and access permission that should be applied when pushing to the remote system since they are not preserved by the versions stored in git.
To use gitkeeper you will need to install the suggested perl packages too.
There are three methods to install mrb
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install mrb Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install mrb
using apt-get
by running the following command:
sudo apt-get -y install mrb
Install mrb Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install mrb
using apt
by running the following command:
sudo apt -y install mrb
Install mrb 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 mrb
using aptitude
by running the following command:
sudo aptitude -y install mrb
How To Uninstall mrb on Debian 10
To uninstall only the mrb
package we can use the following command:
sudo apt-get remove mrb
Uninstall mrb And Its Dependencies
To uninstall mrb
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove mrb
Remove mrb Configurations and Data
To remove mrb
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge mrb
Remove mrb configuration, data, and all of its dependencies
We can use the following command to remove mrb
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mrb
Dependencies
mrb have the following dependencies:
References
Summary
In this tutorial we learn how to install mrb
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.