
目录
解决方法
如果提示 curl: command not found ,那是因为没装 Curl
- ubuntu/debian 系统安装 Curl 方法: apt-get update -y && apt-get install curl -y
- centos 系统安装 Curl 方法: yum update -y && yum install curl -y
安装好 curl 之后就能安装脚本了
yum update命令注意:!!!!
update
If run without any packages, update will update every currently installed package.
If one or more packagesor package globs are specified, Yum will only update the listed packages.
大概的意思是:如果 yum update 后面没有指定要更新的包名的话会更新所有已安装的包,只有指

当遇到`curl: command not found`错误时,说明系统中未安装Curl。在Ubuntu/Debian系统上,可以使用`apt-get update && apt-get install curl -y`进行安装;而在CentOS系统上,则需运行`yum update -y && yum install curl -y`。然而,`yum update -y`会更新所有已安装的包,可能导致意外的系统升级。为避免此问题,应当明确指定要更新的包。博主提醒大家对网络资料保持审慎态度,官方文档是最权威的参考。
最低0.47元/天 解锁文章
7382





