NAME
Sys::OsPackage::Driver::RPM - RedHat/Fedora RPM packaging handler for Sys::OsPackage
VERSION
version 0.3.1
SYNOPSIS
my $ospkg = Sys::OsPackage->instance();
# check if packaging commands exist for this system
if (not $ospkg->call_pkg_driver(op => "implemented")) {
return 0;
}
# find OS package name for Perl module
my $pkgname = $ospkg->call_pkg_driver(op => "find", module => $module);
# install a Perl module as an OS package
my $result1 = $ospkg->call_pkg_driver(op => "modpkg", module => $module);
# install an OS package
my $result2 = $ospkg->call_pkg_driver(op => "install", pkg => $pkgname);
DESCRIPTION
⛔ This is for Sys::OsPackage internal use only.
The Sys::OsPackage method call_pkg_driver() will call the correct driver for the running platform. The driver implements these methods: pkgcmd, modpkg, find, install, is_installed and ping.
SEE ALSO
Fedora Linux docs: Package management system https://docs.fedoraproject.org/en-US/quick-docs/package-management/
GitHub repository for Sys::OsPackage: https://github.com/ikluft/Sys-OsPackage
BUGS AND LIMITATIONS
Please report bugs via GitHub at https://github.com/ikluft/Sys-OsPackage/issues
Patches and enhancements may be submitted via a pull request at https://github.com/ikluft/Sys-OsPackage/pulls
LICENSE INFORMATION
Copyright (c) 2022 by Ian Kluft
This module is distributed in the hope that it will be useful, but it is provided “as is” and without any express or implied warranties. For details, see the full text of the license in the file LICENSE or at https://www.perlfoundation.org/artistic-license-20.html.
AUTHOR
Ian Kluft <cpan-dev@iankluft.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2022 by Ian Kluft.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)