How To Install curl on Fedora 34
Introduction
In this tutorial we learn how to install curl
on Fedora 34.
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. curl 7.76.1 7.fc34 x86_64 297 k curl-7.76.1-7.fc34.src.rpm updates A utility for getting files from remote servers (FTP, HTTP, and others) https MIT 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install curl.
Install curl 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 curl
using dnf
by running the following command:
sudo dnf -y install curl
Install curl 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 curl
using yum
by running the following command:
sudo yum -y install curl
How To Uninstall curl on Fedora 34
To uninstall only the curl
package we can use the following command:
sudo dnf remove curl
curl Package Contents on Fedora 34
/usr/bin/curl
/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/c929d59e413f38ff7da563ba29c1963d352745
/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/f2
/usr/lib/.build-id/f2/870302c41ad6aa443e739c756b5dfd1da5cb3a
/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
- [curl website](https://curl.se/ https://curl.se/)
Summary
In this tutorial we learn how to install curl
on Fedora 34 using yum and dnf.