背景:我是在Ubuntu运行curl的时候发现用不了.
1.curl定义
curl command is a tool to download or transfer files/data from or to a server using FTP, HTTP, HTTPS, SCP, SFTP, SMB and other supported protocols on Linux or Unix-like system.
2.安装curl
The procedure to install cURL on Ubuntu Linux is as follows:
- Update your Ubuntu box, run: sudo apt update && sudo apt upgrade
- Next, install cURL, execute: sudo apt install curl
- Verify install of curl on Ubuntu by running: curl --version