Rate This Document
Findability
Accuracy
Completeness
Readability

Installing curl

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Decompress the curl installation package.
    tar -zxvf curl-7.70.0.tar.gz
  3. Go to the directory generated after the decompression.
    cd curl-7.70.0
  4. Perform the configuration.
    ./configure --prefix=/path/to/CURL --with-zlib=/path/to/ZLIB
  5. Perform the compilation and installation.
    make -j 64
    make install
  6. Load the environment variables.
    export PATH=/path/to/CURL/bin:$PATH
    export LD_LIBRARY_PATH=/path/to/CURL/lib:$LD_LIBRARY_PATH