Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to find packages names and versions for RedHat?

How can I find out whether a specific RedHat release (RHEL4, RHEL5...) contains a certain package (or a certain version of a package)? For Debian and Ubuntu, there's packages.debian.org and packages.ubuntu.com; is there a similar web site for RedHat?

Note: I don't want to have to install all the releases just to check some package version :-)

like image 988
oliver Avatar asked Sep 26 '08 13:09

oliver


People also ask

How do I check the package version in Linux?

Method 1: Using apt command The apt command has an option list that you can use to check a version of the package installed on an Ubuntu or Debian system. To see all versions of the package available on the repository, pass the -a option. This includes all others packages available on the repository for installation.

How do I find out what package a file belongs to?

To show what files are in a package, use the rpm command. If you have the file name, you can turn this around and find the related package. The output will provide the package and its version. To just see the package name, use the –queryformat option.


1 Answers

The best you can do, as it seems, is to check the FTP directories of the source packages:

  • RHEL4
  • RHEL5
  • RHEL6
  • RHEL7

Keep in mind that RedHat has the habit of patching software to hell and back, so the version number might not have to much in common with the actual release, especially for the kernel.

like image 90
Torsten Marek Avatar answered Sep 20 '22 04:09

Torsten Marek