How To Install libffi-devel on Fedora 36
Introduction
In this tutorial we learn how to install libffi-devel
on Fedora 36.
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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libffi-devel.
Install libffi-devel on Fedora 36 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 Fedora 36 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 Fedora 36
To uninstall only the libffi-devel
package we can use the following command:
sudo dnf remove libffi-devel
libffi-devel Package Contents on Fedora 36
---
title: "How To Install libffi-devel on Fedora 36"
linkTitle: "libffi-devel"
type: "docs"
description: "In this tutorial we learn how to install libffi-devel in Fedora 36. libffi-devel is Development files for libffi"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libffi-devel-featured.png
---
## Introduction
In this tutorial we learn how to install `libffi-devel` on Fedora 36.
### 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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libffi-devel.
## Install libffi-devel on Fedora 36 Using dnf
Update yum database with `dnf` using the following command.
```bash
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 Fedora 36 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 Fedora 36
To uninstall only the libffi-devel
package we can use the following command:
sudo dnf remove libffi-devel
libffi-devel Package Contents on Fedora 36
/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
References
Summary
In this tutorial we learn how to install libffi-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/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
* [libffi-devel website](http://sourceware.org/libffi)
## Summary
In this tutorial we learn how to install `libffi-devel` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).