How To Install libffi-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install libffi-devel
on Rocky Linux 8.
What is libffi-devel
The libffi-devel package contains libraries and header files for developing applications that use libffi.
We can use yum
or dnf
to install libffi-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libffi-devel.
Install libffi-devel on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install libffi-devel
using dnf
by running the following command:
sudo dnf -y install libffi-devel
Install libffi-devel on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libffi-devel
using yum
by running the following command:
sudo yum -y install libffi-devel
How To Uninstall libffi-devel on Rocky Linux 8
To uninstall only the libffi-devel
package we can use the following command:
sudo dnf remove libffi-devel
libffi-devel Package Contents on Rocky Linux 8
/usr/include/ffi-i386.h
/usr/include/ffi.h
/usr/include/ffitarget-i386.h
/usr/include/ffitarget.h
/usr/lib/libffi.so
/usr/lib/pkgconfig/libffi.pc
/usr/share/info/libffi.info.gz
/usr/share/man/man3/ffi.3.gz
/usr/share/man/man3/ffi_call.3.gz
/usr/share/man/man3/ffi_prep_cif.3.gz
/usr/share/man/man3/ffi_prep_cif_var.3.gz
/usr/include/ffi-x86_64.h
/usr/include/ffi.h
/usr/include/ffitarget-x86_64.h
/usr/include/ffitarget.h
/usr/lib64/libffi.so
/usr/lib64/pkgconfig/libffi.pc
/usr/share/info/libffi.info.gz
/usr/share/man/man3/ffi.3.gz
/usr/share/man/man3/ffi_call.3.gz
/usr/share/man/man3/ffi_prep_cif.3.gz
/usr/share/man/man3/ffi_prep_cif_var.3.gz
References
Summary
In this tutorial we learn how to install libffi-devel
on Rocky Linux 8 using yum and dnf.