The Memory Bank

...for memory blanks

Site Tools


rpm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rpm [2025/05/07 23:22] kenrpm [2026/01/16 03:37] (current) – external edit 127.0.0.1
Line 4: Line 4:
 rpm --install --force --nosignature rsyslog-8.2408.0-1.el8.x86_64.rpm rpm --install --force --nosignature rsyslog-8.2408.0-1.el8.x86_64.rpm
 </code> </code>
 +\\
 +=== --queryformat|--qf ===
 +
 List installed rpm packages by package name, including version List installed rpm packages by package name, including version
 <code> <code>
Line 9: Line 12:
 </code> </code>
  
-==== Available Tags For --queryformat ====+=== Available Tags For --queryformat ===
 The following tags were defined at the time this book was written. For the latest list of available queryformat tags, please issue the following command: The following tags were defined at the time this book was written. For the latest list of available queryformat tags, please issue the following command:
 <code> <code>
Line 17: Line 20:
 Keep in mind that the list of tags produced by the --querytags option is the complete list of all tags used by RPM internally; for instance, during package builds. \\ Keep in mind that the list of tags produced by the --querytags option is the complete list of all tags used by RPM internally; for instance, during package builds. \\
 Because of this, some tags do not produce meaningful output when used in a ''--queryformat'' format string.\\ Because of this, some tags do not produce meaningful output when used in a ''--queryformat'' format string.\\
-__List of --queryformat Tags__ +For every tag in this section, there can be as many as three different pieces of information:\\
-For every tag in this section, there can be as many as three different pieces of information:+
  
-    A short description of the tag.+  *     A short description of the tag. 
 +  *     Whether the data specified by the tag is an array, and if so, how many members are present in the array. 
 +  *     What modifiers can be used with the tag. 
  
-    Whether the data specified by the tag is an array, and if so, how many members are present in the array. +**The NAME Tag**\\ 
- +  *  The NAME tag is used to display the name of the package.\\ 
-    What modifiers can be used with the tag.  +  *  Array: No\\ 
- +  *  Used with modifiers: N/A\\ 
-The NAME Tag +\\ 
- +**The VERSION Tag**\\ 
-The NAME tag is used to display the name of the package. +  The VERSION tag is used to display the version of the packaged software.\\ 
- +  Array: No\\ 
-Array: No +  Used with modifiers: N/A\\ 
- +\\ 
-Used with modifiers: N/A +**The RELEASE Tag**\\ 
-The VERSION Tag +  The RELEASE tag is used to display the release number of the package.\\ 
- +  Array: No\\ 
-The VERSION tag is used to display the version of the packaged software. +  Used with modifiers: N/A\\ 
- +\\ 
-Array: No +**The EPOCH Tag**\\ 
- +  The EPOCH tag is used to display the epoch number of the package.\\ 
-Used with modifiers: N/A +  Array: No\\ 
-The RELEASE Tag +  Used with modifiers: N/A\\ 
- +\\ 
-The RELEASE tag is used to display the release number of the package. +**The SUMMARY Tag**\\ 
- +  The SUMMARY tag is used to display a one-line summation of the packaged software.\\ 
-Array: No +  Array: No\\ 
- +  Used with modifiers: N/A\\ 
-Used with modifiers: N/A +\\ 
-The EPOCH Tag +**The DESCRIPTION Tag**\\ 
- +  The DESCRIPTION tag is used to display a detailed summation of the packaged software.\\ 
-The EPOCH tag is used to display the epoch number of the package. +  Array: No\\ 
- +  Used with modifiers: N/A\\ 
-Array: No +\\ 
- +**The BUILDTIME Tag**\\ 
-Used with modifiers: N/A +  The BUILDTIME tag is used to display the time and date the package was created.\\ 
-The SUMMARY Tag +  Array: No\\ 
- +  Used with modifiers: :date\\ 
-The SUMMARY tag is used to display a one-line summation of the packaged software. +\\ 
- +**The BUILDHOST Tag**\\ 
-Array: No +  The BUILDHOST tag is used to display the hostname of the system that built the package.\\ 
- +  Array: No\\ 
-Used with modifiers: N/A +  Used with modifiers: N/A\\ 
-The DESCRIPTION Tag +\\ 
- +**The INSTALLTIME Tag**\\ 
-The DESCRIPTION tag is used to display a detailed summation of the packaged software. +  The INSTALLTIME tag is used to display the time and date the package was installed.\\ 
- +  Array: No\\ 
-Array: No +  Used with modifiers: :date\\ 
- +\\ 
-Used with modifiers: N/A +**The SIZE Tag**\\ 
-The BUILDTIME Tag +  The SIZE tag is used to display the total size, in bytes, of every file installed by this package.\\ 
- +  Array: No\\ 
-The BUILDTIME tag is used to display the time and date the package was created. +  Used with modifiers: N/A\\ 
- +\\ 
-Array: No +**The DISTRIBUTION Tag**\\ 
- +  The DISTRIBUTION tag is used to display the distribution this package is a part of.\\ 
-Used with modifiers: :date +  Array: No\\ 
-The BUILDHOST Tag +  Used with modifiers: N/A\\ 
- +\\ 
-The BUILDHOST tag is used to display the hostname of the system that built the package. +**The VENDOR Tag**\\ 
- +  The VENDOR tag is used to display the organization responsible for marketing the package.\\ 
-Array: No +  Array: No\\ 
- +  Used with modifiers: N/A\\ 
-Used with modifiers: N/A +\\ 
-The INSTALLTIME Tag +**The GIF Tag**\\ 
- +  * Unordered List ItemThe GIF tag is **not** available for use with ''--queryformat''.\\ 
-The INSTALLTIME tag is used to display the time and date the package was installed. +\\ 
- +**The XPM Tag**\\ 
-Array: No +  * Unordered List ItemThe XPM tag is **not** available for use with ''--queryformat''.\\ 
- +\\ 
-Used with modifiers: :date +**The LICENSE Tag**\\ 
-The SIZE Tag +  The LICENSE tag is used to display the distribution license of the package.\\ 
- +  Array: No\\ 
-The SIZE tag is used to display the total size, in bytes, of every file installed by this package. +  Used with modifiers: N/A\\ 
- +\\
-Array: No +
- +
-Used with modifiers: N/A +
-The DISTRIBUTION Tag +
- +
-The DISTRIBUTION tag is used to display the distribution this package is a part of. +
- +
-Array: No +
- +
-Used with modifiers: N/A +
-The VENDOR Tag +
- +
-The VENDOR tag is used to display the organization responsible for marketing the package. +
- +
-Array: No +
- +
-Used with modifiers: N/A +
-The GIF Tag +
- +
-The GIF tag is not available for use with --queryformat. +
-The XPM Tag +
- +
-The XPM tag is not available for use with --queryformat. +
-The LICENSE Tag +
- +
-The LICENSE tag is used to display the distribution license of the package. +
- +
-Array: No +
- +
-Used with modifiers: N/A+
 The PACKAGER Tag The PACKAGER Tag
  
rpm.1746660155.txt.gz · Last modified: (external edit)