有时跑脚本时经常遇到,不想上网找,就写个笔记记录一下。
Linux 系统中,使用 -bash curl 命令时提示 “command not found”
CentOS系统输入
<code>yum install -y curl</code>
Ubuntu/Debian系统输入
<span style="background-color: inherit; font-family: monospace; font-size: inherit; color: inherit;">sudo apt install -y curl</span>