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

Last updated: May 18,2024

1. Install "gcc-10-source" package

This tutorial shows how to install gcc-10-source on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gcc-10-source

2. Uninstall "gcc-10-source" package

Please follow the steps below to uninstall gcc-10-source on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove gcc-10-source $ sudo apt autoclean && sudo apt autoremove

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

Package: gcc-10-source
Architecture: all
Version: 10.3.0-1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-10
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 82404
Depends: make, quilt, patchutils, sharutils, gawk, lsb-release, time, m4, libtool, autoconf
Filename: pool/universe/g/gcc-10/gcc-10-source_10.3.0-1ubuntu1_all.deb
Size: 78910732
MD5sum: 58d6dc71b461bf75e3996be642aed215
SHA1: 2a087e44356b0760d638361a95ea11a5ee22d8e6
SHA256: 342f6c497898ea6b5fba4af8796f7659ddadcce19d4e72ff8c1bf26b321b6258
SHA512: 9ee51ac28994a721b75c9010e5d58d0ddf0ab89038e931b653152d13ab1d9bc1628203c1cba0ea69ed92f57badeccffcfd02e1a37912982cb9a81836abe30c65
Homepage: http://gcc.gnu.org/
Description-en: Source of the GNU Compiler Collection
This package contains the sources and patches which are needed to
build the GNU Compiler Collection (GCC).
Description-md5: cb00049993a8c14b73bb041c050eb8c5