How To Install bilibop-rules on Debian 10
Introduction
In this tutorial we learn how to install bilibop-rules
on Debian 10.
What is bilibop-rules
bilibop-rules is:
Bilibop helps to maintain a Debian GNU/Linux operating system installed on an external media (USB, FireWire, Flash memory, eSATA). It hardens standard rules and policies to make the system more robust in this particular situation.
This package provides a udev rules file to manage the external drive hosting the running system. Its main goal is to forbid low-level write access on this drive and its partitions by any unprivileged user or application, but some other convenient and optional rules have been added for desktop-level management (in desktop environments based on udisks2) of the system disk and partitions, as well as the internal disks of the computer. The ’lsbilibop' command allows the admin to update udev properties of the devices after the configuration file has been modified.
To ease device management, bilibop-rules also provides helper scripts to:
- build custom bilibop udev rules running faster than the generic ones
- make some persistent and cumulative udev rules files unpersistent
- use either a fake or an always-up-to-date grub device map
- filter Physical Volumes, to activate only those needed by the system
This package is not designed to be used on internal disks. It works only for OS installed on removable and writable media, including LiveUSB systems. See also the bilibop-udev package.
Some features may require Linux kernel 2.6.37 or higher to work properly.
There are three methods to install bilibop-rules
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 bilibop-rules Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install bilibop-rules
using apt-get
by running the following command:
sudo apt-get -y install bilibop-rules
Install bilibop-rules Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install bilibop-rules
using apt
by running the following command:
sudo apt -y install bilibop-rules
Install bilibop-rules 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 bilibop-rules
using aptitude
by running the following command:
sudo aptitude -y install bilibop-rules
How To Uninstall bilibop-rules on Debian 10
To uninstall only the bilibop-rules
package we can use the following command:
sudo apt-get remove bilibop-rules
Uninstall bilibop-rules And Its Dependencies
To uninstall bilibop-rules
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove bilibop-rules
Remove bilibop-rules Configurations and Data
To remove bilibop-rules
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge bilibop-rules
Remove bilibop-rules configuration, data, and all of its dependencies
We can use the following command to remove bilibop-rules
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge bilibop-rules
Dependencies
bilibop-rules have the following dependencies:
References
Summary
In this tutorial we learn how to install bilibop-rules
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.