How to Install and Uninstall g++-multilib Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: October 06,2024

1. Install "g++-multilib" package

This guide covers the steps necessary to install g++-multilib on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install g++-multilib

2. Uninstall "g++-multilib" package

Please follow the guidelines below to uninstall g++-multilib on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove g++-multilib $ sudo apt autoclean && sudo apt autoremove

3. Information about the g++-multilib package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: g++-multilib
Priority: optional
Section: devel
Installed-Size: 6
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Architecture: amd64
Source: gcc-defaults (1.150ubuntu1)
Version: 4:5.3.1-1ubuntu1
Depends: cpp (>= 4:5.3.1-1ubuntu1), gcc-multilib (>= 4:5.3.1-1ubuntu1), g++ (>= 4:5.3.1-1ubuntu1), g++-5-multilib (>= 5.3.1-3~)
Filename: pool/main/g/gcc-defaults/g++-multilib_5.3.1-1ubuntu1_amd64.deb
Size: 940
MD5sum: 1193e05d088f6f0322e487335ea24a2e
SHA1: 2d1c5ee233fa09d276990aea3aa60a8d6492520e
SHA256: 8a8ed24041a8cd9035f4fc2b110b5c4c2b4335cb44ac256c433aaba5b236f4c9
Description-en: GNU C++ compiler (multilib files)
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
.
A dependency package on architectures with multilib support; the package
contains dependencies for the non-default multilib architecture(s).
Description-md5: 13fdd3cac1ee1ffe86b871f781067316
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m