How To Install fai-setup-storage on Debian 10
Introduction
In this tutorial we learn how to install fai-setup-storage
on Debian 10.
What is fai-setup-storage
fai-setup-storage is:
Using FAI disk_config files, setup-storage computes effective partition and volume sizes and executes the necessary commands to configure storage devices. It manages disk drives as well as RAID and LVM volumes. It handles all file systems supported by parted(8) as well as ntfs but is flexible enough to be extended to further types as well. Once the storage devices are prepared, an appropriate fstab(5) file is generated.
This package provides the setup-storage utility as separate package so it can be used independent from FAI as well.
There are three methods to install fai-setup-storage
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 fai-setup-storage Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install fai-setup-storage
using apt-get
by running the following command:
sudo apt-get -y install fai-setup-storage
Install fai-setup-storage Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install fai-setup-storage
using apt
by running the following command:
sudo apt -y install fai-setup-storage
Install fai-setup-storage 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 fai-setup-storage
using aptitude
by running the following command:
sudo aptitude -y install fai-setup-storage
How To Uninstall fai-setup-storage on Debian 10
To uninstall only the fai-setup-storage
package we can use the following command:
sudo apt-get remove fai-setup-storage
Uninstall fai-setup-storage And Its Dependencies
To uninstall fai-setup-storage
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove fai-setup-storage
Remove fai-setup-storage Configurations and Data
To remove fai-setup-storage
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge fai-setup-storage
Remove fai-setup-storage configuration, data, and all of its dependencies
We can use the following command to remove fai-setup-storage
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fai-setup-storage
Dependencies
fai-setup-storage have the following dependencies:
References
Summary
In this tutorial we learn how to install fai-setup-storage
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.