Hi all.
How can i determine the Linux version (distribution) for which was compiled rpm packet?
views:
28answers:
1
+1
A:
There is no such ways to determine the OS name and version from the content of the file.
Normally a RPM file name contains all these details. According to the RPM file naming convention the file name must be like :
name-version-release.architecture.rpm
Please check this link for details.
Joe
2010-06-17 12:02:00
None of those are OS name and version, though? In practice it's normally it's set in the release field, e.g. release=1.el5, but that's not described on that page.
Rup
2010-06-17 12:23:43