Introduction
At this time, curl-7.29.0 is the latest version available on CentOS repositories. If you need a later version, this will need to be built from source.
The latest version of CURL is curl 8.14.1 and below is the link to the source code for curl 8.14.1.
https://curl.se/download/curl-8.14.1.tar.xz
Procedure
Here are the steps for building CURL 8.14.1 from source code:
- Download the tar file for the source code:
wget https://curl.se/download/curl-8.14.1.tar.xz
- Extract the tar file:
tar xvf curl-8.14.1.tar.xz
- Move into the source directory:
cd curl-8.14.1/
-
Run the config script:
./configure --with-openssl --without-libpsl
Note: You can run ./configure --help to see all the compile option for CURL before running the above command. You can modify your CURL installation by adding these compile options to the above command.
- Run make:
make
- Install the binary:
make install
Once done, you should be able to access the new binary here:
[root@vz ~]# /usr/local/bin/curl --version curl 8.14.1 (x86_64-pc-linux-gnu) libcurl/8.14.1 OpenSSL/1.0.2k-fips zlib/1.2.7 Release-Date: 2025-06-04 Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp ws wss Features: alt-svc AsynchDNS HSTS HTTPS-proxy IPv6 Largefile libz NTLM SSL threadsafe UnixSockets
Comments
0 comments
Article is closed for comments.