How to Install and Uninstall build-essential Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 26,2024

1. Install "build-essential" package

Please follow the guidance below to install build-essential on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install build-essential

2. Uninstall "build-essential" package

This tutorial shows how to uninstall build-essential on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the build-essential package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: build-essential
Priority: optional
Section: devel
Installed-Size: 20
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Architecture: amd64
Version: 12.1ubuntu2
Depends: libc6-dev | libc-dev, gcc (>= 4:5.2), g++ (>= 4:5.2), make, dpkg-dev (>= 1.17.11)
Filename: pool/main/b/build-essential/build-essential_12.1ubuntu2_amd64.deb
Size: 4758
MD5sum: 731c3a328f87a14bf4f887ceffc51241
SHA1: 47fa98ef28175a9435b814102923aef0fa734204
SHA256: c73b2015ed4f35adf5c79348de26a53c98478de251c0fcd6b2ce49935308ded1
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
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Build-Essential: yes
Origin: Ubuntu
Supported: 5y
Task: ubuntu-desktop, ubuntu-usb, edubuntu-desktop, edubuntu-usb, ubuntustudio-audio, ubuntukylin-desktop