How To Install ipmitool on Debian 10

Learn how to install ipmitool on Debian 10 with this tutorial. ipmitool is utility for IPMI control with kernel driver or LAN interface (daemon)

Introduction

In this tutorial we learn how to install ipmitool on Debian 10.

What is ipmitool

ipmitool is:

A utility for managing and configuring devices that support the Intelligent Platform Management Interface. IPMI is an open standard for monitoring, logging, recovery, inventory, and control of hardware that is implemented independent of the main CPU, BIOS, and OS. The service processor (or Baseboard Management Controller, BMC) is the brain behind platform management and its primary purpose is to handle the autonomous sensor monitoring and event logging features.

The ipmitool program provides a simple command-line interface to this BMC. It features the ability to read the sensor data repository (SDR) and print sensor values, display the contents of the System Event Log (SEL), print Field Replaceable Unit (FRU) inventory information, read and set LAN configuration parameters, and perform remote chassis power control.

This package contains the daemon.

There are three methods to install ipmitool 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 ipmitool Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install ipmitool using apt-get by running the following command:

sudo apt-get -y install ipmitool

Install ipmitool Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ipmitool using apt by running the following command:

sudo apt -y install ipmitool

Install ipmitool 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 ipmitool using aptitude by running the following command:

sudo aptitude -y install ipmitool

How To Uninstall ipmitool on Debian 10

To uninstall only the ipmitool package we can use the following command:

sudo apt-get remove ipmitool

Uninstall ipmitool And Its Dependencies

To uninstall ipmitool and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove ipmitool

Remove ipmitool Configurations and Data

To remove ipmitool configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge ipmitool

Remove ipmitool configuration, data, and all of its dependencies

We can use the following command to remove ipmitool configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ipmitool

Dependencies

ipmitool have the following dependencies:

References

Summary

In this tutorial we learn how to install ipmitool package on Debian 10 using different package management tools: apt, apt-get and aptitude.