next up previous contents
Next: 4.1.3 Conflicting Files Up: 4.1 Red Hat Package Previous: 4.1.1 Installing and Upgrading   Contents

4.1.2 INSTALL AND UPGRADE OPTIONS

-force
Same as using both -replacepkgs, -replacefiles, and -oldpackage.
-h,
-hash Print 50 hash marks as the package archive is unpacked. Use with -v for a nice display.
-oldpackage
Allow an upgrade to replace a newer package with an older one.
-percent
Print percentages as files are unpacked from the package archive. This is intended to make RPM easy to run from other tools.
-replacefiles
Install the packages even if they replace files from other, already installed, packages.
-replacepkgs
Install the packages even if some of them are already installed on this system.
-allfiles
Installs or upgrades all the missingok files in the package, regardless if they exist.
-nodeps
Don't do a dependency check before installing to upgrading a package.
-noscripts
Don't execute the preinstall or postinstall scripts.
-notriggers
Don't execute scripts which are triggered by the installation of this package.
-excludedocs
Don't install any files which are marked as docu- mentation (which includes man pages and texinfo documents).
-includedocs
Install documentation files. This is only needed if excludedocs: 1 is specified in an rpmrc file.
-test
Do not install the package, simply check for and report potential conflicts.
-prefix
<path> This sets the installation prefix to <path> for relocatable packages.
-ignorearch
This allows installation or upgrading even if the architectures of the binary RPM and host don't match.
-ignoreos
This allows installation or upgrading even if the operating systems of the binary RPM and host don't match.


next up previous contents
Next: 4.1.3 Conflicting Files Up: 4.1 Red Hat Package Previous: 4.1.1 Installing and Upgrading   Contents