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;
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
add a comment |
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
add a comment |
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
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
rhel yum
asked May 15 '13 at 18:53
Kevin MeredithKevin Meredith
342159
342159
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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.
Then I can runyum 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
add a comment |
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Then I can runyum 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
add a comment |
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.
Then I can runyum 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
add a comment |
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.
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.
edited Feb 16 '18 at 20:40
rogerdpack
3731313
3731313
answered May 15 '13 at 18:58
slm♦slm
256k71544690
256k71544690
Then I can runyum 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
add a comment |
Then I can runyum 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
add a comment |
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
add a comment |
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
add a comment |
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
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
answered Feb 22 '18 at 9:39
Noam ManosNoam Manos
18314
18314
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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