Install g++ on CentOS

Just apt-get install gcc g++ directly under debian. 

  

According to similar logic, yum install gcc g++ under Fedora reports that the g++ package cannot be found. 

  

A bit worse, the original name of this package is gcc-c++. The complete should be yum install gcc gcc-c++

  

Note that you must be the root user before installing.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327078410&siteId=291194637
G++