How To Install libcurl.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libcurl.x86_64 in Amazon Linux 2. libcurl.x86_64 is A library for getting files from web servers

Introduction

In this tutorial we learn how to install libcurl.x86_64 on Amazon Linux 2.

What is libcurl.x86_64

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 to install libcurl.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libcurl.x86_64.

Install libcurl.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libcurl.x86_64

How To Uninstall libcurl.x86_64 on Amazon Linux 2

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

sudo yum remove libcurl.x86_64

libcurl.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libcurl.so.4
/usr/lib64/libcurl.so.4.7.0
/usr/share/licenses/libcurl-7.79.1
/usr/share/licenses/libcurl-7.79.1/COPYING

References

Summary

In this tutorial we learn how to install libcurl.x86_64 on Amazon Linux 2 using yum.