How to Install and Uninstall cpphs Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 18,2024

1. Install "cpphs" package

Please follow the guidelines below to install cpphs on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install cpphs

2. Uninstall "cpphs" package

This guide covers the steps necessary to uninstall cpphs on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove cpphs $ sudo apt autoclean && sudo apt autoremove

3. Information about the cpphs package on Ubuntu 21.10 (Impish Indri)

Package: cpphs
Architecture: amd64
Version: 1.20.9.1-1build4.1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1700
Depends: libc6 (>= 2.34), libffi8 (>= 3.4), libgmp10
Suggests: ghc | hugs
Filename: pool/universe/c/cpphs/cpphs_1.20.9.1-1build4.1_amd64.deb
Size: 372566
MD5sum: d97a4206e03bb7a0686790f5a45c415c
SHA1: 353f3c9888c4f9b3f99cfbf75272b23333da849f
SHA256: 2dde2383aa4325448bef9aae985125d53f6854ab1b9cb1b537b2112bd0c97f3b
SHA512: 3d75e76b573284b53ecbf41f3e60448d45c50d98bc88baecf70d943c9f8c1204f82778cd4be32df4ac343aae02c6e5b5eb40b51ebfcbbcc00dae13ea1c6f8198
Homepage: http://projects.haskell.org/cpphs/
Description-en: Simplified cpp-a-like preprocessor for Haskell
The C pre-processor has been widely used in Haskell source code. It
enables conditional compilation for different compilers, different
versions of the same compiler, and different OS platforms. It is also
occasionally used for its macro language, which can enable certain
forms of platform-specific detail-filling, such as the tedious
boilerplate generation of instance definitions and FFI declarations.
.
However, gcc's cpp has recently been evolving to more strictly adhere
to the C standard. This has had the effect of making it increasingly
incompatible with Haskell's syntax. This is a cpp-a-like designed with
Haskell's syntax in mind.
Description-md5: cc7897f4cc1a68d7c934e96a45a2a8b4