How To Install curl.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install curl.x86_64
on Amazon Linux 2.
What is curl.x86_64
curl is a command line tool for transferring data with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3 and RTSP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, kerberos…), file transfer resume, proxy tunneling and a busload of other useful tricks.
We can use yum
to install curl.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install curl.x86_64.
Install curl.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 curl.x86_64
using yum
by running the following command:
sudo yum -y install curl.x86_64
How To Uninstall curl.x86_64 on Amazon Linux 2
To uninstall only the curl.x86_64
package we can use the following command:
sudo yum remove curl.x86_64
curl.x86_64 Package Contents on Amazon Linux 2
/usr/bin/curl
/usr/share/doc/curl-7.79.1
/usr/share/doc/curl-7.79.1/BUGS.md
/usr/share/doc/curl-7.79.1/CHANGES
/usr/share/doc/curl-7.79.1/FAQ
/usr/share/doc/curl-7.79.1/FEATURES.md
/usr/share/doc/curl-7.79.1/README
/usr/share/doc/curl-7.79.1/TODO
/usr/share/doc/curl-7.79.1/TheArtOfHttpScripting.md
/usr/share/man/man1/curl.1.gz
/usr/share/zsh
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_curl
References
Summary
In this tutorial we learn how to install curl.x86_64
on Amazon Linux 2 using yum.