How To Install libsmi-devel on CentOS 8
Introduction
In this tutorial we learn how to install libsmi-devel on CentOS 8.
What is libsmi-devel
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 development files needed to develop libsmi-based applications. 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 development files needed to develop libsmi-based applications.
We can use yum or dnf to install libsmi-devel on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install libsmi-devel.
Install libsmi-devel 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-devel using yum by running the following command:
sudo yum -y install libsmi-devel
Install libsmi-devel 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-devel using dnf by running the following command:
sudo dnf -y install libsmi-devel
How To Uninstall libsmi-devel on CentOS 8
To uninstall only the libsmi-devel package we can use the following command:
sudo dnf remove libsmi-devel
References
Summary
In this tutorial we learn how to install libsmi-devel on CentOS 8 using yum and dnf.