How to get GDAL >= 2.0.0 on Ubuntu 16.04 LTS?












1














I have some software programmed in R using sf package, which require GDAL version >= 2.0.0.



But Ubuntu Xenial 16.04 LTS has only 1.11.3+dfsg-3build2.



How can I get GDAL version >= 2.0.0 on 16.04 LTS?










share|improve this question



























    1














    I have some software programmed in R using sf package, which require GDAL version >= 2.0.0.



    But Ubuntu Xenial 16.04 LTS has only 1.11.3+dfsg-3build2.



    How can I get GDAL version >= 2.0.0 on 16.04 LTS?










    share|improve this question

























      1












      1








      1


      1





      I have some software programmed in R using sf package, which require GDAL version >= 2.0.0.



      But Ubuntu Xenial 16.04 LTS has only 1.11.3+dfsg-3build2.



      How can I get GDAL version >= 2.0.0 on 16.04 LTS?










      share|improve this question













      I have some software programmed in R using sf package, which require GDAL version >= 2.0.0.



      But Ubuntu Xenial 16.04 LTS has only 1.11.3+dfsg-3build2.



      How can I get GDAL version >= 2.0.0 on 16.04 LTS?







      16.04 r gis






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 23 '18 at 16:17









      N0rbertN0rbert

      21.6k547101




      21.6k547101






















          2 Answers
          2






          active

          oldest

          votes


















          1














          Try adding ubuntugis-unstable



          sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable

          sudo apt-get update


          and install packages from it.



          sudo apt-get install libgdal-dev


          As ppa:nextgis/dev caused me a some trouble when installing sp package here and seem to also cause there



          (DISCLAMER: I'm not running pure Ubuntu, but Linux Mint which is based on Ubuntu 16.04 LTS)






          share|improve this answer































            0














            The simplest way is to add NextGIS Dev PPA



            sudo add-apt-repository ppa:nextgis/dev
            sudo apt-get update


            and install packages from it.



            sudo apt-get install libgdal-dev


            And then in R we can successfully install sf with



            install.packages("sf")





            share|improve this answer





















            • As per its readme, sf suggests to install from ubuntugis-unstable (github.com/r-spatial/sf#ubuntu) The nextgis/dev ppa was proven to give problems, and is also probably currently empty. (See github.com/r-spatial/sf/issues/929, as well as the issues linked in @BanAnanas answer).
              – lbusett
              Dec 22 '18 at 15:48










            protected by N0rbert Dec 19 '18 at 21:01



            Thank you for your interest in this question.
            Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



            Would you like to answer one of these unanswered questions instead?














            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Try adding ubuntugis-unstable



            sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable

            sudo apt-get update


            and install packages from it.



            sudo apt-get install libgdal-dev


            As ppa:nextgis/dev caused me a some trouble when installing sp package here and seem to also cause there



            (DISCLAMER: I'm not running pure Ubuntu, but Linux Mint which is based on Ubuntu 16.04 LTS)






            share|improve this answer




























              1














              Try adding ubuntugis-unstable



              sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable

              sudo apt-get update


              and install packages from it.



              sudo apt-get install libgdal-dev


              As ppa:nextgis/dev caused me a some trouble when installing sp package here and seem to also cause there



              (DISCLAMER: I'm not running pure Ubuntu, but Linux Mint which is based on Ubuntu 16.04 LTS)






              share|improve this answer


























                1












                1








                1






                Try adding ubuntugis-unstable



                sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable

                sudo apt-get update


                and install packages from it.



                sudo apt-get install libgdal-dev


                As ppa:nextgis/dev caused me a some trouble when installing sp package here and seem to also cause there



                (DISCLAMER: I'm not running pure Ubuntu, but Linux Mint which is based on Ubuntu 16.04 LTS)






                share|improve this answer














                Try adding ubuntugis-unstable



                sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable

                sudo apt-get update


                and install packages from it.



                sudo apt-get install libgdal-dev


                As ppa:nextgis/dev caused me a some trouble when installing sp package here and seem to also cause there



                (DISCLAMER: I'm not running pure Ubuntu, but Linux Mint which is based on Ubuntu 16.04 LTS)







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Dec 19 '18 at 22:13

























                answered Dec 19 '18 at 20:28









                BanAnanasBanAnanas

                146




                146

























                    0














                    The simplest way is to add NextGIS Dev PPA



                    sudo add-apt-repository ppa:nextgis/dev
                    sudo apt-get update


                    and install packages from it.



                    sudo apt-get install libgdal-dev


                    And then in R we can successfully install sf with



                    install.packages("sf")





                    share|improve this answer





















                    • As per its readme, sf suggests to install from ubuntugis-unstable (github.com/r-spatial/sf#ubuntu) The nextgis/dev ppa was proven to give problems, and is also probably currently empty. (See github.com/r-spatial/sf/issues/929, as well as the issues linked in @BanAnanas answer).
                      – lbusett
                      Dec 22 '18 at 15:48
















                    0














                    The simplest way is to add NextGIS Dev PPA



                    sudo add-apt-repository ppa:nextgis/dev
                    sudo apt-get update


                    and install packages from it.



                    sudo apt-get install libgdal-dev


                    And then in R we can successfully install sf with



                    install.packages("sf")





                    share|improve this answer





















                    • As per its readme, sf suggests to install from ubuntugis-unstable (github.com/r-spatial/sf#ubuntu) The nextgis/dev ppa was proven to give problems, and is also probably currently empty. (See github.com/r-spatial/sf/issues/929, as well as the issues linked in @BanAnanas answer).
                      – lbusett
                      Dec 22 '18 at 15:48














                    0












                    0








                    0






                    The simplest way is to add NextGIS Dev PPA



                    sudo add-apt-repository ppa:nextgis/dev
                    sudo apt-get update


                    and install packages from it.



                    sudo apt-get install libgdal-dev


                    And then in R we can successfully install sf with



                    install.packages("sf")





                    share|improve this answer












                    The simplest way is to add NextGIS Dev PPA



                    sudo add-apt-repository ppa:nextgis/dev
                    sudo apt-get update


                    and install packages from it.



                    sudo apt-get install libgdal-dev


                    And then in R we can successfully install sf with



                    install.packages("sf")






                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Aug 23 '18 at 16:17









                    N0rbertN0rbert

                    21.6k547101




                    21.6k547101












                    • As per its readme, sf suggests to install from ubuntugis-unstable (github.com/r-spatial/sf#ubuntu) The nextgis/dev ppa was proven to give problems, and is also probably currently empty. (See github.com/r-spatial/sf/issues/929, as well as the issues linked in @BanAnanas answer).
                      – lbusett
                      Dec 22 '18 at 15:48


















                    • As per its readme, sf suggests to install from ubuntugis-unstable (github.com/r-spatial/sf#ubuntu) The nextgis/dev ppa was proven to give problems, and is also probably currently empty. (See github.com/r-spatial/sf/issues/929, as well as the issues linked in @BanAnanas answer).
                      – lbusett
                      Dec 22 '18 at 15:48
















                    As per its readme, sf suggests to install from ubuntugis-unstable (github.com/r-spatial/sf#ubuntu) The nextgis/dev ppa was proven to give problems, and is also probably currently empty. (See github.com/r-spatial/sf/issues/929, as well as the issues linked in @BanAnanas answer).
                    – lbusett
                    Dec 22 '18 at 15:48




                    As per its readme, sf suggests to install from ubuntugis-unstable (github.com/r-spatial/sf#ubuntu) The nextgis/dev ppa was proven to give problems, and is also probably currently empty. (See github.com/r-spatial/sf/issues/929, as well as the issues linked in @BanAnanas answer).
                    – lbusett
                    Dec 22 '18 at 15:48





                    protected by N0rbert Dec 19 '18 at 21:01



                    Thank you for your interest in this question.
                    Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                    Would you like to answer one of these unanswered questions instead?



                    Popular posts from this blog

                    Quarter-circle Tiles

                    build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

                    Mont Emei