How to Install and Uninstall c2hs.x86_64 Package on Fedora 39

Last updated: January 11,2025

1. Install "c2hs.x86_64" package

This guide covers the steps necessary to install c2hs.x86_64 on Fedora 39

$ sudo dnf update $ sudo dnf install c2hs.x86_64

2. Uninstall "c2hs.x86_64" package

This tutorial shows how to uninstall c2hs.x86_64 on Fedora 39:

$ sudo dnf remove c2hs.x86_64 $ sudo dnf autoremove

3. Information about the c2hs.x86_64 package on Fedora 39

Last metadata expiration check: 5:05:22 ago on Thu Mar 7 11:44:58 2024.
Available Packages
Name : c2hs
Version : 0.28.8
Release : 1.fc39
Architecture : x86_64
Size : 2.2 M
Source : c2hs-0.28.8-1.fc39.src.rpm
Repository : fedora
Summary : C->Haskell FFI tool that gives some cross-language type safety
URL : https://hackage.haskell.org/package/c2hs
License : BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.1-or-later
Description : C->Haskell assists in the development of Haskell bindings to C libraries.
: It extracts interface information from C header files and generates Haskell
: code with foreign imports and marshaling. Unlike writing foreign imports by
: hand (or using hsc2hs), this ensures that C functions are imported with the
: correct Haskell types.