How to Install and Uninstall build-essential Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 03,2024

1. Install "build-essential" package

Please follow the step by step instructions below to install build-essential on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install build-essential

2. Uninstall "build-essential" package

Please follow the guidance below to uninstall build-essential on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove build-essential $ sudo apt autoclean && sudo apt autoremove

3. Information about the build-essential package on Ubuntu 21.04 (Hirsute Hippo)

Package: build-essential
Architecture: amd64
Version: 12.8ubuntu3
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 21
Depends: libc6-dev | libc-dev, gcc (>= 4:9.2), g++ (>= 4:9.2), make, dpkg-dev (>= 1.17.11)
Filename: pool/main/b/build-essential/build-essential_12.8ubuntu3_amd64.deb
Size: 4640
MD5sum: a5f1899f55358016ff32fca73e16f870
SHA1: c2a80143865a033e81e110796300f669b8e1f1ab
SHA256: 13c30420d4255d4e72eb65dcd9d85621a9f905c9120177ae3c02d12acbe54169
SHA512: 2865081ec7094d8ffdbe57bf0849ac3fc7044816b2e55299a328a4d8b196996d7603513a8417147851db688627719a499f22af2f5fcd550f8c2b998d8137d487
Description-en: Informational list of build-essential packages
If you do not plan to build Debian packages, you don't need this
package. Starting with dpkg (>= 1.14.18) this package is required
for building Debian packages.
.
This package contains an informational list of packages which are
considered essential for building Debian packages. This package also
depends on the packages on that list, to make it easy to have the
build-essential packages installed.
.
If you have this package installed, you only need to install whatever
a package specifies as its build-time dependencies to build the
package. Conversely, if you are determining what your package needs
to build-depend on, you can always leave out the packages this
package depends on.
.
This package is NOT the definition of what packages are
build-essential; the real definition is in the Debian Policy Manual.
This package contains merely an informational list, which is all
most people need. However, if this package and the manual disagree,
the manual is correct.
Description-md5: 90ef0ef86cafda0bd16f746eb621d9da
Task: ubuntustudio-video, ubuntu-mate-core, ubuntu-mate-desktop
Build-Essential: yes