rodrigosantosbr

[Ubuntu >= 12.04] Install CURL 7.63 (.tar.gz)

Dec 28th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!

Download new version

Open a browser and download:

wget --no-check-certificate http://curl.haxx.se/download/curl-7.63.0.tar.gz

Remove old version

sudo apt-get update
sudo apt-get remove -y curl

install new version

tar -zxvf curl-7.63.0.tar.gz
cd curl-7.63.0
./configure --prefix=/usr --disable-static --enable-threaded-resolver --with-ca-path=/etc/ssl/certs
make && sudo make install
which curl
curl -V

Disable apt-get installation

sudo nano /etc/apt/preferences.d/official-package-repositories.pref

Add

Package: curl
Pin: release o=Ubuntu
Pin-Priority: -1
Add Comment
Please, Sign In to add comment