ruby-rpm project provides bindings for accessing RPM packages and databases from Ruby. It includes the low-level C API to talk to rpm as well as Ruby classes to model the various objects that RPM deals with (such as packages, dependencies, and files).
De-Compress archive and enter its top directory.
$ ruby install.rb config
$ ruby install.rb setup
# ruby setup.rb install
You can also install files into your favorite directory by supplying install.rb some options. Try "ruby setup.rb --help".
· ruby 1.6
· rpm 4.0.0 or newer (tested on 4.0.4 and 4.2.1)
What's New in This Release:
· A hash method has been added. for RPM::Version.
· Zero epoch is treated the same as no epoch in RPM::Version::.