s-blog

CentOS 无法使用 make(command not found)

ssssmy · 2026-06-05 · 1 min · CentOS

出现 -bash: make: command not found,一般是因为系统用最小化(mini)安装,没装 make、vim 等常用命令,yum 安装即可。

# 安装 make 等编译工具
yum -y install gcc automake autoconf libtool make
# 安装 g++
yum install gcc gcc-c++

原文链接:https://www.ssssmy.com/notes/centos-wu-fa-shi-yong-makecommand-not-found