How To Install libsmi-devel.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libsmi-devel.x86_64
on Amazon Linux 2.
What is libsmi-devel.x86_64
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
to install libsmi-devel.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libsmi-devel.x86_64.
Install libsmi-devel.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libsmi-devel.x86_64
using yum
by running the following command:
sudo yum -y install libsmi-devel.x86_64
How To Uninstall libsmi-devel.x86_64 on Amazon Linux 2
To uninstall only the libsmi-devel.x86_64
package we can use the following command:
sudo yum remove libsmi-devel.x86_64
libsmi-devel.x86_64 Package Contents on Amazon Linux 2
/usr/include/smi.h
/usr/lib64/libsmi.so
/usr/lib64/pkgconfig/libsmi.pc
/usr/share/aclocal/libsmi.m4
/usr/share/man/man3/libsmi.3.gz
/usr/share/man/man3/smi_attribute.3.gz
/usr/share/man/man3/smi_class.3.gz
/usr/share/man/man3/smi_config.3.gz
/usr/share/man/man3/smi_event.3.gz
/usr/share/man/man3/smi_identity.3.gz
/usr/share/man/man3/smi_macro.3.gz
/usr/share/man/man3/smi_module.3.gz
/usr/share/man/man3/smi_node.3.gz
/usr/share/man/man3/smi_render.3.gz
/usr/share/man/man3/smi_type.3.gz
/usr/share/man/man3/smi_util.3.gz
References
Summary
In this tutorial we learn how to install libsmi-devel.x86_64
on Amazon Linux 2 using yum.