How To Install libsmi on CentOS 8
Introduction
In this tutorial we learn how to install libsmi on CentOS 8.
What is libsmi
Libsmi is a C library to access MIB module information through a well defined API that hides the nasty details of locating and parsing SMIv1/v2 MIB modules. This package contains tools to check, dump, and convert MIB definitions and a steadily maintained and revised archive of all IETF and IANA maintained standard MIB modules. Libsmi is a C library to access MIB module information through a well defined API that hides the nasty details of locating and parsing SMIv1/v2 MIB modules. This package contains tools to check, dump, and convert MIB definitions and a steadily maintained and revised archive of all IETF and IANA maintained standard MIB modules.
We can use yum or dnf to install libsmi on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install libsmi.
Install libsmi on CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install libsmi using yum by running the following command:
sudo yum -y install libsmi
Install libsmi on CentOS 8 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install libsmi using dnf by running the following command:
sudo dnf -y install libsmi
How To Uninstall libsmi on CentOS 8
To uninstall only the libsmi package we can use the following command:
sudo dnf remove libsmi
References
Summary
In this tutorial we learn how to install libsmi on CentOS 8 using yum and dnf.