Skip to content

Instantly share code, notes, and snippets.

@manashcse11
Last active September 20, 2017 06:20
Show Gist options
  • Save manashcse11/b3989ae8e77dd118bb730266871cd307 to your computer and use it in GitHub Desktop.
Save manashcse11/b3989ae8e77dd118bb730266871cd307 to your computer and use it in GitHub Desktop.
#curl version update #curl-update-ubuntu 12.04
mkdir ~/curl
cd ~/curl
Try below command to download latest version of curl
wget http://curl.haxx.se/download/curl-7.50.2.tar.bz2
If the command doesn't work then try to download the file using browser in local machine. Then scp it to server in the ~/curl directory
tar -xvjf curl-7.50.2.tar.bz2
cd curl-7.50.2
apt-get install libtool
apt-get install autoconf
./buildconf
./configure
make
make install
# Check curl version by /usr/local/bin/curl --version
cp /usr/local/bin/curl /usr/bin/curl
# Check global curl version by curl --version
ldconfig
service apache2 restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment