How to Install and Uninstall cpp-7 Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: June 14,2024

1. Install "cpp-7" package

Please follow the guidance below to install cpp-7 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install cpp-7

2. Uninstall "cpp-7" package

Please follow the instructions below to uninstall cpp-7 on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove cpp-7 $ sudo apt autoclean && sudo apt autoremove

3. Information about the cpp-7 package on Ubuntu 21.04 (Hirsute Hippo)

Package: cpp-7
Architecture: amd64
Version: 7.5.0-6ubuntu4
Priority: optional
Section: universe/interpreters
Source: gcc-7
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 24074
Depends: gcc-7-base (= 7.5.0-6ubuntu4), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gcc-7-locales (>= 7)
Breaks: hardening-wrapper (<< 2.8+nmu3), libmagics++-dev (<< 2.28.0-4)
Replaces: gccgo-7 (<< 7.5.0-6ubuntu4)
Filename: pool/universe/g/gcc-7/cpp-7_7.5.0-6ubuntu4_amd64.deb
Size: 8617008
MD5sum: 2c711eb7aa615e79612350600f48f420
SHA1: 667ba0f21e0db8e17bd0ae980bc1336775eda692
SHA256: 64ee960ccf0406b22f9e857f6d48d2c0ef9e6919d7af8deecc9f0e1726dd6153
SHA512: 56c57c09e713f516263f1f75a7760fa76bb8d245b9093dc5a2cacc0b0dbb8eb830e8697e88c187724140f9ad2bd077119eda5a2a50fa24b1e50949bd0b6369a5
Homepage: http://gcc.gnu.org/
Description-en: GNU C preprocessor
A macro processor that is used automatically by the GNU C compiler
to transform programs before actual compilation.
.
This package has been separated from gcc for the benefit of those who
require the preprocessor but not the compiler.
Description-md5: 93a75b5e1f4b43c36eba0239b6fab6a3