Update Curl on Ubuntu 14.04.3

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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!







share|improve this question




















  • 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














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!







share|improve this question




















  • 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












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!







share|improve this question












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!









share|improve this question











share|improve this question




share|improve this question










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 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
















  • 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















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










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.)






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    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






























    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.)






    share|improve this answer
























      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.)






      share|improve this answer






















        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.)






        share|improve this answer












        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.)







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 24 at 20:34









        Thomas Ward♦

        41k23112166




        41k23112166






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            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













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491