How To Install Cpp?

How To Install Cpp?

cpp

GNU C preprocessor (cpp)

Maintainer: Debian GCC Maintainers


Section: interpreters

Install cpp

  • Debian apt-get install cpp Click to copy
  • Ubuntu apt-get install cpp Click to copy
  • Arch Linux pacman -S cpp Click to copy
  • Kali Linux apt-get install cpp Click to copy
  • CentOS yum install cpp Click to copy
  • Fedora dnf install cpp Click to copy
  • Raspbian apt-get install cpp Click to copy

cpp

GNU C preprocessor (cpp)

The GNU C preprocessor is a macro processor that is used automatically by the GNU C compiler to transform programs before actual compilation. This package has been separated from gcc for the benefit of those who require the preprocessor but not the compiler. This is a dependency package providing the default GNU C preprocessor.

gcc-snapshot

A SNAPSHOT of the GNU Compiler Collection

gcc-mozilla

GCC, the GNU Compiler Collection

gcc

GNU C compiler

This is the GNU C compiler, a fairly portable optimizing compiler for C. This is a dependency package providing the default GNU C compiler.

distcc

simple distributed compiler client and server

distcc is a program to distribute compilation of C or C++ code across several machines on a network. distcc should always generate the same results as a local compile, is simple to install and use, and is often significantly faster than a local compile. distcc does not require all machines to share a filesystem, have synchronized clocks, or to have the same libraries or header files installed.

To install the latest version of cpp in your favorite operating system just copy the cpp installation command from above and paste it into terminal. It will download and install the latest version of cpp 2026 package in your OS.