What is $releasever

Jos Vos jos at xos.nl
Thu Feb 5 23:19:22 UTC 2009

On Thu, Feb 05, 2009 at 03:11:18PM -0800, Jonathan Ryshpan wrote:

> I occasionally have to find repos on the web, using a browser.  It helps
> to know the values of $basearch and $releasever.
> It looks like basesearch=`uname -m`
> but what is releasever?
> BTW: It would be nice if this were part of the yum man page or info
> file.

man yum.conf:

              This will be replaced with the value of the version of the pack-
              age listed in distroverpkg. This  defaults  to  the  version  of
              ‘redhat-release’ package.

--    Jos Vos <jos at xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

More information about the Rpm-list mailing list