+3 votes
265 views
How to install cURL on Linux

in Linux / Unix by (551k points)
reopened | 265 views

1 Answer

+4 votes
Best answer

1. How to install cURL on Fedora Linux
2. How to install cURL on Debian Linux
3. How to install cURL on CentOS Linux
4. How to install cURL on Ubuntu Linux

The work in Linux requires a series of special parameters for its correct use and administration and if you are in a server environment you must understand that there are hundreds of commands that have been developed to facilitate the life of the user. One of the issues that is most linked to daily work in Linux is the download of files and objects from the network. For this task we have cURL..

What is cURL?
cURL is a command line tool which has been specially designed for transferring data with URLs, so cURL works on command lines or scripts for the task of transferring data. But this goes much further, since cURL has been implemented in many of the devices we use today as it allows the transfer of the Internet (updates, apps, etc.) so that as users we can take full advantage of it.

Curl supports protocols such as DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, Telnet, TFTP and more.
As if this were not enough, curl supports SSL, HTTP POST, HTTP PUT, FTP, HTTP, proxies, HTTP / 2, cookies, user authentication, both basic, flat, or digest, CRAM-MD5, NTLM, Kerberos) and many more.

The best of all this is that curl is a free and open source software available to all of us and is constantly being updated..

cURL in graphic environments
If you use cURL in graphic environments you can:
  • Accept cookies, forms and SSL.
  • Execute multiple load using only one command.
  • Access a progress bar, speed limit or view download time details.
  • cURL is compatible with configuration files.
  • cURL is compatible with IPV6.

TechnoWikis will explain how to install cURL in different Linux distributions and with this to be able to take advantage of all its functions.


1. How to install cURL on Fedora Linux

Step 1

Fedora is one of the popular distributions of Linux and to install this useful tool we must execute the following:
 yum install curl 
image
Step 2

After this check we will notice that cURL is installed by default in Fedora: image
Step 3

To check the version of cURL installed in Fedora we will execute the following:
 rpm -qa | grep curl 
image
Step 4

After this we can use cURL for one of its multiple options: image

2. How to install cURL on Debian Linux


Debian is another of the popular distributions of Linux and to install cURL there we will execute the following, although in most of the current editions it is already installed by default:
 sudo apt-get install curl 
As it is already installed by default, we can check it by running the following:
 dpkg -l | grep curl 

image

From here we can use cURL in a normal way..


3. How to install cURL on CentOS Linux

Step 1

CentOS is one of the most popular distributions of Linux at the enterprise level for its various functionalities and to install cURL there we will execute the following:
 yum install curl 
From CentOS 7, cURL is integrated into the system so when executing this command we would see the following: image
Step 2

If we try to remove cURL, we execute yum remove cURL in order to install cURL again, the system would reject this task since cURL is a DNF protected package.

To validate cURL we execute the following:

 rpm -qa | grep curl 
image
Step 3

Now we can use cURL without problem there: image

4. How to install cURL on Ubuntu Linux

Step 1

Ubuntu has taken great reception in millions of users for all its design and integrated features and cURL arrives there to increase these possibilities, so if you want to install cURL you must run the following command:
 sudo apt install curl 
Like the previous ones, in current editions, cURL is installed by default, but if for some reason it is not so, you can execute the previous command.

image

Step 2

We check the version of cURL by running:
 dpkg -l | grep curl 

image

Step 3

As we can see, cURL has been installed and we will be able to use it:

image

Now we are able to get 100% profit.

You have learned from the hand of TechnoWikis to install the cURL utility on Linux and thus be able to perform various actions in the system for transferring files from the network.


by (3.5m points)
edited

Related questions

+5 votes
1 answer
asked Oct 4, 2019 in Linux / Unix by backtothefuture (551k points) | 233 views
+5 votes
1 answer
asked Sep 15, 2020 in Linux / Unix by backtothefuture (551k points) | 427 views
+5 votes
1 answer
asked Sep 8, 2020 in Linux / Unix by backtothefuture (551k points) | 846 views
+5 votes
1 answer
asked Jun 19, 2020 in Linux / Unix by backtothefuture (551k points) | 2k views
+3 votes
1 answer
asked Jun 16, 2020 in Linux / Unix by backtothefuture (551k points) | 6.7k views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,634 questions
10,766 answers
510 comments
3 users