urpm::install - Package installation transaction routines for urpmi
Standard logger for transactions
See URPM for parameters
Install packages according to each hash (remove, install or upgrade).
options: test, excludepath, nodeps, noorder (unused), delta, callback_inst, callback_trans, callback_uninst, callback_open_helper, callback_close_helper, post_clean_cache, verbose (more options for trans->run) excludedocs, nosize, noscripts, oldpackage, replacepkgs, justdb, ignorearch
See URPM for callback parameters
There's 2 callbacks that are specific to urpm::install though:
urpm::install
open_helper($data, $type, $id)
close_helper($db, $data, $type, $id)
Those are called when opening/closing a package file, whether when rpmlib verify or install packages.
The close_helper callback receives an extra $db parameter used in eg: drakx to check whether a package really was installed through a DB query.
close_helper
Copyright (C) 1999-2005 MandrakeSoft SA
Copyright (C) 2005-2010 Mandriva SA
Copyright (C) 2011-2020 Mageia
To install urpmi, copy and paste the appropriate command in to your terminal.
cpanm
cpanm urpmi
CPAN shell
perl -MCPAN -e shell install urpmi
For more information on module installation, please visit the detailed CPAN module installation guide.