gcc: command not found error when installing redis in Linux (reproduced)

(Reproduced in http://blog.csdn.net/wenwen360360/article/details/70162169)

gcc not found error when installing redis in VMware

solution

First make sure that root is logged in. If it is $, it means that it is a normal user login. # means that it is a root user. Switch to the root user command and enter su, press Enter, enter the password and press Enter, and then install the installation command: yum -y install gcc automake autoconf libtool make 




Installed, try to compile and run redis again


If you still report missing packages or any errors during the make process after installing gcc, it is recommended to delete the decompressed files and decompress them again. The problems are all solved.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326152246&siteId=291194637