Is there a good PPA for cmake backports?












8















I am looking for a reliable PPA for cmake backports.



I need it for both Xenial and Trusty (travis-ci). Ideally I would like to have at least cmake 3.8.










share|improve this question





























    8















    I am looking for a reliable PPA for cmake backports.



    I need it for both Xenial and Trusty (travis-ci). Ideally I would like to have at least cmake 3.8.










    share|improve this question



























      8












      8








      8


      4






      I am looking for a reliable PPA for cmake backports.



      I need it for both Xenial and Trusty (travis-ci). Ideally I would like to have at least cmake 3.8.










      share|improve this question
















      I am looking for a reliable PPA for cmake backports.



      I need it for both Xenial and Trusty (travis-ci). Ideally I would like to have at least cmake 3.8.







      16.04 18.04 ppa pip cmake






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 8 at 14:31







      purpletentacle

















      asked Sep 3 '17 at 16:31









      purpletentaclepurpletentacle

      5702823




      5702823






















          2 Answers
          2






          active

          oldest

          votes


















          8














          There seems to be no reliable PPA with the most modern version of cmake in place but if you are happy with using prebuilt binaries from the cmake download page the following should help (for 64bit Ubuntu):



          cd $HOME
          wget https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh
          sudo sh cmake-3.12.0-Linux-x86_64.sh --prefix=/usr/local --exclude-subdir


          This is not integrated with the Ubuntu package management system but installs neatly to /usr/local and on my system then demonstrates the following:



          andrew@ilium:~$ cmake --version | head -n1
          cmake version 3.12.0


          Subsequent removal is simply a matter of running the following single command in a Terminal window:



          sudo rm -rfv /usr/local/bin/{cmake,cpack,ccmake,cmake-gui,ctest} 
          /usr/local/doc/cmake
          /usr/local/man1/{ccmake.1,cmake.1,cmake-gui.1,cpack.1,ctest.1}
          /usr/local/man7/cmake-*
          /usr/local/share/cmake-3.12


          This leaves your system clean and perhaps ready to install an even more modern version :).



          References:





          • cmake: Get the Software The official download page for cmake. Some extra information concerning the .sh installer files.






          share|improve this answer


























          • Thanks. I was looking for a ppa for ubuntu to use in travis-ci. I could build things myself for a local computer but I would like to avoid that in a CI server. Still, I got the answer I was looking: No reliable PPA available...

            – purpletentacle
            Sep 5 '17 at 22:50



















          8














          I know I was asking for a PPA but in general terms any reliable deployment of cmake for 14.04/16.04 is good. Kitware's blog shows an answer:



          https://blog.kitware.com/cmake-python-wheels/



          They seem to officially support a pip wheels release. So you can get latest cmake just by doing:



          pip install --upgrade cmake



          In addition, if you are using virtualenv or conda, you can have different cmake versions at the same time.



          Update: the pip package may show a low version number. At the moment, it is 0.8, however, it does install cmake 3.9






          share|improve this answer


























          • it was about to install cmake-0.8.0

            – Mina Michael
            Oct 22 '17 at 11:52











          • Sorry, I am not sure I understand you comment

            – purpletentacle
            Oct 22 '17 at 11:54











          • I did pip install --upgrade cmake but I got this: Downloading cmake-0.8.0-cp27-cp27mu-manylinux1_x86_64.whl (19.2MB) 1% |▋ | 337kB thx

            – Mina Michael
            Oct 22 '17 at 12:39








          • 1





            yes, the version 0.8.0 refers to the pip package version. The cmake version that it installs is 3.9 (check here pypi.python.org/pypi/cmake)

            – purpletentacle
            Oct 22 '17 at 13:54






          • 1





            I see. My mistake, but it is confusing! thx a lot

            – Mina Michael
            Oct 22 '17 at 15:50













          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%2f952429%2fis-there-a-good-ppa-for-cmake-backports%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          8














          There seems to be no reliable PPA with the most modern version of cmake in place but if you are happy with using prebuilt binaries from the cmake download page the following should help (for 64bit Ubuntu):



          cd $HOME
          wget https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh
          sudo sh cmake-3.12.0-Linux-x86_64.sh --prefix=/usr/local --exclude-subdir


          This is not integrated with the Ubuntu package management system but installs neatly to /usr/local and on my system then demonstrates the following:



          andrew@ilium:~$ cmake --version | head -n1
          cmake version 3.12.0


          Subsequent removal is simply a matter of running the following single command in a Terminal window:



          sudo rm -rfv /usr/local/bin/{cmake,cpack,ccmake,cmake-gui,ctest} 
          /usr/local/doc/cmake
          /usr/local/man1/{ccmake.1,cmake.1,cmake-gui.1,cpack.1,ctest.1}
          /usr/local/man7/cmake-*
          /usr/local/share/cmake-3.12


          This leaves your system clean and perhaps ready to install an even more modern version :).



          References:





          • cmake: Get the Software The official download page for cmake. Some extra information concerning the .sh installer files.






          share|improve this answer


























          • Thanks. I was looking for a ppa for ubuntu to use in travis-ci. I could build things myself for a local computer but I would like to avoid that in a CI server. Still, I got the answer I was looking: No reliable PPA available...

            – purpletentacle
            Sep 5 '17 at 22:50
















          8














          There seems to be no reliable PPA with the most modern version of cmake in place but if you are happy with using prebuilt binaries from the cmake download page the following should help (for 64bit Ubuntu):



          cd $HOME
          wget https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh
          sudo sh cmake-3.12.0-Linux-x86_64.sh --prefix=/usr/local --exclude-subdir


          This is not integrated with the Ubuntu package management system but installs neatly to /usr/local and on my system then demonstrates the following:



          andrew@ilium:~$ cmake --version | head -n1
          cmake version 3.12.0


          Subsequent removal is simply a matter of running the following single command in a Terminal window:



          sudo rm -rfv /usr/local/bin/{cmake,cpack,ccmake,cmake-gui,ctest} 
          /usr/local/doc/cmake
          /usr/local/man1/{ccmake.1,cmake.1,cmake-gui.1,cpack.1,ctest.1}
          /usr/local/man7/cmake-*
          /usr/local/share/cmake-3.12


          This leaves your system clean and perhaps ready to install an even more modern version :).



          References:





          • cmake: Get the Software The official download page for cmake. Some extra information concerning the .sh installer files.






          share|improve this answer


























          • Thanks. I was looking for a ppa for ubuntu to use in travis-ci. I could build things myself for a local computer but I would like to avoid that in a CI server. Still, I got the answer I was looking: No reliable PPA available...

            – purpletentacle
            Sep 5 '17 at 22:50














          8












          8








          8







          There seems to be no reliable PPA with the most modern version of cmake in place but if you are happy with using prebuilt binaries from the cmake download page the following should help (for 64bit Ubuntu):



          cd $HOME
          wget https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh
          sudo sh cmake-3.12.0-Linux-x86_64.sh --prefix=/usr/local --exclude-subdir


          This is not integrated with the Ubuntu package management system but installs neatly to /usr/local and on my system then demonstrates the following:



          andrew@ilium:~$ cmake --version | head -n1
          cmake version 3.12.0


          Subsequent removal is simply a matter of running the following single command in a Terminal window:



          sudo rm -rfv /usr/local/bin/{cmake,cpack,ccmake,cmake-gui,ctest} 
          /usr/local/doc/cmake
          /usr/local/man1/{ccmake.1,cmake.1,cmake-gui.1,cpack.1,ctest.1}
          /usr/local/man7/cmake-*
          /usr/local/share/cmake-3.12


          This leaves your system clean and perhaps ready to install an even more modern version :).



          References:





          • cmake: Get the Software The official download page for cmake. Some extra information concerning the .sh installer files.






          share|improve this answer















          There seems to be no reliable PPA with the most modern version of cmake in place but if you are happy with using prebuilt binaries from the cmake download page the following should help (for 64bit Ubuntu):



          cd $HOME
          wget https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh
          sudo sh cmake-3.12.0-Linux-x86_64.sh --prefix=/usr/local --exclude-subdir


          This is not integrated with the Ubuntu package management system but installs neatly to /usr/local and on my system then demonstrates the following:



          andrew@ilium:~$ cmake --version | head -n1
          cmake version 3.12.0


          Subsequent removal is simply a matter of running the following single command in a Terminal window:



          sudo rm -rfv /usr/local/bin/{cmake,cpack,ccmake,cmake-gui,ctest} 
          /usr/local/doc/cmake
          /usr/local/man1/{ccmake.1,cmake.1,cmake-gui.1,cpack.1,ctest.1}
          /usr/local/man7/cmake-*
          /usr/local/share/cmake-3.12


          This leaves your system clean and perhaps ready to install an even more modern version :).



          References:





          • cmake: Get the Software The official download page for cmake. Some extra information concerning the .sh installer files.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jul 20 '18 at 4:48

























          answered Sep 5 '17 at 9:57









          andrew.46andrew.46

          21.4k1469147




          21.4k1469147













          • Thanks. I was looking for a ppa for ubuntu to use in travis-ci. I could build things myself for a local computer but I would like to avoid that in a CI server. Still, I got the answer I was looking: No reliable PPA available...

            – purpletentacle
            Sep 5 '17 at 22:50



















          • Thanks. I was looking for a ppa for ubuntu to use in travis-ci. I could build things myself for a local computer but I would like to avoid that in a CI server. Still, I got the answer I was looking: No reliable PPA available...

            – purpletentacle
            Sep 5 '17 at 22:50

















          Thanks. I was looking for a ppa for ubuntu to use in travis-ci. I could build things myself for a local computer but I would like to avoid that in a CI server. Still, I got the answer I was looking: No reliable PPA available...

          – purpletentacle
          Sep 5 '17 at 22:50





          Thanks. I was looking for a ppa for ubuntu to use in travis-ci. I could build things myself for a local computer but I would like to avoid that in a CI server. Still, I got the answer I was looking: No reliable PPA available...

          – purpletentacle
          Sep 5 '17 at 22:50













          8














          I know I was asking for a PPA but in general terms any reliable deployment of cmake for 14.04/16.04 is good. Kitware's blog shows an answer:



          https://blog.kitware.com/cmake-python-wheels/



          They seem to officially support a pip wheels release. So you can get latest cmake just by doing:



          pip install --upgrade cmake



          In addition, if you are using virtualenv or conda, you can have different cmake versions at the same time.



          Update: the pip package may show a low version number. At the moment, it is 0.8, however, it does install cmake 3.9






          share|improve this answer


























          • it was about to install cmake-0.8.0

            – Mina Michael
            Oct 22 '17 at 11:52











          • Sorry, I am not sure I understand you comment

            – purpletentacle
            Oct 22 '17 at 11:54











          • I did pip install --upgrade cmake but I got this: Downloading cmake-0.8.0-cp27-cp27mu-manylinux1_x86_64.whl (19.2MB) 1% |▋ | 337kB thx

            – Mina Michael
            Oct 22 '17 at 12:39








          • 1





            yes, the version 0.8.0 refers to the pip package version. The cmake version that it installs is 3.9 (check here pypi.python.org/pypi/cmake)

            – purpletentacle
            Oct 22 '17 at 13:54






          • 1





            I see. My mistake, but it is confusing! thx a lot

            – Mina Michael
            Oct 22 '17 at 15:50


















          8














          I know I was asking for a PPA but in general terms any reliable deployment of cmake for 14.04/16.04 is good. Kitware's blog shows an answer:



          https://blog.kitware.com/cmake-python-wheels/



          They seem to officially support a pip wheels release. So you can get latest cmake just by doing:



          pip install --upgrade cmake



          In addition, if you are using virtualenv or conda, you can have different cmake versions at the same time.



          Update: the pip package may show a low version number. At the moment, it is 0.8, however, it does install cmake 3.9






          share|improve this answer


























          • it was about to install cmake-0.8.0

            – Mina Michael
            Oct 22 '17 at 11:52











          • Sorry, I am not sure I understand you comment

            – purpletentacle
            Oct 22 '17 at 11:54











          • I did pip install --upgrade cmake but I got this: Downloading cmake-0.8.0-cp27-cp27mu-manylinux1_x86_64.whl (19.2MB) 1% |▋ | 337kB thx

            – Mina Michael
            Oct 22 '17 at 12:39








          • 1





            yes, the version 0.8.0 refers to the pip package version. The cmake version that it installs is 3.9 (check here pypi.python.org/pypi/cmake)

            – purpletentacle
            Oct 22 '17 at 13:54






          • 1





            I see. My mistake, but it is confusing! thx a lot

            – Mina Michael
            Oct 22 '17 at 15:50
















          8












          8








          8







          I know I was asking for a PPA but in general terms any reliable deployment of cmake for 14.04/16.04 is good. Kitware's blog shows an answer:



          https://blog.kitware.com/cmake-python-wheels/



          They seem to officially support a pip wheels release. So you can get latest cmake just by doing:



          pip install --upgrade cmake



          In addition, if you are using virtualenv or conda, you can have different cmake versions at the same time.



          Update: the pip package may show a low version number. At the moment, it is 0.8, however, it does install cmake 3.9






          share|improve this answer















          I know I was asking for a PPA but in general terms any reliable deployment of cmake for 14.04/16.04 is good. Kitware's blog shows an answer:



          https://blog.kitware.com/cmake-python-wheels/



          They seem to officially support a pip wheels release. So you can get latest cmake just by doing:



          pip install --upgrade cmake



          In addition, if you are using virtualenv or conda, you can have different cmake versions at the same time.



          Update: the pip package may show a low version number. At the moment, it is 0.8, however, it does install cmake 3.9







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Aug 31 '18 at 8:45

























          answered Sep 6 '17 at 7:39









          purpletentaclepurpletentacle

          5702823




          5702823













          • it was about to install cmake-0.8.0

            – Mina Michael
            Oct 22 '17 at 11:52











          • Sorry, I am not sure I understand you comment

            – purpletentacle
            Oct 22 '17 at 11:54











          • I did pip install --upgrade cmake but I got this: Downloading cmake-0.8.0-cp27-cp27mu-manylinux1_x86_64.whl (19.2MB) 1% |▋ | 337kB thx

            – Mina Michael
            Oct 22 '17 at 12:39








          • 1





            yes, the version 0.8.0 refers to the pip package version. The cmake version that it installs is 3.9 (check here pypi.python.org/pypi/cmake)

            – purpletentacle
            Oct 22 '17 at 13:54






          • 1





            I see. My mistake, but it is confusing! thx a lot

            – Mina Michael
            Oct 22 '17 at 15:50





















          • it was about to install cmake-0.8.0

            – Mina Michael
            Oct 22 '17 at 11:52











          • Sorry, I am not sure I understand you comment

            – purpletentacle
            Oct 22 '17 at 11:54











          • I did pip install --upgrade cmake but I got this: Downloading cmake-0.8.0-cp27-cp27mu-manylinux1_x86_64.whl (19.2MB) 1% |▋ | 337kB thx

            – Mina Michael
            Oct 22 '17 at 12:39








          • 1





            yes, the version 0.8.0 refers to the pip package version. The cmake version that it installs is 3.9 (check here pypi.python.org/pypi/cmake)

            – purpletentacle
            Oct 22 '17 at 13:54






          • 1





            I see. My mistake, but it is confusing! thx a lot

            – Mina Michael
            Oct 22 '17 at 15:50



















          it was about to install cmake-0.8.0

          – Mina Michael
          Oct 22 '17 at 11:52





          it was about to install cmake-0.8.0

          – Mina Michael
          Oct 22 '17 at 11:52













          Sorry, I am not sure I understand you comment

          – purpletentacle
          Oct 22 '17 at 11:54





          Sorry, I am not sure I understand you comment

          – purpletentacle
          Oct 22 '17 at 11:54













          I did pip install --upgrade cmake but I got this: Downloading cmake-0.8.0-cp27-cp27mu-manylinux1_x86_64.whl (19.2MB) 1% |▋ | 337kB thx

          – Mina Michael
          Oct 22 '17 at 12:39







          I did pip install --upgrade cmake but I got this: Downloading cmake-0.8.0-cp27-cp27mu-manylinux1_x86_64.whl (19.2MB) 1% |▋ | 337kB thx

          – Mina Michael
          Oct 22 '17 at 12:39






          1




          1





          yes, the version 0.8.0 refers to the pip package version. The cmake version that it installs is 3.9 (check here pypi.python.org/pypi/cmake)

          – purpletentacle
          Oct 22 '17 at 13:54





          yes, the version 0.8.0 refers to the pip package version. The cmake version that it installs is 3.9 (check here pypi.python.org/pypi/cmake)

          – purpletentacle
          Oct 22 '17 at 13:54




          1




          1





          I see. My mistake, but it is confusing! thx a lot

          – Mina Michael
          Oct 22 '17 at 15:50







          I see. My mistake, but it is confusing! thx a lot

          – Mina Michael
          Oct 22 '17 at 15:50




















          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%2f952429%2fis-there-a-good-ppa-for-cmake-backports%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

          How to make a Squid Proxy server?

          第一次世界大戦

          Touch on Surface Book