How to Install and Uninstall gcc-doc Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 09,2024

1. Install "gcc-doc" package

This is a short guide on how to install gcc-doc on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gcc-doc

2. Uninstall "gcc-doc" package

This tutorial shows how to uninstall gcc-doc on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove gcc-doc $ sudo apt autoclean && sudo apt autoremove

3. Information about the gcc-doc package on Ubuntu 21.04 (Hirsute Hippo)

Package: gcc-doc
Architecture: amd64
Version: 4:10.3.0-1ubuntu1
Priority: optional
Section: doc
Source: gcc-defaults (1.190ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 35
Depends: gcc-10-doc (>= 10.3.0-1~)
Suggests: gcc (>= 4:10.3.0-1ubuntu1)
Filename: pool/main/g/gcc-defaults/gcc-doc_10.3.0-1ubuntu1_amd64.deb
Size: 3356
MD5sum: e6c580784929f4fcb7f8ca5ec9727666
SHA1: 2c06e54a5064a1255ffbe6790ef5d05ce54fc4ec
SHA256: d34ed966cacc91a6b4dfea61d31192ecb989b974df592a34ccd3a33708601a1f
SHA512: db651b4a05d9b2d5f61a3813e64c2338c0b4051ee318624561ddd8d24f6dd86a2f5919fffca289c5264f7605be5e2787b6126cd49bf19349bb56a0217305e55f
Description-en: Documentation for the GNU C compilers (gcc, gobjc, g++)
Documentation for the GNU compilers in info format (dependency package).
Description-md5: af77f0c56a32a74fc629f4cd7c91d2da