How to Install and Uninstall g++ Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: May 18,2024

1. Install "g++" package

This tutorial shows how to install g++ on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install g++

2. Uninstall "g++" package

This guide let you learn how to uninstall g++ on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the g++ package on Ubuntu 23.10 (Mantic Minotaur)

Package: g++
Architecture: amd64
Version: 4:13.2.0-1ubuntu1
Priority: optional
Section: devel
Source: gcc-defaults (1.208ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 15
Provides: c++-compiler, g++-x86-64-linux-gnu (= 4:13.2.0-1ubuntu1)
Depends: cpp (= 4:13.2.0-1ubuntu1), gcc (= 4:13.2.0-1ubuntu1), g++-13 (>= 13.2.0-2~), gcc-13 (>= 13.2.0-2~)
Suggests: g++-multilib
Filename: pool/main/g/gcc-defaults/g++_13.2.0-1ubuntu1_amd64.deb
Size: 1122
MD5sum: a5eacebc25cb6dc8e8845df8e29b29b1
SHA1: e8f481bea1d0ac4bfd5f421b1e2b89b157f40fe4
SHA256: c9465f31a1f763590015d554d52f231604942b31dfccb117ccb43a541b49aa66
SHA512: 930a7f8ad7728edbae1c9086e255d9be6fcc53c17b881ab03602bd44249cfaf4e0167ab1deb956d412f19becf8a371b6d5199b9a382398b9dc5adbacdee874cd
Description: GNU C++ compiler
Description-md5: 4d44b18774ae5123b7c3f70d940cf655
Task: ubuntustudio-audio, ubuntustudio-publishing, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-unity-desktop, edubuntu-desktop-gnome, ubuntucinnamon-desktop, ubuntucinnamon-desktop-raspi
Build-Essential: yes