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

Last updated: May 19,2024

1. Install "cpphs" package

Please follow the steps below to install cpphs on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install cpphs

2. Uninstall "cpphs" package

Please follow the guidance below to uninstall cpphs on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: cpphs
Architecture: amd64
Version: 1.20.9.1-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: 1700
Depends: libc6 (>= 2.29), libffi8ubuntu1 (>= 3.4~20200819), libgmp10
Suggests: ghc | hugs
Filename: pool/universe/c/cpphs/cpphs_1.20.9.1-1build4_amd64.deb
Size: 340728
MD5sum: 033065595e26207da4dd082fe39fbf99
SHA1: 83f1b337efb0ca8598ec1db7f0a64ee4143006fc
SHA256: bf1752d7a7fdbb1d89a8de9f5210a0432965eb9cc8135fd51d4799dd9fcb0dca
SHA512: b772f8688bcc97abf6fbadbdc913c9fb6f6d8397145eeb5445023bbda329ad52d2fb8303f6b77f4759cfcdf9d393a13cb72a13457413c39ed6eac4bae9c72d1c
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