Install gcc and g++ and gdb under CentOs
- 2020-09-16 07:55:59
- OfStack
Centos supports installation using yum, in the general format of Installation software 1
yum install
. , note that the installation must be root user, and in the network state.
Install gcc using yum:
yum install gcc
Use: which gcc to see if the installation was successful
Install g++ using yum:
yum install gcc-c++
Use: which g++ to check if the installation is successful
gdb installation
Method 1: Install using yum:
yum install gdb
conclusion