User Tools

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 [2015/10/13 13:08] luke7858rpm [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 1: Line 1:
-=== Query Packages === +~~NOCACHE~~ 
-Show current package installed for a service +====== RPM ====== 
-<sxh bash> +{{tabembed>[[rpm_general|RPM, [[rpm_changelog|changelog (Installed Packages), [[rpm_changelog_repoquery|changelog (not installed)}}
-rpm -qa package +
-</sxh> +
-\\ +
-=== Find Configuration files === +
-Find configuration files associated with a package +
-<sxh bash> +
-rpm -qc package +
-</sxh> +
-\\ +
-==== Package Install Date ==== +
-<sxh bash> +
-rpm -qa --qf '%{INSTALLTIME} %-40{NAME} %{INSTALLTIME:date}\n' sort -n cut -d' ' -f2- +
-</sxh> +
-That queries all your installed RPM packages (rpm -qaand prints them using a format (--qfwith the time of installation first in seconds since the epoch(%{INSTALLTIME}), then the name of the package in a 40 character field, left justified (%-40{NAME}), then the installation time as a date and time (%{INSTALLTIME:date}). The result is sorted by the first time field, then that time field is removed. +
-\\ +
-Source: http://superuser.com/questions/366380/how-to-list-recent-yum-updates +
-<sxh bash> +
- +
-</sxh> +
-<sxh bash> +
- +
-</sxh> +
-<sxh bash> +
- +
-</sxh>+
  
rpm.1444741723.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki