GDAL libraries, who does what











up vote
-1
down vote

favorite












I'm struggling installing GDAL on ubuntu 16.04 to work with GeoDjango (Django 2.1, python3), so I need to understand what I'm actually installing.



What is the rôle of each library/package/module ?



apt




  • gdal-bin (A 'C' library containing the actual functions ?)


  • python-gdal (The same in python, or just some kind of bridge ?)


  • python3-gdal (see above, but for python3. Does it need python-gdal ?)



pip




  • gdal

  • pygdal


What is the link between pip modules and apt packages here ?










share|improve this question
























  • I honestly have no idea what you're asking. I think you need to clarify.
    – roganjosh
    Nov 9 at 17:32










  • Sorry if I'm not clear enough. Usually I only need to install pip modules for django. Now with geodjango, it needs some operating system wide library togeteher with pip module. So I'd like to understand how pygdal module "communicates" with say "python3-gdal" package. Why pygdal is not enough ?
    – Yvain
    Nov 10 at 20:25















up vote
-1
down vote

favorite












I'm struggling installing GDAL on ubuntu 16.04 to work with GeoDjango (Django 2.1, python3), so I need to understand what I'm actually installing.



What is the rôle of each library/package/module ?



apt




  • gdal-bin (A 'C' library containing the actual functions ?)


  • python-gdal (The same in python, or just some kind of bridge ?)


  • python3-gdal (see above, but for python3. Does it need python-gdal ?)



pip




  • gdal

  • pygdal


What is the link between pip modules and apt packages here ?










share|improve this question
























  • I honestly have no idea what you're asking. I think you need to clarify.
    – roganjosh
    Nov 9 at 17:32










  • Sorry if I'm not clear enough. Usually I only need to install pip modules for django. Now with geodjango, it needs some operating system wide library togeteher with pip module. So I'd like to understand how pygdal module "communicates" with say "python3-gdal" package. Why pygdal is not enough ?
    – Yvain
    Nov 10 at 20:25













up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











I'm struggling installing GDAL on ubuntu 16.04 to work with GeoDjango (Django 2.1, python3), so I need to understand what I'm actually installing.



What is the rôle of each library/package/module ?



apt




  • gdal-bin (A 'C' library containing the actual functions ?)


  • python-gdal (The same in python, or just some kind of bridge ?)


  • python3-gdal (see above, but for python3. Does it need python-gdal ?)



pip




  • gdal

  • pygdal


What is the link between pip modules and apt packages here ?










share|improve this question















I'm struggling installing GDAL on ubuntu 16.04 to work with GeoDjango (Django 2.1, python3), so I need to understand what I'm actually installing.



What is the rôle of each library/package/module ?



apt




  • gdal-bin (A 'C' library containing the actual functions ?)


  • python-gdal (The same in python, or just some kind of bridge ?)


  • python3-gdal (see above, but for python3. Does it need python-gdal ?)



pip




  • gdal

  • pygdal


What is the link between pip modules and apt packages here ?







python ubuntu gdal






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 16 at 19:06









CristiFati

10.9k72135




10.9k72135










asked Nov 9 at 17:29









Yvain

16010




16010












  • I honestly have no idea what you're asking. I think you need to clarify.
    – roganjosh
    Nov 9 at 17:32










  • Sorry if I'm not clear enough. Usually I only need to install pip modules for django. Now with geodjango, it needs some operating system wide library togeteher with pip module. So I'd like to understand how pygdal module "communicates" with say "python3-gdal" package. Why pygdal is not enough ?
    – Yvain
    Nov 10 at 20:25


















  • I honestly have no idea what you're asking. I think you need to clarify.
    – roganjosh
    Nov 9 at 17:32










  • Sorry if I'm not clear enough. Usually I only need to install pip modules for django. Now with geodjango, it needs some operating system wide library togeteher with pip module. So I'd like to understand how pygdal module "communicates" with say "python3-gdal" package. Why pygdal is not enough ?
    – Yvain
    Nov 10 at 20:25
















I honestly have no idea what you're asking. I think you need to clarify.
– roganjosh
Nov 9 at 17:32




I honestly have no idea what you're asking. I think you need to clarify.
– roganjosh
Nov 9 at 17:32












Sorry if I'm not clear enough. Usually I only need to install pip modules for django. Now with geodjango, it needs some operating system wide library togeteher with pip module. So I'd like to understand how pygdal module "communicates" with say "python3-gdal" package. Why pygdal is not enough ?
– Yvain
Nov 10 at 20:25




Sorry if I'm not clear enough. Usually I only need to install pip modules for django. Now with geodjango, it needs some operating system wide library togeteher with pip module. So I'd like to understand how pygdal module "communicates" with say "python3-gdal" package. Why pygdal is not enough ?
– Yvain
Nov 10 at 20:25












1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










Every piece of info is available, if one is willing to search for it.





  • DEBs (installed system-wide):





    1. gdal-bin ([Ubtu]: Package: gdal-bin) - a collection of gdal related binaries (tools and utilities)


    2. python3-gdal ([Ubtu]: Package: python3-gdal) - Python 3 bindings, extensions (.sos) and some wrapper scripts, which enable gdal usage from Python


    3. python-gdal - the same thing, but for Python 2 (the 2 packages are not related)




  • WHLs (installed as Python modules to the interpreter used to launch pip):





    1. GDAL ([PyPI]: GDAL) - contains the sources (.tar.gz) for #2. (and / or #3.). During pip install phase, they are built and installed for current Python


    2. pygdal ([PyPI]: pygdal) - same thing (but for VEnv?). It seems to be a lighter version (it doesn't contain the scripts)




But, all of the above depend on libgdal ([Ubtu]: Package: libgdal1i), which is the gdal library.






share|improve this answer





















    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    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: 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%2fstackoverflow.com%2fquestions%2f53230645%2fgdal-libraries-who-does-what%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








    up vote
    1
    down vote



    accepted










    Every piece of info is available, if one is willing to search for it.





    • DEBs (installed system-wide):





      1. gdal-bin ([Ubtu]: Package: gdal-bin) - a collection of gdal related binaries (tools and utilities)


      2. python3-gdal ([Ubtu]: Package: python3-gdal) - Python 3 bindings, extensions (.sos) and some wrapper scripts, which enable gdal usage from Python


      3. python-gdal - the same thing, but for Python 2 (the 2 packages are not related)




    • WHLs (installed as Python modules to the interpreter used to launch pip):





      1. GDAL ([PyPI]: GDAL) - contains the sources (.tar.gz) for #2. (and / or #3.). During pip install phase, they are built and installed for current Python


      2. pygdal ([PyPI]: pygdal) - same thing (but for VEnv?). It seems to be a lighter version (it doesn't contain the scripts)




    But, all of the above depend on libgdal ([Ubtu]: Package: libgdal1i), which is the gdal library.






    share|improve this answer

























      up vote
      1
      down vote



      accepted










      Every piece of info is available, if one is willing to search for it.





      • DEBs (installed system-wide):





        1. gdal-bin ([Ubtu]: Package: gdal-bin) - a collection of gdal related binaries (tools and utilities)


        2. python3-gdal ([Ubtu]: Package: python3-gdal) - Python 3 bindings, extensions (.sos) and some wrapper scripts, which enable gdal usage from Python


        3. python-gdal - the same thing, but for Python 2 (the 2 packages are not related)




      • WHLs (installed as Python modules to the interpreter used to launch pip):





        1. GDAL ([PyPI]: GDAL) - contains the sources (.tar.gz) for #2. (and / or #3.). During pip install phase, they are built and installed for current Python


        2. pygdal ([PyPI]: pygdal) - same thing (but for VEnv?). It seems to be a lighter version (it doesn't contain the scripts)




      But, all of the above depend on libgdal ([Ubtu]: Package: libgdal1i), which is the gdal library.






      share|improve this answer























        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        Every piece of info is available, if one is willing to search for it.





        • DEBs (installed system-wide):





          1. gdal-bin ([Ubtu]: Package: gdal-bin) - a collection of gdal related binaries (tools and utilities)


          2. python3-gdal ([Ubtu]: Package: python3-gdal) - Python 3 bindings, extensions (.sos) and some wrapper scripts, which enable gdal usage from Python


          3. python-gdal - the same thing, but for Python 2 (the 2 packages are not related)




        • WHLs (installed as Python modules to the interpreter used to launch pip):





          1. GDAL ([PyPI]: GDAL) - contains the sources (.tar.gz) for #2. (and / or #3.). During pip install phase, they are built and installed for current Python


          2. pygdal ([PyPI]: pygdal) - same thing (but for VEnv?). It seems to be a lighter version (it doesn't contain the scripts)




        But, all of the above depend on libgdal ([Ubtu]: Package: libgdal1i), which is the gdal library.






        share|improve this answer












        Every piece of info is available, if one is willing to search for it.





        • DEBs (installed system-wide):





          1. gdal-bin ([Ubtu]: Package: gdal-bin) - a collection of gdal related binaries (tools and utilities)


          2. python3-gdal ([Ubtu]: Package: python3-gdal) - Python 3 bindings, extensions (.sos) and some wrapper scripts, which enable gdal usage from Python


          3. python-gdal - the same thing, but for Python 2 (the 2 packages are not related)




        • WHLs (installed as Python modules to the interpreter used to launch pip):





          1. GDAL ([PyPI]: GDAL) - contains the sources (.tar.gz) for #2. (and / or #3.). During pip install phase, they are built and installed for current Python


          2. pygdal ([PyPI]: pygdal) - same thing (but for VEnv?). It seems to be a lighter version (it doesn't contain the scripts)




        But, all of the above depend on libgdal ([Ubtu]: Package: libgdal1i), which is the gdal library.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 15 at 23:52









        CristiFati

        10.9k72135




        10.9k72135






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53230645%2fgdal-libraries-who-does-what%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

            Guess what letter conforming each word

            Port of Spain

            Run scheduled task as local user group (not BUILTIN)