How to examine readily available plan variations in rpm systems?

If I intend to examine readily available variations of a plan in Debian, I run apt-cache policy pkgname which when it comes to wajig offers:

wajig:
  Installed: 2.01
  Candidate: 2.01
  Version table:
 *** 2.01 0
        100 /var/lib/dpkg/status
     2.0.47 0
        500 file:/home/wena/.repo_bin/ squeeze/main i386 Packages
        500 ftp://ftp.is.co.za/debian/ squeeze/main i386 Packages

That suggests that there are 3 wajig plans, one that is mounted (/var/lib/dpkg/status), and also 2 others (which coincide variation). Among these 2 remains in a neighborhood database and also the various other is readily available from a remote database.

Just how do I attain a comparable outcome on rpm systems?

0
2019-05-18 22:38:14
Source Share
Answers: 2

To quiz the readily available plans, you can do urpmq --sources YOURPACKAGE This is Mandriva - details (I just recognize Mandriva).

If you need to know the variation of a mounted plan: rpm -q YOURPACKAGE This works with all RPM systems.

On RedHat/Fedora, see yum.

0
2019-05-21 08:08:49
Source

yum For RHEL/Fedora/Centos/ Scientific Linux

Provides the command list to present details concerning mounted and also upgradeable (and also older) plans.

yum --showduplicates list <package>

zypper For SuSE Linux

Can return a breakdown of readily available and also mounted plans or spots.

zypper search -s <package>

Adding --exact-match can aid, if there are numerous plans.

As a side - note, here is a contrast of plan - monitoring commands.

0
2019-05-21 06:38:28
Source