How To Install ghc-libffi-devel on Fedora 36
Introduction
In this tutorial we learn how to install ghc-libffi-devel
on Fedora 36.
What is ghc-libffi-devel
This package provides the Haskell libffi library development files.
We can use yum
or dnf
to install ghc-libffi-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-libffi-devel.
Install ghc-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 ghc-libffi-devel
using dnf
by running the following command:
sudo dnf -y install ghc-libffi-devel
Install ghc-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 ghc-libffi-devel
using yum
by running the following command:
sudo yum -y install ghc-libffi-devel
How To Uninstall ghc-libffi-devel on Fedora 36
To uninstall only the ghc-libffi-devel
package we can use the following command:
sudo dnf remove ghc-libffi-devel
ghc-libffi-devel Package Contents on Fedora 36
/usr/lib64/ghc-8.10.5/libffi-0.1
/usr/lib64/ghc-8.10.5/libffi-0.1/Foreign
/usr/lib64/ghc-8.10.5/libffi-0.1/Foreign/LibFFI
/usr/lib64/ghc-8.10.5/libffi-0.1/Foreign/LibFFI.dyn_hi
/usr/lib64/ghc-8.10.5/libffi-0.1/Foreign/LibFFI.hi
/usr/lib64/ghc-8.10.5/libffi-0.1/Foreign/LibFFI/Base.dyn_hi
/usr/lib64/ghc-8.10.5/libffi-0.1/Foreign/LibFFI/Base.hi
/usr/lib64/ghc-8.10.5/libffi-0.1/Foreign/LibFFI/FFITypes.dyn_hi
/usr/lib64/ghc-8.10.5/libffi-0.1/Foreign/LibFFI/FFITypes.hi
/usr/lib64/ghc-8.10.5/libffi-0.1/Foreign/LibFFI/Internal.dyn_hi
/usr/lib64/ghc-8.10.5/libffi-0.1/Foreign/LibFFI/Internal.hi
/usr/lib64/ghc-8.10.5/libffi-0.1/Foreign/LibFFI/Types.dyn_hi
/usr/lib64/ghc-8.10.5/libffi-0.1/Foreign/LibFFI/Types.hi
/usr/lib64/ghc-8.10.5/libffi-0.1/libHSlibffi-0.1-8U8n8AdfLs66HXhD0Pbsc9.a
/usr/lib64/ghc-8.10.5/package.conf.d/libffi-0.1.conf
/usr/share/doc/ghc-libffi-devel
/usr/share/doc/ghc-libffi-devel/TODO
/usr/share/doc/ghc-libffi-devel/examples
/usr/share/doc/ghc-libffi-devel/examples/CCall.hs
/usr/share/doc/ghc-libffi-devel/examples/CTime.hsc
/usr/share/doc/ghc-libffi-devel/examples/Makefile
/usr/share/doc/ghc-libffi-devel/examples/MemSpeed.hs
/usr/share/doc/ghc-libffi-devel/examples/mytime.c
References
Summary
In this tutorial we learn how to install ghc-libffi-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).