How To Install libcurl on Fedora 34

libcurl is A library for getting files from web servers A library for getting files from web servers A library for getting files from web servers

Introduction

In this tutorial we learn how to install libcurl on Fedora 34.

What is libcurl

libcurl is a free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3 and RTSP. libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, Kerberos4), file transfer resume, http proxy tunneling and more. libcurl 7.76.1 7.fc34 i686 311 k curl-7.76.1-7.fc34.src.rpm updates A library for getting files from web servers https MIT libcurl is a free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3 and RTSP. libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, Kerberos4), file transfer resume, http proxy tunneling and more. libcurl 7.76.1 7.fc34 x86_64 284 k curl-7.76.1-7.fc34.src.rpm updates A library for getting files from web servers https MIT libcurl is a free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3 and RTSP. libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, Kerberos4), file transfer resume, http proxy tunneling and more.

We can use yum or dnf to install libcurl on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libcurl.

Install libcurl on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libcurl using dnf by running the following command:

sudo dnf -y install libcurl

Install libcurl on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libcurl using yum by running the following command:

sudo yum -y install libcurl

How To Uninstall libcurl on Fedora 34

To uninstall only the libcurl package we can use the following command:

sudo dnf remove libcurl

libcurl Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/0bceab9f25c8bf9bd899791b00b658bf4e0f33
/usr/lib/libcurl.so.4
/usr/lib/libcurl.so.4.7.0
/usr/share/licenses/libcurl
/usr/share/licenses/libcurl/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/e0b7c79f5cf959c25647a72c96fe1cab0a7e88
/usr/lib64/libcurl.so.4
/usr/lib64/libcurl.so.4.7.0
/usr/share/licenses/libcurl
/usr/share/licenses/libcurl/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/4d7c11217d3cb64c9935fc917587e3da125004
/usr/lib/libcurl.so.4
/usr/lib/libcurl.so.4.7.0
/usr/share/licenses/libcurl
/usr/share/licenses/libcurl/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/1dcbc8ed011a2ad99728a2c2c45a63b929a422
/usr/lib64/libcurl.so.4
/usr/lib64/libcurl.so.4.7.0
/usr/share/licenses/libcurl
/usr/share/licenses/libcurl/COPYING

References

Summary

In this tutorial we learn how to install libcurl on Fedora 34 using yum and dnf.