如何在 Ubuntu Linux 上安装 curl
在大多数 Ubuntu 安装中,curl 已经安装。要检查,输入
curl_check.sh
curl到你的 shell 并按回车。
如果你看到类似这样的消息
curl_help_output.txt
curl: try 'curl --help' or 'curl --manual' for more informationcurl 已经安装,你不需要做任何事情。
如果你看到此消息:
curl_not_found.txt
命令 'curl' 未找到,但可以使用以下命令安装:install_curl.sh
apt install curl或(更少见)此消息:
curl_no_such_file.txt
-bash: /usr/bin/curl: No such file or directory你可以通过复制以下命令安装 curl
install_curl.sh
sudo apt install curl到你的 shell 并按回车。
Check out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow