GNU C++ compiler for the amd64 architecture
g++-x86-64-linux-gnu 4:16.2.0-1 is packaged in Kali Linux rolling (main, amd64) with an indexed installed size of 11.0 KB.
Choose a release and native architecture. Indexed coverage is partial; missing results do not prove that a vendor lacks support.
Direct links below come from the exact indexed distribution repository record.
Repository: main · Snapshot: kali-rolling · indexed Nov 28, 2026, 7:57 PM
GNU C++ compiler for the amd64 architecture
PACKAGE ANSWERS
Answers are derived from current indexed versions, repositories, dependencies, files and security coverage.
Use sudo apt install g++-x86-64-linux-gnu. This indexed build comes from the main repository. Confirm that the repository is enabled for Kali Linux kali-rolling before running the command.
Yes. PkgSeek exposes direct links for the exact .deb artifacts and the exact matching source record for gcc-defaults 1.234.
The indexed version is 4:16.2.0-1 in main, with builds recorded for amd64. Distribution build revisions and backported patches are part of this exact version identity.
SHA256 · 203632bf3fc524f0ca4731849f7e94dd5ee801e829f65c33688e0caa06fe0f8bgcc-defaults 1.2343.0 (native)Direct downloads do not resolve dependencies automatically. For normal installation, use the package-manager command above.
GNU C++ compiler for the amd64 architecture.
The indexed metadata records 3 direct dependencies, including cpp-x86-64-linux-gnu, g++-16-x86-64-linux-gnu, and gcc-x86-64-linux-gnu. Open the dependency tab for constraints, recommendations, virtual providers and the multi-hop graph.
Security-advisory coverage is not available for the Kali Linux kali-rolling coordinate, so an empty vulnerability list must not be interpreted as safe. Check the distribution's official advisories before deployment.
4 indexed packages depend on g++-x86-64-linux-gnu in this distribution coordinate, including crossbuild-essential-amd64, g++, gccgo-x86-64-linux-gnu, and g++-for-host. Review reverse dependencies before removal or a major upgrade.