How To Install curl on Fedora 36
Introduction
In this tutorial we learn how to install curl
on Fedora 36.
What is curl
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
or dnf
to install curl
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install curl.
Install curl on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install curl
using dnf
by running the following command:
sudo dnf -y install curl
Install curl on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install curl
using yum
by running the following command:
sudo yum -y install curl
How To Uninstall curl on Fedora 36
To uninstall only the curl
package we can use the following command:
sudo dnf remove curl
curl Package Contents on Fedora 36
/usr/bin/curl
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/5949059b2e117ff9a3e02fafc292970f99176f
/usr/share/doc/curl
/usr/share/doc/curl/BUGS.md
/usr/share/doc/curl/CHANGES
/usr/share/doc/curl/FAQ
/usr/share/doc/curl/FEATURES.md
/usr/share/doc/curl/README
/usr/share/doc/curl/TODO
/usr/share/doc/curl/TheArtOfHttpScripting.md
/usr/share/man/man1/curl.1.gz
/usr/share/zsh
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_curl
/usr/bin/curl
/usr/lib/.build-id
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/902d8e2b3bda17ea291de54282a1d490fa69ab
/usr/share/doc/curl
/usr/share/doc/curl/BUGS.md
/usr/share/doc/curl/CHANGES
/usr/share/doc/curl/FAQ
/usr/share/doc/curl/FEATURES.md
/usr/share/doc/curl/README
/usr/share/doc/curl/TODO
/usr/share/doc/curl/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
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).