How to Manually Update Curl on Ubuntu Server

What is curl

Learn more here: https://curl.haxx.se/
Learn more about Ubuntu version here: https://wiki.ubuntu.com/Releases

How to Install Latest Curl Version

Step 1 :

apt remove curl
apt purge curl

Step 2:

apt-get update
apt-get install -y libssl-dev autoconf libtool make

Step 3:

cd /usr/local/src
rm -rf curl*
wget https://curl.haxx.se/download/curl-7.70.0.zip
unzip curl-7.70.0.zip
cd curl-7.70.0     # enter the directory where curl was unpacked #
./buildconf
./configure --with-ssl
make
make install

Step 4:

mv /usr/bin/curl /usr/bin/curl.bak
cp /usr/local/bin/curl /usr/bin/curl
curl -V--if you get a curl: symbol lookup error: curl: undefined symbol:--sudo ldconfig

Cheers!!!

Get an email whenever Yann Mulonda publishes.

By signing up, you will create a Medium account if you don’t already have one. Review our Privacy Policy for more information about our privacy practices.

Medium sent you an email at to complete your subscription.

Chief Information Officer @ITOT Africa | Lead Senior Site Reliability Engineer @ICF󠁧󠁢󠁳󠁣󠁴 | "Learning is experience; everything else is just information!”

Share your ideas with millions of readers.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The Empire Strikes Backspace

Important notice of space race

Announcing managed federation

How to use Historical Data with Temporal Tables in EF Core 6

Test IPv6 Compatibility of iOS Application

DOGIRA Anti Dev/Team Wallet Dump Features

Magically create association in ‘has_many :through’ relationship in Rails

What's the difference between git pull and git fetch?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Yann Mulonda

Yann Mulonda

Chief Information Officer @ITOT Africa | Lead Senior Site Reliability Engineer @ICF󠁧󠁢󠁳󠁣󠁴 | "Learning is experience; everything else is just information!”

More from Medium

How to Install jq(JSON processor) on RHEL/CentOS

Remove all IIFEs

DNS and /etc/hosts on a story line.

Change Git Commits DateTime (All Supported formats)