How To Install cURL on Ubuntu 18.04 LTS (Linux)




In this post we will see How To Install curl on Ubuntu 18.04 using command line terminal.

If you want to install curl from repositories, The curl package is in the Ubuntu repositories.
So just use the following command>

$ sudo apt-get install curl

But the repositories are not updated frequently. So it may be possible the you end up installing older version.

Run the following set of commands to install curl 7.50.3 on Ubuntu 18.04 in Terminal.
The same procedure can be followed for Ubuntu 16.04, Ubuntu 14.04 and other Ubuntu Derivatives:

$ wget http://curl.haxx.se/download/curl-7.50.3.tar.gz
$ tar -xvf curl-7.50.3.tar.gz
$ cd curl-7.50.3/
$ ./configure
$ make
$ sudo make install

Once installed, we can verify curl using the command given below:

$ curl --version

Partner Sites

VideoToGifs.com

EasyOnlineConverter.com

SqliteTutorials.com





Be the first to comment

Leave a Reply

Your email address will not be published.


*