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