How To Install libfreeipmi16 on Ubuntu 18.04

In this tutorial we learn how to install libfreeipmi16 on Ubuntu 18.04. libfreeipmi16 is GNU IPMI - libraries

Introduction

In this tutorial we learn how to install libfreeipmi16 on Ubuntu 18.04.

What is libfreeipmi16

libfreeipmi16 is:

FreeIPMI is a collection of Intelligent Platform Management IPMI system software. It provides in-band and out-of-band software and a development library conforming to the Intelligent Platform Management Interface (IPMI v1.5 and v2.0) standards.

OpenIPMI, KCS, SMIC, SSIF, LAN drivers, and an IPMI API in a C Library.

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

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

sudo apt-get update

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

sudo apt-get -y install libfreeipmi16

Install libfreeipmi16 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfreeipmi16

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

sudo aptitude -y install libfreeipmi16

How To Uninstall libfreeipmi16 on Ubuntu 18.04

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

sudo apt-get remove libfreeipmi16

Uninstall libfreeipmi16 And Its Dependencies

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

sudo apt-get -y autoremove libfreeipmi16

Remove libfreeipmi16 Configurations and Data

To remove libfreeipmi16 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libfreeipmi16

Remove libfreeipmi16 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libfreeipmi16

References

Summary

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