Linux "g ++: Command not found" error reported when compiling the node binary file, has been resolved

Today, the node environment is configured and deployed on the centos server. After downloading the node's binary compression package and decompressing it, at the link of make compilation, an error command
appears : (make [1]: g ++: Command not found)
Insert picture description here
Enter the command to proceed Search which package gcc-c ++ belongs to

yum search "gcc+c++"

Insert picture description here
Install the corresponding version of the gcc package After the
Insert picture description here
gcc environment is installed, then execute the compile command on the node binary file

make && make install

The compilation time will be very long, let me wait from the morning to the evening ... (It is recommended to download the uncompressed package after decompression, you can directly establish a soft link to reference the kind of node package, this compilation is really ... really too long, about unnecessary The method of compiling the node package is https://blog.csdn.net/qq_41136216/article/details/105478482)

Published 12 original articles · won 12 · views 3046

Guess you like

Origin blog.csdn.net/qq_41136216/article/details/105468538