如何安装 gsmartcontrol Debian 11

在本教程中,我们学习如何安装 gsmartcontrol Debian 11.gsmartcontrol是smartctl的图形用户界面

介绍

在本教程中我们学习如何安装 gsmartcontrol 在 Debian 11.

什么是 gsmartcontrol

智能控制是:

GSmartControl 是 smartctl 的图形用户界面,smartctl 是一种用于查询和控制现代硬盘驱动器上的 SMART(自我监控、分析和报告技术)数据的工具。 它允许您检查驱动器的 SMART 数据以确定其运行状况,并对其运行各种测试。

特征:

  • 自动报告并突出显示任何异常情况;
  • 允许启用/禁用自动离线数据收集;
  • 允许启用/禁用 SMART 本身;
  • 支持 smartctl 的全局和每个驱动器选项的配置;
  • 执行 SMART 自检;
  • 显示驱动器 ID、功能、属性和自检/错误日志;
  • 可以从保存的文件中读取 smartctl 数据,将其解释为只读虚拟设备。

有三种安装方法 gsmartcontrol 在 Debian 11.我们可以使用 apt-get, aptaptitude。 在以下部分中,我们将描述每种方法。 您可以选择其中之一。

使用 apt-get 安装 gsmartcontrol

更新 apt 数据库 apt-get 使用以下命令。

更新apt数据库后,我们可以安装 gsmartcontrol 使用 apt-get 通过运行以下命令:

sudo apt-get -y install gsmartcontrol

使用 apt 安装 gsmartcontrol

更新 apt 数据库 apt 使用以下命令。

更新apt数据库后,我们可以安装 gsmartcontrol 使用 apt 通过运行以下命令:

sudo apt -y install gsmartcontrol

使用 aptitude 安装 gsmartcontrol

如果您想遵循此方法,您可能需要先安装 aptitude,因为 aptitude 通常不会默认安装 Debian。 更新 apt 数据库 aptitude 使用以下命令。

更新apt数据库后,我们可以安装 gsmartcontrol 使用 aptitude 通过运行以下命令:

sudo aptitude -y install gsmartcontrol

如何卸载 gsmartcontrol Debian 11

仅卸载 gsmartcontrol 打包我们可以使用以下命令:

sudo apt-get remove gsmartcontrol

卸载 gsmartcontrol 及其依赖项

卸载 gsmartcontrol 及其不再需要的依赖项 Debian 11、我们可以使用下面的命令:

sudo apt-get -y autoremove gsmartcontrol

删除 gsmartcontrol 配置和数据

去除 gsmartcontrol 配置和数据来自 Debian 11.我们可以使用如下命令:

sudo apt-get -y purge gsmartcontrol

删除 gsmartcontrol 配置、数据及其所有依赖项

我们可以使用下面的命令来删除 gsmartcontrol 配置、数据及其所有依赖项,我们可以使用以下命令:

sudo apt-get -y autoremove --purge gsmartcontrol

依赖关系

gsmartcontrol 具有以下依赖项:

参考

概括

在本教程中我们学习如何安装 gsmartcontrol 封装在 Debian 11.使用不同的包管理工具: apt, apt-getaptitude