Patrick O'Callaghan wrote, at 10/11/2010 12:48 AM +9:00:
On Sat, 2010-10-09 at 15:22 -0500, Aaron Konstam wrote:
> On Sat, 2010-10-09 at 17:53 +0100, Patrick Dupre wrote:
>> Hello,
>>
>> Before (fedora 10), the list of the installed packages was available
>> in /var/log/rpmpkgs.
>> this directory does not exists any more.
>> Where can I get the list of installed packages ?
>>
>> Thank.
>>
> Thew simplest way is to run:
> rpm -qa
That gives you the currently installed packages. However it doesn't give
the history of installs, updates and removals. Also, it tends to be
rather slow. I find "less /var/log/yum.log" useful in many situations
(there's also a "yum history [options]" incantation for more detail,
though that can also be slow).
poc
As Todd said in this thread, /var/log/rpmpkgs is created
during cron job defined in /etc/cron.daily/rpm, however from
this change:
* Thu May 14 2009 Panu Matilainen <pmatilai(a)redhat.com> - 4.7.0-4
- split cron-job into a sub-package to avoid silly deps on core rpm (#500722)
this file was moved to rpm-cron rpm. So if you want to make
cron job create /var/log/rpmpkgs everyday, you want to install
rpm-cron.
Regards,
Mamoru