How To Install ipmiutil on Ubuntu 22.04

In this tutorial we learn how to install ipmiutil on Ubuntu 22.04. ipmiutil is IPMI management utilities

Introduction

In this tutorial we learn how to install ipmiutil on Ubuntu 22.04.

What is ipmiutil

ipmiutil is:

ipmiutil performs a series of common IPMI server management functions to allow administrators to perform management functions without a learning curve. It can gather FRU inventory data, SEL firmware log, sensors, watchdog, power control, health, monitoring, and has an SOL console. It can write sensor thresholds, FRU asset tags, and supports a full IPMI configuration save/restore.

There are three methods to install ipmiutil on Ubuntu 22.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 ipmiutil Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ipmiutil

Install ipmiutil Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ipmiutil

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

sudo aptitude -y install ipmiutil

How To Uninstall ipmiutil on Ubuntu 22.04

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

sudo apt-get remove ipmiutil

Uninstall ipmiutil And Its Dependencies

To uninstall ipmiutil and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove ipmiutil

Remove ipmiutil Configurations and Data

To remove ipmiutil configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge ipmiutil

Remove ipmiutil configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ipmiutil

References

Summary

In this tutorial we learn how to install ipmiutil package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.