Linux download tool curl

Source: Internet
Author: User

Linux download tool curl is also a good command line download tool in Linux, which is small and fast. The only drawback is that multi-thread download is not supported. Download the latest version at http://curl.haxx.se/download/curl-7.14.0.tar.gz.


After the download, you can use the following command to compile and install:

  1. # Tar zxvf curl-7.14.0.tar.gz
  2. # Cd curl: 7.14.0/
  3. #./Configure
  4. # Make
  5. # Make Test
  6. # Make install


The curl format is as follows: # curl [Option] []
Typical curl downloads are as follows: # curl-O http: // 10.1.27.10 /~ Kennycx/tools/lumaqq_2004-linux_gtk2_x86_with_jre.tar.gz uses curl to download a file and save it to the current directory.


In addition, although curl does not support multi-threaded download, it can download multiple files at the same time or a part of the downloaded files. You can use the following command to achieve this:
# Curl-R 0-199 http://www.netscape.com/get the first 200 bytes of the file.


You can easily download curl from common proxies. The specific operations are as follows:
# Curl-x 10.1.27.10: 1022 ftp://ftp.funet.fi/README
Use the proxy server with the proxy address 10.1.27.10 and port 1022 to download an object.
# Curl-u User: passwd-x 10.1.27.10: 1022 ftp://ftp.funet.fi/README
If the proxy server requires special authentication, enter a valid account and password at User: passwd.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.