Changes between Version 10 and Version 11 of RpmHowToEndUsers


Ignore:
Timestamp:
Aug 24, 2011, 12:02:52 PM (13 years ago)
Author:
dmik
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RpmHowToEndUsers

    v10 v11  
    2121RPM is a low-level tool used to perform operations on package files directly and also to query the local database of installed packages in cases where YUM doesn't provide the required information. End users rarely need to use this tool.
    2222
    23 ||||'''rpm -i''' __pkg__.rpm               ||Install the package contained in the file "__pkg__.rpm" (all required packages must be already installed)
    24 ||'''rpm -qi -p''' __pkg__.rpm             ||'''rpm -qi''' __pkg__             ||Display information about the package file "__pkg__.rpm" or about the installed package __pkg__ (name, version, etc.)
    25 ||'''rpm -qR -p''' __pkg__.rpm             ||'''rpm -qR''' __pkg__             ||Display the requirements of the package file "__pkg__.rpm" or of the installed package __pkg__
    26 ||'''rpm -ql -p''' __pkg__.rpm             ||'''rpm -ql''' __pkg__             ||List all files contained in the package file "__pkg__.rpm" or of the installed package __pkg__
    27 ||'''rpm -q --changelog -p''' __pkg__.rpm  ||'''rpm -q --changelog''' __pkg__  ||Print the list of changes provided by the version of the package contained in "__pkg__.rpm" or by the installed package __pkg__
    28 ||||'''rpm -qf''' /full/path/to/file       ||Search for an installed package owning the file "/full/path/to/file"
     23||||'''rpm -i''' __pkg-XYZ__.rpm               ||Install the package contained in the file "__pkg-XYZ__.rpm" (all required packages must be already installed)
     24||'''rpm -qi -p''' __pkg-XYZ__.rpm             ||'''rpm -qi''' __pkg__             ||Display information about the package file "__pkg-XYZ__.rpm" or about the installed package __pkg__ (name, version, etc.)
     25||'''rpm -qR -p''' __pkg-XYZ__.rpm             ||'''rpm -qR''' __pkg__             ||Display the requirements of the package file "__pkg-XYZ__.rpm" or the installed package __pkg__
     26||'''rpm -ql -p''' __pkg-XYZ__.rpm             ||'''rpm -ql''' __pkg__             ||List all files contained in the package file "__pkg-XYZ__.rpm" or the installed package __pkg__
     27||'''rpm -q --changelog -p''' __pkg-XYZ__.rpm  ||'''rpm -q --changelog''' __pkg__  ||Print the list of changes provided by the version of the package contained in "__pkg-XYZ__.rpm" or by the installed package __pkg__
     28||||'''rpm -qf''' /full/path/to/file       ||Search for an installed package owning the file "/full/path/to/file" (e.g. "/@unixroot/bin/sh")
    2929
    3030You may find more detailed information about YUM and RPM using the following links: