How to Install and Uninstall c2hs Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 18,2024

1. Install "c2hs" package

Please follow the guidelines below to install c2hs on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install c2hs

2. Uninstall "c2hs" package

Please follow the guidelines below to uninstall c2hs on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove c2hs $ sudo apt autoclean && sudo apt autoremove

3. Information about the c2hs package on Ubuntu 21.04 (Hirsute Hippo)

Package: c2hs
Architecture: amd64
Version: 0.28.6-1build4
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 5399
Depends: libc6 (>= 2.29), libffi8ubuntu1 (>= 3.4~20200819), libgmp10
Filename: pool/universe/c/c2hs/c2hs_0.28.6-1build4_amd64.deb
Size: 841852
MD5sum: 14438f292ce1f9560f84bd1d97d25585
SHA1: 4caf3deb04fbe7a0c74c94b3e7e98a26752730f4
SHA256: 53b0825b3014e21aa99621202639685706e04fb3adf8380c15e8bd4a02603763
SHA512: ba589c76d9f1a46a6fefc208477dd1744b7ce1d2b1cf457affb831fe1a633b1f469f5e391befc249e7196fe3301e66d387571ce071ce309a0ed25de408e12ebf
Homepage: http://hackage.haskell.org/package/c2hs
Description-en: C->Haskell Interface Generator
C->Haskell is an interface generator that simplifies the development
of Haskell bindings to C libraries. The tool processes existing C
header files that determine data layout and function signatures on
the C side in conjunction with Haskell modules that specify
Haskell-side type signatures and marshaling details. Hooks embedded
in the Haskell code signal access to C structures and functions --
they are expanded by the interfacing tool in dependence on
information from the corresponding C header file.
.
Haskell 98 is "the" standard lazy functional programming language.
More info plus the language definition is at http://www.haskell.org/.
.
This package contains the c2hs parser.
Description-md5: 2289ad79b89c4f005ff817a92b9e52f0