This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| rpm [2025/05/07 23:26] – ken | rpm [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 | ||
| </ | </ | ||
| + | \\ | ||
| + | === --queryformat|--qf === | ||
| + | |||
| List installed rpm packages by package name, including version | List installed rpm packages by package name, including version | ||
| < | < | ||
| Line 9: | Line 12: | ||
| </ | </ | ||
| - | ==== 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: | ||
| < | < | ||
| Line 24: | Line 27: | ||
| **The NAME Tag**\\ | **The NAME Tag**\\ | ||
| - | The NAME tag is used to display the name of the package. | + | * |
| - | Array: No\\ | + | |
| - | Used with modifiers: N/A\\ | + | |
| \\ | \\ | ||
| **The VERSION Tag**\\ | **The VERSION Tag**\\ | ||
| - | The VERSION tag is used to display the version of the packaged software.\\ | + | * The VERSION tag is used to display the version of the packaged software.\\ |
| - | Array: No\\ | + | |
| - | Used with modifiers: N/A\\ | + | * Used with modifiers: N/A\\ |
| + | \\ | ||
| + | **The RELEASE Tag**\\ | ||
| + | * The RELEASE tag is used to display the release number of the package.\\ | ||
| + | * Array: No\\ | ||
| + | * Used with modifiers: N/A\\ | ||
| + | \\ | ||
| + | **The EPOCH Tag**\\ | ||
| + | * The EPOCH tag is used to display the epoch number of the package.\\ | ||
| + | * Array: No\\ | ||
| + | * Used with modifiers: N/A\\ | ||
| + | \\ | ||
| + | **The SUMMARY Tag**\\ | ||
| + | * The SUMMARY tag is used to display a one-line summation of the packaged software.\\ | ||
| + | * Array: No\\ | ||
| + | * Used with modifiers: N/A\\ | ||
| + | \\ | ||
| + | **The DESCRIPTION Tag**\\ | ||
| + | * The DESCRIPTION tag is used to display a detailed summation of the packaged software.\\ | ||
| + | * Array: No\\ | ||
| + | * Used with modifiers: N/A\\ | ||
| + | \\ | ||
| + | **The BUILDTIME Tag**\\ | ||
| + | * The BUILDTIME tag is used to display the time and date the package was created.\\ | ||
| + | * Array: No\\ | ||
| + | * Used with modifiers: :date\\ | ||
| + | \\ | ||
| + | **The BUILDHOST Tag**\\ | ||
| + | * The BUILDHOST tag is used to display the hostname of the system that built the package.\\ | ||
| + | * Array: No\\ | ||
| + | * Used with modifiers: N/A\\ | ||
| + | \\ | ||
| + | **The INSTALLTIME Tag**\\ | ||
| + | * The INSTALLTIME tag is used to display the time and date the package was installed.\\ | ||
| + | * Array: No\\ | ||
| + | * Used with modifiers: :date\\ | ||
| + | \\ | ||
| + | **The SIZE Tag**\\ | ||
| + | * The SIZE tag is used to display the total size, in bytes, of every file installed by this package.\\ | ||
| + | * 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**\\ | ||
| + | * Unordered List ItemThe GIF tag is **not** available for use with '' | ||
| + | \\ | ||
| + | **The XPM Tag**\\ | ||
| + | * Unordered List ItemThe XPM tag is **not** available for use with '' | ||
| + | \\ | ||
| + | **The LICENSE Tag**\\ | ||
| + | * The LICENSE tag is used to display the distribution license of the package.\\ | ||
| + | * Array: No\\ | ||
| + | * Used with modifiers: N/A\\ | ||
| \\ | \\ | ||
| - | **The RELEASE Tag** | ||
| - | |||
| - | The RELEASE tag is used to display the release number of the package. | ||
| - | |||
| - | Array: No | ||
| - | |||
| - | Used with modifiers: N/A | ||
| - | The EPOCH Tag | ||
| - | |||
| - | The EPOCH tag is used to display the epoch number of the package. | ||
| - | |||
| - | Array: No | ||
| - | |||
| - | Used with modifiers: N/A | ||
| - | The SUMMARY Tag | ||
| - | |||
| - | The SUMMARY tag is used to display a one-line summation of the packaged software. | ||
| - | |||
| - | Array: No | ||
| - | |||
| - | Used with modifiers: N/A | ||
| - | The DESCRIPTION Tag | ||
| - | |||
| - | The DESCRIPTION tag is used to display a detailed summation of the packaged software. | ||
| - | |||
| - | Array: No | ||
| - | |||
| - | Used with modifiers: N/A | ||
| - | The BUILDTIME Tag | ||
| - | |||
| - | The BUILDTIME tag is used to display the time and date the package was created. | ||
| - | |||
| - | Array: No | ||
| - | |||
| - | Used with modifiers: :date | ||
| - | The BUILDHOST Tag | ||
| - | |||
| - | The BUILDHOST tag is used to display the hostname of the system that built the package. | ||
| - | |||
| - | Array: No | ||
| - | |||
| - | Used with modifiers: N/A | ||
| - | The INSTALLTIME Tag | ||
| - | |||
| - | The INSTALLTIME tag is used to display the time and date the package was installed. | ||
| - | |||
| - | Array: No | ||
| - | |||
| - | Used with modifiers: :date | ||
| - | The SIZE Tag | ||
| - | |||
| - | The SIZE tag is used to display the total size, in bytes, of every file installed by this package. | ||
| - | |||
| - | 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 | ||