How To Install gsmartcontrol on Kali Linux
Introduction
In this tutorial we learn how to install gsmartcontrol on Kali Linux.
What is gsmartcontrol
gsmartcontrol is:
GSmartControl is a graphical user interface for smartctl, which is a tool for querying and controlling SMART (Self-Monitoring, Analysis, and Reporting Technology) data on modern hard disk drives. It allows you to inspect the drive’s SMART data to determine its health, as well as run various tests on it.
Features:
- automatically reports and highlights any anomalies;
- allows enabling/disabling Automatic Offline Data Collection;
- allows enabling/disabling SMART itself;
- supports configuration of global and per-drive options for smartctl;
- performs SMART self-tests;
- displays drive IDs, capabilities, attributes, and self-test/error logs;
- can read in smartctl data from a saved file, interpreting it as a read-only virtual device.
There are three methods to install gsmartcontrol on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install gsmartcontrol Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install gsmartcontrol using apt-get by running the following command:
sudo apt-get -y install gsmartcontrolInstall gsmartcontrol Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install gsmartcontrol using apt by running the following command:
sudo apt -y install gsmartcontrolInstall gsmartcontrol Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install gsmartcontrol using aptitude by running the following command:
sudo aptitude -y install gsmartcontrolHow To Uninstall gsmartcontrol on Kali Linux
To uninstall only the gsmartcontrol package we can use the following command:
sudo apt-get remove gsmartcontrolUninstall gsmartcontrol And Its Dependencies
To uninstall gsmartcontrol and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove gsmartcontrolRemove gsmartcontrol Configurations and Data
To remove gsmartcontrol configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge gsmartcontrolRemove gsmartcontrol configuration, data, and all of its dependencies
We can use the following command to remove gsmartcontrol configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gsmartcontrolDependencies
gsmartcontrol have the following dependencies:
References
Summary
In this tutorial we learn how to install gsmartcontrol package on Kali Linux using different package management tools: apt, apt-get and aptitude.