How to know if I have more than one version of a library installed?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















I'm having problems installing sf library in R (I'm using Debian 9 and R 3.5.2).



After reading many issues pages on github, I wonder if I may have more than one GDAL or GEOS library installed. But how to be sure? How do I access the number of different versions installed from the same package?










share|improve this question


























    1















    I'm having problems installing sf library in R (I'm using Debian 9 and R 3.5.2).



    After reading many issues pages on github, I wonder if I may have more than one GDAL or GEOS library installed. But how to be sure? How do I access the number of different versions installed from the same package?










    share|improve this question
























      1












      1








      1








      I'm having problems installing sf library in R (I'm using Debian 9 and R 3.5.2).



      After reading many issues pages on github, I wonder if I may have more than one GDAL or GEOS library installed. But how to be sure? How do I access the number of different versions installed from the same package?










      share|improve this question














      I'm having problems installing sf library in R (I'm using Debian 9 and R 3.5.2).



      After reading many issues pages on github, I wonder if I may have more than one GDAL or GEOS library installed. But how to be sure? How do I access the number of different versions installed from the same package?







      debian package-management






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 14 at 19:23









      RodrigoRodrigo

      2422318




      2422318




















          1 Answer
          1






          active

          oldest

          votes


















          2














          You can use ldconfig to find libraries and their respective version numbers. Something like this should work:



          ldconfig -v | grep [Library Name]


          If needed run it as root(sudo). Substitute [Library Name] with whatever library you want to look for such as: libgeos/geos/gdal/etc. Alternatively ldconfig -v | more and searching through will give you information on all libraries.



          This should give you the list of all versions of that specific library. Please read over the ldconfig manpage to get more information.



          You can also use the tools built into R to figure this out. This page from the R manual give a lot of details on how to list out installed packages associated with R. From my limited understanding you should be able to, in an R console, run the following to figure out installed libraries:



          installed.packages(lib.loc = NULL, priority = NULL,
          noCache = FALSE, fields = NULL,
          subarch = .Platform$r_arch, ...)





          share|improve this answer






















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f500694%2fhow-to-know-if-i-have-more-than-one-version-of-a-library-installed%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









            2














            You can use ldconfig to find libraries and their respective version numbers. Something like this should work:



            ldconfig -v | grep [Library Name]


            If needed run it as root(sudo). Substitute [Library Name] with whatever library you want to look for such as: libgeos/geos/gdal/etc. Alternatively ldconfig -v | more and searching through will give you information on all libraries.



            This should give you the list of all versions of that specific library. Please read over the ldconfig manpage to get more information.



            You can also use the tools built into R to figure this out. This page from the R manual give a lot of details on how to list out installed packages associated with R. From my limited understanding you should be able to, in an R console, run the following to figure out installed libraries:



            installed.packages(lib.loc = NULL, priority = NULL,
            noCache = FALSE, fields = NULL,
            subarch = .Platform$r_arch, ...)





            share|improve this answer



























              2














              You can use ldconfig to find libraries and their respective version numbers. Something like this should work:



              ldconfig -v | grep [Library Name]


              If needed run it as root(sudo). Substitute [Library Name] with whatever library you want to look for such as: libgeos/geos/gdal/etc. Alternatively ldconfig -v | more and searching through will give you information on all libraries.



              This should give you the list of all versions of that specific library. Please read over the ldconfig manpage to get more information.



              You can also use the tools built into R to figure this out. This page from the R manual give a lot of details on how to list out installed packages associated with R. From my limited understanding you should be able to, in an R console, run the following to figure out installed libraries:



              installed.packages(lib.loc = NULL, priority = NULL,
              noCache = FALSE, fields = NULL,
              subarch = .Platform$r_arch, ...)





              share|improve this answer

























                2












                2








                2







                You can use ldconfig to find libraries and their respective version numbers. Something like this should work:



                ldconfig -v | grep [Library Name]


                If needed run it as root(sudo). Substitute [Library Name] with whatever library you want to look for such as: libgeos/geos/gdal/etc. Alternatively ldconfig -v | more and searching through will give you information on all libraries.



                This should give you the list of all versions of that specific library. Please read over the ldconfig manpage to get more information.



                You can also use the tools built into R to figure this out. This page from the R manual give a lot of details on how to list out installed packages associated with R. From my limited understanding you should be able to, in an R console, run the following to figure out installed libraries:



                installed.packages(lib.loc = NULL, priority = NULL,
                noCache = FALSE, fields = NULL,
                subarch = .Platform$r_arch, ...)





                share|improve this answer













                You can use ldconfig to find libraries and their respective version numbers. Something like this should work:



                ldconfig -v | grep [Library Name]


                If needed run it as root(sudo). Substitute [Library Name] with whatever library you want to look for such as: libgeos/geos/gdal/etc. Alternatively ldconfig -v | more and searching through will give you information on all libraries.



                This should give you the list of all versions of that specific library. Please read over the ldconfig manpage to get more information.



                You can also use the tools built into R to figure this out. This page from the R manual give a lot of details on how to list out installed packages associated with R. From my limited understanding you should be able to, in an R console, run the following to figure out installed libraries:



                installed.packages(lib.loc = NULL, priority = NULL,
                noCache = FALSE, fields = NULL,
                subarch = .Platform$r_arch, ...)






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 14 at 20:13









                kemotepkemotep

                2,4243720




                2,4243720



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • 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%2funix.stackexchange.com%2fquestions%2f500694%2fhow-to-know-if-i-have-more-than-one-version-of-a-library-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

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay