How to Install and Uninstall cpphs Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 17,2024

1. Install "cpphs" package

Please follow the guidance below to install cpphs on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install cpphs

2. Uninstall "cpphs" package

Learn how to uninstall cpphs on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the cpphs package on Ubuntu 20.10 (Groovy Gorilla)

Package: cpphs
Architecture: amd64
Version: 1.20.9.1-1build3
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1702
Depends: libc6 (>= 2.29), libffi8ubuntu1 (>= 3.4~20200819), libgmp10
Suggests: ghc | hugs
Filename: pool/universe/c/cpphs/cpphs_1.20.9.1-1build3_amd64.deb
Size: 341996
MD5sum: f2f09bbb5cdf882613b65abda5fc9c84
SHA1: b51f905c5251126dc5da227ec4bad061b8281271
SHA256: e94055143e6a714cc5731dcfbce4564619d3c3a6cd19a09c3b66bf766468b16f
SHA512: 6ce71a86e2940cb3b1f8dd5b73f356e8e5136086db4b8d3927ab0eb08a4088548178e67b72515c142d5aa3d95d4ff8dd6214e24ea952e76e00acb9bc6163fbda
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