How To Install cockpit-storaged on Ubuntu 18.04
Introduction
In this tutorial we learn how to install cockpit-storaged on Ubuntu 18.04.
What is cockpit-storaged
cockpit-storaged is:
The Cockpit components for interacting with storage.
There are three methods to install cockpit-storaged on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install cockpit-storaged Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install cockpit-storaged using apt-get by running the following command:
sudo apt-get -y install cockpit-storaged
Install cockpit-storaged Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install cockpit-storaged using apt by running the following command:
sudo apt -y install cockpit-storaged
Install cockpit-storaged 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 Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install cockpit-storaged using aptitude by running the following command:
sudo aptitude -y install cockpit-storaged
How To Uninstall cockpit-storaged on Ubuntu 18.04
To uninstall only the cockpit-storaged package we can use the following command:
sudo apt-get remove cockpit-storaged
Uninstall cockpit-storaged And Its Dependencies
To uninstall cockpit-storaged and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove cockpit-storaged
Remove cockpit-storaged Configurations and Data
To remove cockpit-storaged configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge cockpit-storaged
Remove cockpit-storaged configuration, data, and all of its dependencies
We can use the following command to remove cockpit-storaged configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge cockpit-storaged
References
Summary
In this tutorial we learn how to install cockpit-storaged package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.