How to Install and Uninstall hardening-wrapper Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: December 23,2024

1. Install "hardening-wrapper" package

This guide covers the steps necessary to install hardening-wrapper on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install hardening-wrapper

2. Uninstall "hardening-wrapper" package

Here is a brief guide to show you how to uninstall hardening-wrapper on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove hardening-wrapper $ sudo apt autoclean && sudo apt autoremove

3. Information about the hardening-wrapper package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: hardening-wrapper
Priority: extra
Section: universe/devel
Installed-Size: 63
Maintainer: Ubuntu Developers
Original-Maintainer: Package Hardening
Architecture: amd64
Version: 2.7ubuntu2
Depends: gcc | g++, perl
Filename: pool/universe/h/hardening-wrapper/hardening-wrapper_2.7ubuntu2_amd64.deb
Size: 10248
MD5sum: 44c8f275707f256e7e4366a58b8c9b3f
SHA1: 087008b4f1244dd7295953314d1e385995d5eaed
SHA256: ac4fa50b80d2959455cc490c62820cb4024afb909c4bdb664233e7801315e788
Description-en: Compiler wrapper to enable security hardening flags
Replaces gcc, g++, and ld with wrapper scripts that set security hardening
compilation flags, as an alternative to changing gcc specs. Enabled when
DEB_BUILD_HARDENING=1 is set.
Description-md5: 3345448d3a8754631900ad7f4bb201db
Multi-Arch: foreign
Homepage: http://wiki.debian.org/Hardening
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu