How to know which version of Certbot is installed?












4















I use a Ubuntu 16.04 with Nginx and Certbot.



I tried to execute, for example:



certbot -v
certbot -V
certbot --version
man certbot


none gave any relevant output. How could I know the version currently installed in my Ubuntu?










share|improve this question

























  • What Ubuntu are you on? Are you using the Certbot PPA or no?

    – Thomas Ward
    Apr 10 '18 at 16:11











  • Updated the question. Yes I downloaded a PPA (I think "downloaded" is correct), and only then I could install Certbot.

    – user9303970
    Apr 10 '18 at 16:13
















4















I use a Ubuntu 16.04 with Nginx and Certbot.



I tried to execute, for example:



certbot -v
certbot -V
certbot --version
man certbot


none gave any relevant output. How could I know the version currently installed in my Ubuntu?










share|improve this question

























  • What Ubuntu are you on? Are you using the Certbot PPA or no?

    – Thomas Ward
    Apr 10 '18 at 16:11











  • Updated the question. Yes I downloaded a PPA (I think "downloaded" is correct), and only then I could install Certbot.

    – user9303970
    Apr 10 '18 at 16:13














4












4








4








I use a Ubuntu 16.04 with Nginx and Certbot.



I tried to execute, for example:



certbot -v
certbot -V
certbot --version
man certbot


none gave any relevant output. How could I know the version currently installed in my Ubuntu?










share|improve this question
















I use a Ubuntu 16.04 with Nginx and Certbot.



I tried to execute, for example:



certbot -v
certbot -V
certbot --version
man certbot


none gave any relevant output. How could I know the version currently installed in my Ubuntu?







versions letsencrypt






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 10 '18 at 16:11







user9303970

















asked Apr 10 '18 at 16:02









user9303970user9303970

96214




96214













  • What Ubuntu are you on? Are you using the Certbot PPA or no?

    – Thomas Ward
    Apr 10 '18 at 16:11











  • Updated the question. Yes I downloaded a PPA (I think "downloaded" is correct), and only then I could install Certbot.

    – user9303970
    Apr 10 '18 at 16:13



















  • What Ubuntu are you on? Are you using the Certbot PPA or no?

    – Thomas Ward
    Apr 10 '18 at 16:11











  • Updated the question. Yes I downloaded a PPA (I think "downloaded" is correct), and only then I could install Certbot.

    – user9303970
    Apr 10 '18 at 16:13

















What Ubuntu are you on? Are you using the Certbot PPA or no?

– Thomas Ward
Apr 10 '18 at 16:11





What Ubuntu are you on? Are you using the Certbot PPA or no?

– Thomas Ward
Apr 10 '18 at 16:11













Updated the question. Yes I downloaded a PPA (I think "downloaded" is correct), and only then I could install Certbot.

– user9303970
Apr 10 '18 at 16:13





Updated the question. Yes I downloaded a PPA (I think "downloaded" is correct), and only then I could install Certbot.

– user9303970
Apr 10 '18 at 16:13










3 Answers
3






active

oldest

votes


















3














14.04 and 16.04 systems (and NOT using the PPA):



Ubuntu Trusty and Ubuntu Xenial both do not have certbot installed by default. To get Certbot, you had to be using the Certbot PPA maintained by the Certbot developers.



If you are not using the PPA (which you would have installed using sudo add-apt-repository ppa:certbot/certbot), you don't have Certbot.



To get Certbot, you should read through the instructions on the Certbot Website by choosing your specific release, and then follow the guide to set up Let's Encrypt.





14.04/16.04 systems using the PPA, or Ubuntu 17.10 or later:




At the time of this post, Ubuntu releases 16.10 and 17.04 are past End of Life and not included for this answer.




As of 17.10 (and potentially earlier, see my note above), Certbot is included in the repositories.



And if you are on older Ubuntu (14.04 or 16.04), and you are using the PPA, then certbot is available.



To find the version of Certbot installed, you can use apt-cache policy certbot | grep Installed to get the information, as shown below (note that the version information shown below is accurate as of April 10, 2018 at 12:18, on a brand new 'certbot' installation):



$ apt-cache policy certbot | grep -i Installed
Installed: 0.22.2-1+ubuntu16.04.1+certbot+1


As you can see, version 0.22.2 is installed on this computer here, which is a 16.04 machine using the Certbot PPA.






share|improve this answer































    0














    Go to /path/to/certbot-auto and run ./certbot-auto --version






    share|improve this answer
























    • @karel I added this because the answer below is not fully correct, i-e if we don't add ./ before certbot-auto the script is not executed.

      – akuma8
      Jan 7 at 10:36













    • @karel without sudo it will request password to rerun with root privileges.

      – Pablo Bianchi
      Jan 9 at 4:40











    • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review

      – Pablo Bianchi
      Jan 9 at 4:40



















    0














    If you did not get the certbot with apt like @Thomas Ward said, you will get it with the wget command as a stand-alone application instead.



    Try this command below:



    sudo /PATH/TO/certbot-auto --version





    share|improve this answer


























    • I recommend to edit this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

      – abu_bua
      Aug 27 '18 at 14:52











    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%2f1023709%2fhow-to-know-which-version-of-certbot-is-installed%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    14.04 and 16.04 systems (and NOT using the PPA):



    Ubuntu Trusty and Ubuntu Xenial both do not have certbot installed by default. To get Certbot, you had to be using the Certbot PPA maintained by the Certbot developers.



    If you are not using the PPA (which you would have installed using sudo add-apt-repository ppa:certbot/certbot), you don't have Certbot.



    To get Certbot, you should read through the instructions on the Certbot Website by choosing your specific release, and then follow the guide to set up Let's Encrypt.





    14.04/16.04 systems using the PPA, or Ubuntu 17.10 or later:




    At the time of this post, Ubuntu releases 16.10 and 17.04 are past End of Life and not included for this answer.




    As of 17.10 (and potentially earlier, see my note above), Certbot is included in the repositories.



    And if you are on older Ubuntu (14.04 or 16.04), and you are using the PPA, then certbot is available.



    To find the version of Certbot installed, you can use apt-cache policy certbot | grep Installed to get the information, as shown below (note that the version information shown below is accurate as of April 10, 2018 at 12:18, on a brand new 'certbot' installation):



    $ apt-cache policy certbot | grep -i Installed
    Installed: 0.22.2-1+ubuntu16.04.1+certbot+1


    As you can see, version 0.22.2 is installed on this computer here, which is a 16.04 machine using the Certbot PPA.






    share|improve this answer




























      3














      14.04 and 16.04 systems (and NOT using the PPA):



      Ubuntu Trusty and Ubuntu Xenial both do not have certbot installed by default. To get Certbot, you had to be using the Certbot PPA maintained by the Certbot developers.



      If you are not using the PPA (which you would have installed using sudo add-apt-repository ppa:certbot/certbot), you don't have Certbot.



      To get Certbot, you should read through the instructions on the Certbot Website by choosing your specific release, and then follow the guide to set up Let's Encrypt.





      14.04/16.04 systems using the PPA, or Ubuntu 17.10 or later:




      At the time of this post, Ubuntu releases 16.10 and 17.04 are past End of Life and not included for this answer.




      As of 17.10 (and potentially earlier, see my note above), Certbot is included in the repositories.



      And if you are on older Ubuntu (14.04 or 16.04), and you are using the PPA, then certbot is available.



      To find the version of Certbot installed, you can use apt-cache policy certbot | grep Installed to get the information, as shown below (note that the version information shown below is accurate as of April 10, 2018 at 12:18, on a brand new 'certbot' installation):



      $ apt-cache policy certbot | grep -i Installed
      Installed: 0.22.2-1+ubuntu16.04.1+certbot+1


      As you can see, version 0.22.2 is installed on this computer here, which is a 16.04 machine using the Certbot PPA.






      share|improve this answer


























        3












        3








        3







        14.04 and 16.04 systems (and NOT using the PPA):



        Ubuntu Trusty and Ubuntu Xenial both do not have certbot installed by default. To get Certbot, you had to be using the Certbot PPA maintained by the Certbot developers.



        If you are not using the PPA (which you would have installed using sudo add-apt-repository ppa:certbot/certbot), you don't have Certbot.



        To get Certbot, you should read through the instructions on the Certbot Website by choosing your specific release, and then follow the guide to set up Let's Encrypt.





        14.04/16.04 systems using the PPA, or Ubuntu 17.10 or later:




        At the time of this post, Ubuntu releases 16.10 and 17.04 are past End of Life and not included for this answer.




        As of 17.10 (and potentially earlier, see my note above), Certbot is included in the repositories.



        And if you are on older Ubuntu (14.04 or 16.04), and you are using the PPA, then certbot is available.



        To find the version of Certbot installed, you can use apt-cache policy certbot | grep Installed to get the information, as shown below (note that the version information shown below is accurate as of April 10, 2018 at 12:18, on a brand new 'certbot' installation):



        $ apt-cache policy certbot | grep -i Installed
        Installed: 0.22.2-1+ubuntu16.04.1+certbot+1


        As you can see, version 0.22.2 is installed on this computer here, which is a 16.04 machine using the Certbot PPA.






        share|improve this answer













        14.04 and 16.04 systems (and NOT using the PPA):



        Ubuntu Trusty and Ubuntu Xenial both do not have certbot installed by default. To get Certbot, you had to be using the Certbot PPA maintained by the Certbot developers.



        If you are not using the PPA (which you would have installed using sudo add-apt-repository ppa:certbot/certbot), you don't have Certbot.



        To get Certbot, you should read through the instructions on the Certbot Website by choosing your specific release, and then follow the guide to set up Let's Encrypt.





        14.04/16.04 systems using the PPA, or Ubuntu 17.10 or later:




        At the time of this post, Ubuntu releases 16.10 and 17.04 are past End of Life and not included for this answer.




        As of 17.10 (and potentially earlier, see my note above), Certbot is included in the repositories.



        And if you are on older Ubuntu (14.04 or 16.04), and you are using the PPA, then certbot is available.



        To find the version of Certbot installed, you can use apt-cache policy certbot | grep Installed to get the information, as shown below (note that the version information shown below is accurate as of April 10, 2018 at 12:18, on a brand new 'certbot' installation):



        $ apt-cache policy certbot | grep -i Installed
        Installed: 0.22.2-1+ubuntu16.04.1+certbot+1


        As you can see, version 0.22.2 is installed on this computer here, which is a 16.04 machine using the Certbot PPA.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 10 '18 at 16:18









        Thomas WardThomas Ward

        43.9k23121174




        43.9k23121174

























            0














            Go to /path/to/certbot-auto and run ./certbot-auto --version






            share|improve this answer
























            • @karel I added this because the answer below is not fully correct, i-e if we don't add ./ before certbot-auto the script is not executed.

              – akuma8
              Jan 7 at 10:36













            • @karel without sudo it will request password to rerun with root privileges.

              – Pablo Bianchi
              Jan 9 at 4:40











            • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review

              – Pablo Bianchi
              Jan 9 at 4:40
















            0














            Go to /path/to/certbot-auto and run ./certbot-auto --version






            share|improve this answer
























            • @karel I added this because the answer below is not fully correct, i-e if we don't add ./ before certbot-auto the script is not executed.

              – akuma8
              Jan 7 at 10:36













            • @karel without sudo it will request password to rerun with root privileges.

              – Pablo Bianchi
              Jan 9 at 4:40











            • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review

              – Pablo Bianchi
              Jan 9 at 4:40














            0












            0








            0







            Go to /path/to/certbot-auto and run ./certbot-auto --version






            share|improve this answer













            Go to /path/to/certbot-auto and run ./certbot-auto --version







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 7 at 10:03









            akuma8akuma8

            1011




            1011













            • @karel I added this because the answer below is not fully correct, i-e if we don't add ./ before certbot-auto the script is not executed.

              – akuma8
              Jan 7 at 10:36













            • @karel without sudo it will request password to rerun with root privileges.

              – Pablo Bianchi
              Jan 9 at 4:40











            • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review

              – Pablo Bianchi
              Jan 9 at 4:40



















            • @karel I added this because the answer below is not fully correct, i-e if we don't add ./ before certbot-auto the script is not executed.

              – akuma8
              Jan 7 at 10:36













            • @karel without sudo it will request password to rerun with root privileges.

              – Pablo Bianchi
              Jan 9 at 4:40











            • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review

              – Pablo Bianchi
              Jan 9 at 4:40

















            @karel I added this because the answer below is not fully correct, i-e if we don't add ./ before certbot-auto the script is not executed.

            – akuma8
            Jan 7 at 10:36







            @karel I added this because the answer below is not fully correct, i-e if we don't add ./ before certbot-auto the script is not executed.

            – akuma8
            Jan 7 at 10:36















            @karel without sudo it will request password to rerun with root privileges.

            – Pablo Bianchi
            Jan 9 at 4:40





            @karel without sudo it will request password to rerun with root privileges.

            – Pablo Bianchi
            Jan 9 at 4:40













            This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review

            – Pablo Bianchi
            Jan 9 at 4:40





            This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review

            – Pablo Bianchi
            Jan 9 at 4:40











            0














            If you did not get the certbot with apt like @Thomas Ward said, you will get it with the wget command as a stand-alone application instead.



            Try this command below:



            sudo /PATH/TO/certbot-auto --version





            share|improve this answer


























            • I recommend to edit this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

              – abu_bua
              Aug 27 '18 at 14:52
















            0














            If you did not get the certbot with apt like @Thomas Ward said, you will get it with the wget command as a stand-alone application instead.



            Try this command below:



            sudo /PATH/TO/certbot-auto --version





            share|improve this answer


























            • I recommend to edit this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

              – abu_bua
              Aug 27 '18 at 14:52














            0












            0








            0







            If you did not get the certbot with apt like @Thomas Ward said, you will get it with the wget command as a stand-alone application instead.



            Try this command below:



            sudo /PATH/TO/certbot-auto --version





            share|improve this answer















            If you did not get the certbot with apt like @Thomas Ward said, you will get it with the wget command as a stand-alone application instead.



            Try this command below:



            sudo /PATH/TO/certbot-auto --version






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jan 9 at 4:03









            Pablo Bianchi

            2,4451530




            2,4451530










            answered Aug 27 '18 at 12:08









            Kyle KIMKyle KIM

            1011




            1011













            • I recommend to edit this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

              – abu_bua
              Aug 27 '18 at 14:52



















            • I recommend to edit this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

              – abu_bua
              Aug 27 '18 at 14:52

















            I recommend to edit this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

            – abu_bua
            Aug 27 '18 at 14:52





            I recommend to edit this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

            – abu_bua
            Aug 27 '18 at 14:52


















            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%2f1023709%2fhow-to-know-which-version-of-certbot-is-installed%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

            Human spaceflight

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

            File:DeusFollowingSea.jpg