Update Curl on Ubuntu 14.04.3
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
-1
down vote
favorite
I am updating curl from 7.35.0 to 7.60.0 on an ubuntu 14.04.3 server. Followed the steps here https://gist.github.com/fideloper/f72997d2e2c9fbe66459
sudo apt-get build-dep curl
mkdir ~/curl
cd ~/curl
wget http://curl.haxx.se/download/curl-7.60.0.tar.bz2
tar -xvjf curl-7.60.0.tar.bz2
cd curl-7.60.0
./configure
make
sudo make install
sudo ldconfig
Looks like curl was updated. But curl -V
still shows
curl: /usr/local/lib/libcurl.so.4: no version information available (required by curl)
curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.60.0
which curl
shows
/usr/local/bin/curl
whereis curl
shows
curl: /usr/bin/curl /usr/local/bin/curl /usr/share/man/man1/curl.1.gz
/usr/bin/curl is the older version and /usr/local/bin/curl should be the new version. How do I get the new version of curl used? Can I safely remove /usr/bin/curl?
Thanks in advance!
curl
add a comment |Â
up vote
-1
down vote
favorite
I am updating curl from 7.35.0 to 7.60.0 on an ubuntu 14.04.3 server. Followed the steps here https://gist.github.com/fideloper/f72997d2e2c9fbe66459
sudo apt-get build-dep curl
mkdir ~/curl
cd ~/curl
wget http://curl.haxx.se/download/curl-7.60.0.tar.bz2
tar -xvjf curl-7.60.0.tar.bz2
cd curl-7.60.0
./configure
make
sudo make install
sudo ldconfig
Looks like curl was updated. But curl -V
still shows
curl: /usr/local/lib/libcurl.so.4: no version information available (required by curl)
curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.60.0
which curl
shows
/usr/local/bin/curl
whereis curl
shows
curl: /usr/bin/curl /usr/local/bin/curl /usr/share/man/man1/curl.1.gz
/usr/bin/curl is the older version and /usr/local/bin/curl should be the new version. How do I get the new version of curl used? Can I safely remove /usr/bin/curl?
Thanks in advance!
curl
What happens when you run/usr/local/bin/curl -V
directly? With the full file path to it instead of just 'curl'
â Thomas Wardâ¦
May 24 at 19:51
@ThomasWard that does output the correct updated curl version.
â User007
May 24 at 19:53
Have you closed your terminal and reopened it yet, then run justcurl
? Just to rule out some odd PATH problem.
â Thomas Wardâ¦
May 24 at 20:24
@ThomasWard got the updated curl version by reopening the terminal. I had restarted Apache and thought that would have been enough. Thanks!
â User007
May 24 at 20:32
Glad that fixed the problem. I converted that to an answer for you so you can mark the question as answered/solved by accepting the answer.
â Thomas Wardâ¦
May 24 at 20:34
add a comment |Â
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I am updating curl from 7.35.0 to 7.60.0 on an ubuntu 14.04.3 server. Followed the steps here https://gist.github.com/fideloper/f72997d2e2c9fbe66459
sudo apt-get build-dep curl
mkdir ~/curl
cd ~/curl
wget http://curl.haxx.se/download/curl-7.60.0.tar.bz2
tar -xvjf curl-7.60.0.tar.bz2
cd curl-7.60.0
./configure
make
sudo make install
sudo ldconfig
Looks like curl was updated. But curl -V
still shows
curl: /usr/local/lib/libcurl.so.4: no version information available (required by curl)
curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.60.0
which curl
shows
/usr/local/bin/curl
whereis curl
shows
curl: /usr/bin/curl /usr/local/bin/curl /usr/share/man/man1/curl.1.gz
/usr/bin/curl is the older version and /usr/local/bin/curl should be the new version. How do I get the new version of curl used? Can I safely remove /usr/bin/curl?
Thanks in advance!
curl
I am updating curl from 7.35.0 to 7.60.0 on an ubuntu 14.04.3 server. Followed the steps here https://gist.github.com/fideloper/f72997d2e2c9fbe66459
sudo apt-get build-dep curl
mkdir ~/curl
cd ~/curl
wget http://curl.haxx.se/download/curl-7.60.0.tar.bz2
tar -xvjf curl-7.60.0.tar.bz2
cd curl-7.60.0
./configure
make
sudo make install
sudo ldconfig
Looks like curl was updated. But curl -V
still shows
curl: /usr/local/lib/libcurl.so.4: no version information available (required by curl)
curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.60.0
which curl
shows
/usr/local/bin/curl
whereis curl
shows
curl: /usr/bin/curl /usr/local/bin/curl /usr/share/man/man1/curl.1.gz
/usr/bin/curl is the older version and /usr/local/bin/curl should be the new version. How do I get the new version of curl used? Can I safely remove /usr/bin/curl?
Thanks in advance!
curl
asked May 24 at 19:50
User007
32
32
What happens when you run/usr/local/bin/curl -V
directly? With the full file path to it instead of just 'curl'
â Thomas Wardâ¦
May 24 at 19:51
@ThomasWard that does output the correct updated curl version.
â User007
May 24 at 19:53
Have you closed your terminal and reopened it yet, then run justcurl
? Just to rule out some odd PATH problem.
â Thomas Wardâ¦
May 24 at 20:24
@ThomasWard got the updated curl version by reopening the terminal. I had restarted Apache and thought that would have been enough. Thanks!
â User007
May 24 at 20:32
Glad that fixed the problem. I converted that to an answer for you so you can mark the question as answered/solved by accepting the answer.
â Thomas Wardâ¦
May 24 at 20:34
add a comment |Â
What happens when you run/usr/local/bin/curl -V
directly? With the full file path to it instead of just 'curl'
â Thomas Wardâ¦
May 24 at 19:51
@ThomasWard that does output the correct updated curl version.
â User007
May 24 at 19:53
Have you closed your terminal and reopened it yet, then run justcurl
? Just to rule out some odd PATH problem.
â Thomas Wardâ¦
May 24 at 20:24
@ThomasWard got the updated curl version by reopening the terminal. I had restarted Apache and thought that would have been enough. Thanks!
â User007
May 24 at 20:32
Glad that fixed the problem. I converted that to an answer for you so you can mark the question as answered/solved by accepting the answer.
â Thomas Wardâ¦
May 24 at 20:34
What happens when you run
/usr/local/bin/curl -V
directly? With the full file path to it instead of just 'curl'â Thomas Wardâ¦
May 24 at 19:51
What happens when you run
/usr/local/bin/curl -V
directly? With the full file path to it instead of just 'curl'â Thomas Wardâ¦
May 24 at 19:51
@ThomasWard that does output the correct updated curl version.
â User007
May 24 at 19:53
@ThomasWard that does output the correct updated curl version.
â User007
May 24 at 19:53
Have you closed your terminal and reopened it yet, then run just
curl
? Just to rule out some odd PATH problem.â Thomas Wardâ¦
May 24 at 20:24
Have you closed your terminal and reopened it yet, then run just
curl
? Just to rule out some odd PATH problem.â Thomas Wardâ¦
May 24 at 20:24
@ThomasWard got the updated curl version by reopening the terminal. I had restarted Apache and thought that would have been enough. Thanks!
â User007
May 24 at 20:32
@ThomasWard got the updated curl version by reopening the terminal. I had restarted Apache and thought that would have been enough. Thanks!
â User007
May 24 at 20:32
Glad that fixed the problem. I converted that to an answer for you so you can mark the question as answered/solved by accepting the answer.
â Thomas Wardâ¦
May 24 at 20:34
Glad that fixed the problem. I converted that to an answer for you so you can mark the question as answered/solved by accepting the answer.
â Thomas Wardâ¦
May 24 at 20:34
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
When you install a new software that would have a version which supersedes the version in /usr/bin/
or anywhere else in the $PATH
, you need to usually restart your terminal session.
Close out your terminal session or your SSH connection. Once you start it back up, you should then be able to use the 'newer' version (/usr/local/bin/...
will supersede /usr/bin/...
when the same application is in both locations but with different versions, typically.)
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
When you install a new software that would have a version which supersedes the version in /usr/bin/
or anywhere else in the $PATH
, you need to usually restart your terminal session.
Close out your terminal session or your SSH connection. Once you start it back up, you should then be able to use the 'newer' version (/usr/local/bin/...
will supersede /usr/bin/...
when the same application is in both locations but with different versions, typically.)
add a comment |Â
up vote
0
down vote
accepted
When you install a new software that would have a version which supersedes the version in /usr/bin/
or anywhere else in the $PATH
, you need to usually restart your terminal session.
Close out your terminal session or your SSH connection. Once you start it back up, you should then be able to use the 'newer' version (/usr/local/bin/...
will supersede /usr/bin/...
when the same application is in both locations but with different versions, typically.)
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
When you install a new software that would have a version which supersedes the version in /usr/bin/
or anywhere else in the $PATH
, you need to usually restart your terminal session.
Close out your terminal session or your SSH connection. Once you start it back up, you should then be able to use the 'newer' version (/usr/local/bin/...
will supersede /usr/bin/...
when the same application is in both locations but with different versions, typically.)
When you install a new software that would have a version which supersedes the version in /usr/bin/
or anywhere else in the $PATH
, you need to usually restart your terminal session.
Close out your terminal session or your SSH connection. Once you start it back up, you should then be able to use the 'newer' version (/usr/local/bin/...
will supersede /usr/bin/...
when the same application is in both locations but with different versions, typically.)
answered May 24 at 20:34
![](https://i.stack.imgur.com/jLgkr.jpg?s=32&g=1)
![](https://i.stack.imgur.com/jLgkr.jpg?s=32&g=1)
Thomas Wardâ¦
41k23112166
41k23112166
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1039955%2fupdate-curl-on-ubuntu-14-04-3%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What happens when you run
/usr/local/bin/curl -V
directly? With the full file path to it instead of just 'curl'â Thomas Wardâ¦
May 24 at 19:51
@ThomasWard that does output the correct updated curl version.
â User007
May 24 at 19:53
Have you closed your terminal and reopened it yet, then run just
curl
? Just to rule out some odd PATH problem.â Thomas Wardâ¦
May 24 at 20:24
@ThomasWard got the updated curl version by reopening the terminal. I had restarted Apache and thought that would have been enough. Thanks!
â User007
May 24 at 20:32
Glad that fixed the problem. I converted that to an answer for you so you can mark the question as answered/solved by accepting the answer.
â Thomas Wardâ¦
May 24 at 20:34