How to update wget to 1.16 on WSL?












1















I am currently trying to use Bazel on my WSL installation, but I am getting the error:




wget: unrecognized option '--show-progress'
Usage: wget [OPTION]... [URL]...



Try `wget --help' for more options.




I have searched around, and found that the --show-progress option was only added in wget=1.16, and I only have wget=1.15. I am not sure how I can update to 1.16 though.



sudo apt install wget=1.16 fails saying that




E: Version '1.16' for 'wget' was not found




and apt-cache policy wget doesn't mention anything about anything past 1.15:



wget:
Installed: 1.15-1ubuntu1.14.04.3
Candidate: 1.15-1ubuntu1.14.04.3
Version table:
*** 1.15-1ubuntu1.14.04.3 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
100 /var/lib/dpkg/status
1.15-1ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages


Does Ubuntu have support for wget 1.16? How can I install it? Thanks!










share|improve this question


















  • 1





    WSL Ubuntu is currently 16.04.And 16.04 has 1.17.1. Just upgrade to 16.04.

    – muru
    Nov 2 '17 at 5:58











  • @muru Thanks for responding! I just noticed that, and am trying that now.

    – ifconfig
    Nov 2 '17 at 5:59
















1















I am currently trying to use Bazel on my WSL installation, but I am getting the error:




wget: unrecognized option '--show-progress'
Usage: wget [OPTION]... [URL]...



Try `wget --help' for more options.




I have searched around, and found that the --show-progress option was only added in wget=1.16, and I only have wget=1.15. I am not sure how I can update to 1.16 though.



sudo apt install wget=1.16 fails saying that




E: Version '1.16' for 'wget' was not found




and apt-cache policy wget doesn't mention anything about anything past 1.15:



wget:
Installed: 1.15-1ubuntu1.14.04.3
Candidate: 1.15-1ubuntu1.14.04.3
Version table:
*** 1.15-1ubuntu1.14.04.3 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
100 /var/lib/dpkg/status
1.15-1ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages


Does Ubuntu have support for wget 1.16? How can I install it? Thanks!










share|improve this question


















  • 1





    WSL Ubuntu is currently 16.04.And 16.04 has 1.17.1. Just upgrade to 16.04.

    – muru
    Nov 2 '17 at 5:58











  • @muru Thanks for responding! I just noticed that, and am trying that now.

    – ifconfig
    Nov 2 '17 at 5:59














1












1








1








I am currently trying to use Bazel on my WSL installation, but I am getting the error:




wget: unrecognized option '--show-progress'
Usage: wget [OPTION]... [URL]...



Try `wget --help' for more options.




I have searched around, and found that the --show-progress option was only added in wget=1.16, and I only have wget=1.15. I am not sure how I can update to 1.16 though.



sudo apt install wget=1.16 fails saying that




E: Version '1.16' for 'wget' was not found




and apt-cache policy wget doesn't mention anything about anything past 1.15:



wget:
Installed: 1.15-1ubuntu1.14.04.3
Candidate: 1.15-1ubuntu1.14.04.3
Version table:
*** 1.15-1ubuntu1.14.04.3 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
100 /var/lib/dpkg/status
1.15-1ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages


Does Ubuntu have support for wget 1.16? How can I install it? Thanks!










share|improve this question














I am currently trying to use Bazel on my WSL installation, but I am getting the error:




wget: unrecognized option '--show-progress'
Usage: wget [OPTION]... [URL]...



Try `wget --help' for more options.




I have searched around, and found that the --show-progress option was only added in wget=1.16, and I only have wget=1.15. I am not sure how I can update to 1.16 though.



sudo apt install wget=1.16 fails saying that




E: Version '1.16' for 'wget' was not found




and apt-cache policy wget doesn't mention anything about anything past 1.15:



wget:
Installed: 1.15-1ubuntu1.14.04.3
Candidate: 1.15-1ubuntu1.14.04.3
Version table:
*** 1.15-1ubuntu1.14.04.3 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
100 /var/lib/dpkg/status
1.15-1ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages


Does Ubuntu have support for wget 1.16? How can I install it? Thanks!







apt wget windows-subsystem-for-linux






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 2 '17 at 5:38









ifconfigifconfig

1065




1065








  • 1





    WSL Ubuntu is currently 16.04.And 16.04 has 1.17.1. Just upgrade to 16.04.

    – muru
    Nov 2 '17 at 5:58











  • @muru Thanks for responding! I just noticed that, and am trying that now.

    – ifconfig
    Nov 2 '17 at 5:59














  • 1





    WSL Ubuntu is currently 16.04.And 16.04 has 1.17.1. Just upgrade to 16.04.

    – muru
    Nov 2 '17 at 5:58











  • @muru Thanks for responding! I just noticed that, and am trying that now.

    – ifconfig
    Nov 2 '17 at 5:59








1




1





WSL Ubuntu is currently 16.04.And 16.04 has 1.17.1. Just upgrade to 16.04.

– muru
Nov 2 '17 at 5:58





WSL Ubuntu is currently 16.04.And 16.04 has 1.17.1. Just upgrade to 16.04.

– muru
Nov 2 '17 at 5:58













@muru Thanks for responding! I just noticed that, and am trying that now.

– ifconfig
Nov 2 '17 at 5:59





@muru Thanks for responding! I just noticed that, and am trying that now.

– ifconfig
Nov 2 '17 at 5:59










1 Answer
1






active

oldest

votes


















0














You can get the last version here : https://ftp.gnu.org/gnu/wget/wget-latest.tar.gz



wget https://ftp.gnu.org/gnu/wget/wget-latest.tar.gz
tar xf wget-latest.tar.gz
rm wget-latest.tar.gz
cd wget-*
./configure
#optional: make check
make
#optional: make installcheck
make install





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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    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%2f971945%2fhow-to-update-wget-to-1-16-on-wsl%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You can get the last version here : https://ftp.gnu.org/gnu/wget/wget-latest.tar.gz



    wget https://ftp.gnu.org/gnu/wget/wget-latest.tar.gz
    tar xf wget-latest.tar.gz
    rm wget-latest.tar.gz
    cd wget-*
    ./configure
    #optional: make check
    make
    #optional: make installcheck
    make install





    share|improve this answer






























      0














      You can get the last version here : https://ftp.gnu.org/gnu/wget/wget-latest.tar.gz



      wget https://ftp.gnu.org/gnu/wget/wget-latest.tar.gz
      tar xf wget-latest.tar.gz
      rm wget-latest.tar.gz
      cd wget-*
      ./configure
      #optional: make check
      make
      #optional: make installcheck
      make install





      share|improve this answer




























        0












        0








        0







        You can get the last version here : https://ftp.gnu.org/gnu/wget/wget-latest.tar.gz



        wget https://ftp.gnu.org/gnu/wget/wget-latest.tar.gz
        tar xf wget-latest.tar.gz
        rm wget-latest.tar.gz
        cd wget-*
        ./configure
        #optional: make check
        make
        #optional: make installcheck
        make install





        share|improve this answer















        You can get the last version here : https://ftp.gnu.org/gnu/wget/wget-latest.tar.gz



        wget https://ftp.gnu.org/gnu/wget/wget-latest.tar.gz
        tar xf wget-latest.tar.gz
        rm wget-latest.tar.gz
        cd wget-*
        ./configure
        #optional: make check
        make
        #optional: make installcheck
        make install






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Feb 1 at 21:01

























        answered Feb 1 at 20:51









        A-312A-312

        1013




        1013






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f971945%2fhow-to-update-wget-to-1-16-on-wsl%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido