Yum Check Available Package Updates Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionWhy are updates pushed to Fedora's updates-testing repos initially invisible?Linux distribution with 'yum' package manager“No package <package name> available.”?Red Hat Network (RHN) and package updatesWhat is the purpose of the command “yum list extras”?CentOS 6 - No UpdatesConflicting answers regarding package from rpm, yum and repoqueryYum failing: Requires installed packagesHow to update yum repository automaticallyyum + print all available security updates that are not installed

8 Prisoners wearing hats

Circuit to "zoom in" on mV fluctuations of a DC signal?

Is safe to use va_start macro with this as parameter?

Fantasy story; one type of magic grows in power with use, but the more powerful they are, they more they are drawn to travel to their source

Should I use a zero-interest credit card for a large one-time purchase?

Quick way to create a symlink?

What causes the direction of lightning flashes?

Compare a given version number in the form major.minor.build.patch and see if one is less than the other

Why aren't air breathing engines used as small first stages

Is there a holomorphic function on open unit disc with this property?

First console to have temporary backward compatibility

Amount of permutations on an NxNxN Rubik's Cube

Is it fair for a professor to grade us on the possession of past papers?

Delete nth line from bottom

Can a new player join a group only when a new campaign starts?

Can you use the Shield Master feat to shove someone before you make an attack by using a Readied action?

Using audio cues to encourage good posture

Wu formula for manifolds with boundary

Can anything be seen from the center of the Boötes void? How dark would it be?

Around usage results

Why do we bend a book to keep it straight?

How could we fake a moon landing now?

Using et al. for a last / senior author rather than for a first author

How to show element name in portuguese using elements package?



Yum Check Available Package Updates



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionWhy are updates pushed to Fedora's updates-testing repos initially invisible?Linux distribution with 'yum' package manager“No package <package name> available.”?Red Hat Network (RHN) and package updatesWhat is the purpose of the command “yum list extras”?CentOS 6 - No UpdatesConflicting answers regarding package from rpm, yum and repoqueryYum failing: Requires installed packagesHow to update yum repository automaticallyyum + print all available security updates that are not installed



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








40















Red Hat docs say:




To see which installed packages on your system have updates available,
use the following command:




yum check-update



What command must I run to view all available versions for a package installed on my system?



Example: yum check-update tells me java6 update #43 is available, but what if I want update #40?










share|improve this question




























    40















    Red Hat docs say:




    To see which installed packages on your system have updates available,
    use the following command:




    yum check-update



    What command must I run to view all available versions for a package installed on my system?



    Example: yum check-update tells me java6 update #43 is available, but what if I want update #40?










    share|improve this question
























      40












      40








      40


      9






      Red Hat docs say:




      To see which installed packages on your system have updates available,
      use the following command:




      yum check-update



      What command must I run to view all available versions for a package installed on my system?



      Example: yum check-update tells me java6 update #43 is available, but what if I want update #40?










      share|improve this question














      Red Hat docs say:




      To see which installed packages on your system have updates available,
      use the following command:




      yum check-update



      What command must I run to view all available versions for a package installed on my system?



      Example: yum check-update tells me java6 update #43 is available, but what if I want update #40?







      rhel yum






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 15 '13 at 18:53









      Kevin MeredithKevin Meredith

      342159




      342159




















          2 Answers
          2






          active

          oldest

          votes


















          30














          This command won't focus specifically on one package, but by using a regex to do the matching you can still see what's available:



          $ yum list available java*
          java-1.4.2-gcj-compat.i386 1.4.2.0-40jpp.115 installed
          java-1.6.0-openjdk.i386 1:1.6.0.0-1.36.1.11.9.el5_9 installed
          Available Packages
          java-1.4.2-gcj-compat-devel.i386 1.4.2.0-40jpp.115 base
          java-1.4.2-gcj-compat-javadoc.i386 1.4.2.0-40jpp.115 base
          java-1.4.2-gcj-compat-src.i386 1.4.2.0-40jpp.115 base
          java-1.6.0-openjdk.i386 1:1.6.0.0-1.40.1.11.11.el5_9 updates
          java-1.6.0-openjdk-demo.i386 1:1.6.0.0-1.40.1.11.11.el5_9


          You can make it "smarter" by filtering the output using grep.






          share|improve this answer

























          • Then I can run yum update <package-name> provided the package, to which I'm trying to upgrade, is, in fact, a higher version of my currently installed package?

            – Kevin Meredith
            May 15 '13 at 19:05











          • That would be correct. You can update to the next version from what you currently have installed.

            – slm
            May 15 '13 at 19:08







          • 1





            Note that the official repositories very rarely carry more than one version of a package, old packages are obsoleted for a reason.

            – vonbrand
            May 15 '13 at 20:03











          • You want to use --show-duplicates to see all the versions, but as vonbrand said if you are using CentOS/Fedora you only get the latest anyway (If you pay for actual RHEL, you'll get a lot of choice and may want to look at the upgrade-to command as well).

            – James Antill
            May 17 '13 at 18:30



















          1














          To see currently installed package version + check what is the latest available version, use --showduplicates list <package name>, for example:



          $ sudo yum --showduplicates list 'tar.*'

          Loaded plugins: search-disabled-repos
          Installed Packages
          tar.x86_64 2:1.26-32.el7 installed
          Available Packages
          tar.x86_64 2:1.26-29.el7 rhelosp-rhel-7.4-server
          tar.x86_64 2:1.26-31.el7 rhelosp-rhel-7.4-server
          tar.x86_64 2:1.26-32.el7 rhelosp-rhel-7.4-server





          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%2f75981%2fyum-check-available-package-updates%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









            30














            This command won't focus specifically on one package, but by using a regex to do the matching you can still see what's available:



            $ yum list available java*
            java-1.4.2-gcj-compat.i386 1.4.2.0-40jpp.115 installed
            java-1.6.0-openjdk.i386 1:1.6.0.0-1.36.1.11.9.el5_9 installed
            Available Packages
            java-1.4.2-gcj-compat-devel.i386 1.4.2.0-40jpp.115 base
            java-1.4.2-gcj-compat-javadoc.i386 1.4.2.0-40jpp.115 base
            java-1.4.2-gcj-compat-src.i386 1.4.2.0-40jpp.115 base
            java-1.6.0-openjdk.i386 1:1.6.0.0-1.40.1.11.11.el5_9 updates
            java-1.6.0-openjdk-demo.i386 1:1.6.0.0-1.40.1.11.11.el5_9


            You can make it "smarter" by filtering the output using grep.






            share|improve this answer

























            • Then I can run yum update <package-name> provided the package, to which I'm trying to upgrade, is, in fact, a higher version of my currently installed package?

              – Kevin Meredith
              May 15 '13 at 19:05











            • That would be correct. You can update to the next version from what you currently have installed.

              – slm
              May 15 '13 at 19:08







            • 1





              Note that the official repositories very rarely carry more than one version of a package, old packages are obsoleted for a reason.

              – vonbrand
              May 15 '13 at 20:03











            • You want to use --show-duplicates to see all the versions, but as vonbrand said if you are using CentOS/Fedora you only get the latest anyway (If you pay for actual RHEL, you'll get a lot of choice and may want to look at the upgrade-to command as well).

              – James Antill
              May 17 '13 at 18:30
















            30














            This command won't focus specifically on one package, but by using a regex to do the matching you can still see what's available:



            $ yum list available java*
            java-1.4.2-gcj-compat.i386 1.4.2.0-40jpp.115 installed
            java-1.6.0-openjdk.i386 1:1.6.0.0-1.36.1.11.9.el5_9 installed
            Available Packages
            java-1.4.2-gcj-compat-devel.i386 1.4.2.0-40jpp.115 base
            java-1.4.2-gcj-compat-javadoc.i386 1.4.2.0-40jpp.115 base
            java-1.4.2-gcj-compat-src.i386 1.4.2.0-40jpp.115 base
            java-1.6.0-openjdk.i386 1:1.6.0.0-1.40.1.11.11.el5_9 updates
            java-1.6.0-openjdk-demo.i386 1:1.6.0.0-1.40.1.11.11.el5_9


            You can make it "smarter" by filtering the output using grep.






            share|improve this answer

























            • Then I can run yum update <package-name> provided the package, to which I'm trying to upgrade, is, in fact, a higher version of my currently installed package?

              – Kevin Meredith
              May 15 '13 at 19:05











            • That would be correct. You can update to the next version from what you currently have installed.

              – slm
              May 15 '13 at 19:08







            • 1





              Note that the official repositories very rarely carry more than one version of a package, old packages are obsoleted for a reason.

              – vonbrand
              May 15 '13 at 20:03











            • You want to use --show-duplicates to see all the versions, but as vonbrand said if you are using CentOS/Fedora you only get the latest anyway (If you pay for actual RHEL, you'll get a lot of choice and may want to look at the upgrade-to command as well).

              – James Antill
              May 17 '13 at 18:30














            30












            30








            30







            This command won't focus specifically on one package, but by using a regex to do the matching you can still see what's available:



            $ yum list available java*
            java-1.4.2-gcj-compat.i386 1.4.2.0-40jpp.115 installed
            java-1.6.0-openjdk.i386 1:1.6.0.0-1.36.1.11.9.el5_9 installed
            Available Packages
            java-1.4.2-gcj-compat-devel.i386 1.4.2.0-40jpp.115 base
            java-1.4.2-gcj-compat-javadoc.i386 1.4.2.0-40jpp.115 base
            java-1.4.2-gcj-compat-src.i386 1.4.2.0-40jpp.115 base
            java-1.6.0-openjdk.i386 1:1.6.0.0-1.40.1.11.11.el5_9 updates
            java-1.6.0-openjdk-demo.i386 1:1.6.0.0-1.40.1.11.11.el5_9


            You can make it "smarter" by filtering the output using grep.






            share|improve this answer















            This command won't focus specifically on one package, but by using a regex to do the matching you can still see what's available:



            $ yum list available java*
            java-1.4.2-gcj-compat.i386 1.4.2.0-40jpp.115 installed
            java-1.6.0-openjdk.i386 1:1.6.0.0-1.36.1.11.9.el5_9 installed
            Available Packages
            java-1.4.2-gcj-compat-devel.i386 1.4.2.0-40jpp.115 base
            java-1.4.2-gcj-compat-javadoc.i386 1.4.2.0-40jpp.115 base
            java-1.4.2-gcj-compat-src.i386 1.4.2.0-40jpp.115 base
            java-1.6.0-openjdk.i386 1:1.6.0.0-1.40.1.11.11.el5_9 updates
            java-1.6.0-openjdk-demo.i386 1:1.6.0.0-1.40.1.11.11.el5_9


            You can make it "smarter" by filtering the output using grep.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Feb 16 '18 at 20:40









            rogerdpack

            3731313




            3731313










            answered May 15 '13 at 18:58









            slmslm

            256k71544690




            256k71544690












            • Then I can run yum update <package-name> provided the package, to which I'm trying to upgrade, is, in fact, a higher version of my currently installed package?

              – Kevin Meredith
              May 15 '13 at 19:05











            • That would be correct. You can update to the next version from what you currently have installed.

              – slm
              May 15 '13 at 19:08







            • 1





              Note that the official repositories very rarely carry more than one version of a package, old packages are obsoleted for a reason.

              – vonbrand
              May 15 '13 at 20:03











            • You want to use --show-duplicates to see all the versions, but as vonbrand said if you are using CentOS/Fedora you only get the latest anyway (If you pay for actual RHEL, you'll get a lot of choice and may want to look at the upgrade-to command as well).

              – James Antill
              May 17 '13 at 18:30


















            • Then I can run yum update <package-name> provided the package, to which I'm trying to upgrade, is, in fact, a higher version of my currently installed package?

              – Kevin Meredith
              May 15 '13 at 19:05











            • That would be correct. You can update to the next version from what you currently have installed.

              – slm
              May 15 '13 at 19:08







            • 1





              Note that the official repositories very rarely carry more than one version of a package, old packages are obsoleted for a reason.

              – vonbrand
              May 15 '13 at 20:03











            • You want to use --show-duplicates to see all the versions, but as vonbrand said if you are using CentOS/Fedora you only get the latest anyway (If you pay for actual RHEL, you'll get a lot of choice and may want to look at the upgrade-to command as well).

              – James Antill
              May 17 '13 at 18:30

















            Then I can run yum update <package-name> provided the package, to which I'm trying to upgrade, is, in fact, a higher version of my currently installed package?

            – Kevin Meredith
            May 15 '13 at 19:05





            Then I can run yum update <package-name> provided the package, to which I'm trying to upgrade, is, in fact, a higher version of my currently installed package?

            – Kevin Meredith
            May 15 '13 at 19:05













            That would be correct. You can update to the next version from what you currently have installed.

            – slm
            May 15 '13 at 19:08






            That would be correct. You can update to the next version from what you currently have installed.

            – slm
            May 15 '13 at 19:08





            1




            1





            Note that the official repositories very rarely carry more than one version of a package, old packages are obsoleted for a reason.

            – vonbrand
            May 15 '13 at 20:03





            Note that the official repositories very rarely carry more than one version of a package, old packages are obsoleted for a reason.

            – vonbrand
            May 15 '13 at 20:03













            You want to use --show-duplicates to see all the versions, but as vonbrand said if you are using CentOS/Fedora you only get the latest anyway (If you pay for actual RHEL, you'll get a lot of choice and may want to look at the upgrade-to command as well).

            – James Antill
            May 17 '13 at 18:30






            You want to use --show-duplicates to see all the versions, but as vonbrand said if you are using CentOS/Fedora you only get the latest anyway (If you pay for actual RHEL, you'll get a lot of choice and may want to look at the upgrade-to command as well).

            – James Antill
            May 17 '13 at 18:30














            1














            To see currently installed package version + check what is the latest available version, use --showduplicates list <package name>, for example:



            $ sudo yum --showduplicates list 'tar.*'

            Loaded plugins: search-disabled-repos
            Installed Packages
            tar.x86_64 2:1.26-32.el7 installed
            Available Packages
            tar.x86_64 2:1.26-29.el7 rhelosp-rhel-7.4-server
            tar.x86_64 2:1.26-31.el7 rhelosp-rhel-7.4-server
            tar.x86_64 2:1.26-32.el7 rhelosp-rhel-7.4-server





            share|improve this answer



























              1














              To see currently installed package version + check what is the latest available version, use --showduplicates list <package name>, for example:



              $ sudo yum --showduplicates list 'tar.*'

              Loaded plugins: search-disabled-repos
              Installed Packages
              tar.x86_64 2:1.26-32.el7 installed
              Available Packages
              tar.x86_64 2:1.26-29.el7 rhelosp-rhel-7.4-server
              tar.x86_64 2:1.26-31.el7 rhelosp-rhel-7.4-server
              tar.x86_64 2:1.26-32.el7 rhelosp-rhel-7.4-server





              share|improve this answer

























                1












                1








                1







                To see currently installed package version + check what is the latest available version, use --showduplicates list <package name>, for example:



                $ sudo yum --showduplicates list 'tar.*'

                Loaded plugins: search-disabled-repos
                Installed Packages
                tar.x86_64 2:1.26-32.el7 installed
                Available Packages
                tar.x86_64 2:1.26-29.el7 rhelosp-rhel-7.4-server
                tar.x86_64 2:1.26-31.el7 rhelosp-rhel-7.4-server
                tar.x86_64 2:1.26-32.el7 rhelosp-rhel-7.4-server





                share|improve this answer













                To see currently installed package version + check what is the latest available version, use --showduplicates list <package name>, for example:



                $ sudo yum --showduplicates list 'tar.*'

                Loaded plugins: search-disabled-repos
                Installed Packages
                tar.x86_64 2:1.26-32.el7 installed
                Available Packages
                tar.x86_64 2:1.26-29.el7 rhelosp-rhel-7.4-server
                tar.x86_64 2:1.26-31.el7 rhelosp-rhel-7.4-server
                tar.x86_64 2:1.26-32.el7 rhelosp-rhel-7.4-server






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 22 '18 at 9:39









                Noam ManosNoam Manos

                18314




                18314



























                    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%2f75981%2fyum-check-available-package-updates%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







                    -rhel, yum

                    Popular posts from this blog

                    Creating 100m^2 grid automatically using QGIS?Creating grid constrained within polygon in QGIS?Createing polygon layer from point data using QGIS?Creating vector grid using QGIS?Creating grid polygons from coordinates using R or PythonCreating grid from spatio temporal point data?Creating fields in attributes table using other layers using QGISCreate .shp vector grid in QGISQGIS Creating 4km point grid within polygonsCreate a vector grid over a raster layerVector Grid Creates just one grid

                    What is this called? Old film camera viewer?What makes a good film camera?What to do with an old film camera?What should one look for when buying a used film camera?What is the value and age of this pre-1967 Ricoh 35 mm camera?DSLR recommendation, question about old Canon 35mm film Camera & lensesCan anyone identify the silver rangefinder-style camera in this advertisement?What kind of a Polaroid 600-camera is this?Will an old film camera still work even when not used in a very long time?What is this camera / Can I develop the film?How to fit an action camera into antique (bellows) housing?What to check when buying used and old film bodies?

                    Why is this plane circling around the Lucknow airport every day?Why do aircraft on Flight Radar 24 jump around randomly sometimes?What airport has this walkway over a taxiway?How does Chicago O'Hare's tower sequence aircraft at peak capacity?Which airport is featured in this Delta commercial?After a crash, for how long is the airport closed?Can a passenger plane stand still in the air, or hover at a fixed location above a ground?What are those trucks towing around, and why?What is this airport outside of Cairo, Egypt?Which US airport has the lowest circling MDH?What is this airport video?