< Home - < Back

cpp


Information about the package, cpp, which is shipped with common Linux distributions. The cpp package is designed for, The C Preprocessor.


Package Name:

cpp

Summary:

The C Preprocessor

Description:

Cpp is the GNU C-Compatible Compiler Preprocessor. Cpp is a macro processor which is used automatically by the C compiler to transform your program before actual compilation. It is called a macro processor because it allows you to define macros, abbreviations for longer constructs. The C preprocessor provides four separate functionalities: the inclusion of header files (files of declarations that can be substituted into your program); macro expansion (you can define macros, and the C preprocessor will replace the macros with their definitions throughout the program); conditional compilation (using special preprocessing directives, you can include or exclude parts of the program according to various conditions); and line control (if you use a program to combine or rearrange source files into an intermediate file which is then compiled, you can use line control to inform the compiler about where each source line originated). You should install this package if you are a C programmer and you use macros.

Architecture:

x86_64

Version:

4.4.7

Release:

18.el6_9.2

Size:

9.5 M

Repository:

installed

From Repository:

updates

Licence:

GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions



Handy Yum Commands for cpp


Control the cpp package with the following handy commands outlined below.


Command

Description of Command

yum install cpp

This command will install cpp on the server.

yum remove cpp

This command will un-install cpp on the server. When you run this command, you will be asked if you are sure that you want to remove cpp, so you have to manually confirm that you want to do this.

yum -y remove cpp

This command will un-install cpp on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove cpp when using the -y flag.

yum update cpp

This command will update cpp to the latest version. When you run this command, you will be asked if you are sure that you want to remove cpp, so you have to manually confirm that you want to do this.

yum -y update cpp

This command will update cpp to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove cpp when using the -y flag.

yum info cpp

This command will show you core information about the cpp package.

yum deplist cpp

This command will show you the dependencies for cpp. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update cpp

This command will check if there is an update waiting on cpp. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.