RPM::VersionSort - RPM version sorting algorithm, in perl XS
use RPM::VersionSort; rpmvercmp("2.0", "2.0.1");
RPM uses a version number sorting algorithm for some of its decisions. It's useful to get at this sorting algoritm for other nefarious purposes if you are using RPM at your site.
Daniel Hagerty, <hag@linnaean.org>
perl(1).
To install RPM::VersionSort, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RPM::VersionSort
CPAN shell
perl -MCPAN -e shell install RPM::VersionSort
For more information on module installation, please visit the detailed CPAN module installation guide.