Originally posted by: AncientAIXer
You can get the install time with:
rpm -qa --queryformat '%{name}-%{version}-%{release}.%{arch} %{installtime:date}\n'|awk '{FS=" "}{printf("%-48s %s\n",$1,$2)}'|sort
lslpp use to signify RPM packages with a R:, but that seems to be deprecated except for the -L flag which does not show the install time. Also you can install RPMs with smitty. I think you can also use installp and use the same identifiers that smitty displays, but that might be deprecated as well. There is nothing to indicate how the package was installed.
Addendum: smitty actually will tell you to use geninstall for ISMP product installation. It will do RPMs as well. See man pages. I haven't done this in quite some time, but if it would also do prereqs that would be cool.
#AIX-Forum