1.wget http://curl.haxx.se/download/curl-7.49.0.tar.gz
2.tar -xvf curl-7.49.0.tar.gz
3.cd curl-7.49.0/
- ./configure
5.make
6.sudo make install
7.接下来就可以使用了,例如使用安装docker-compose:
sudo curl -L https://github.com/docker/compose/releases/download/1.17.0/docker-compose-uname -s
-uname -m
-o /usr/local/bin/docker-compose