How to Install and Uninstall g++-multilib Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: June 13,2024

1. Install "g++-multilib" package

Please follow the instructions below to install g++-multilib on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "g++-multilib" package

This guide covers the steps necessary to uninstall g++-multilib on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the g++-multilib package on Ubuntu 21.04 (Hirsute Hippo)

Package: g++-multilib
Architecture: amd64
Version: 4:10.3.0-1ubuntu1
Priority: optional
Section: devel
Source: gcc-defaults (1.190ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6
Depends: cpp (= 4:10.3.0-1ubuntu1), gcc-multilib (= 4:10.3.0-1ubuntu1), g++ (= 4:10.3.0-1ubuntu1), g++-10-multilib (>= 10.3.0-1~)
Filename: pool/main/g/gcc-defaults/g++-multilib_10.3.0-1ubuntu1_amd64.deb
Size: 1044
MD5sum: 7c89637ed0ef806daa2f329215339128
SHA1: f599e38af7e21576abf0f8b4768a1172523e7d94
SHA256: 9923d69d01bcb26e63afddf5b03eed2475523f8cb0e308df9d07f92ffeab1013
SHA512: 52da71ad4d66352d14bb8849c9874a6f35d916c9eabad1128d9ca370e6c2ba6981de839ae1179b1cb9ed1ee0581eeca1be249bd1d016d93fc76f4d882b31f102
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