How to Install and Uninstall c2hs Package on openSuSE Tumbleweed
Last updated: January 11,2025
1. Install "c2hs" package
Please follow the guidance below to install c2hs on openSuSE Tumbleweed
$
sudo zypper refresh
Copied
$
sudo zypper install
c2hs
Copied
2. Uninstall "c2hs" package
This tutorial shows how to uninstall c2hs on openSuSE Tumbleweed:
$
sudo zypper remove
c2hs
Copied
3. Information about the c2hs package on openSuSE Tumbleweed
Information for package c2hs:
-----------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : c2hs
Version : 0.28.8-4.11
Arch : x86_64
Vendor : openSUSE
Installed Size : 6.7 MiB
Installed : No
Status : not installed
Source package : c2hs-0.28.8-4.11.src
Upstream URL : https://hackage.haskell.org/package/c2hs
Summary : C->Haskell FFI tool that gives some cross-language type safety
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.
-----------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : c2hs
Version : 0.28.8-4.11
Arch : x86_64
Vendor : openSUSE
Installed Size : 6.7 MiB
Installed : No
Status : not installed
Source package : c2hs-0.28.8-4.11.src
Upstream URL : https://hackage.haskell.org/package/c2hs
Summary : C->Haskell FFI tool that gives some cross-language type safety
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.