Hello,
In fedora 16 there was a directory /var/log/rpmpkgs where I could find a record or the installed packages. This directory does not seem to exist any more. Has it moved somewhere else?
Thank.
Hello,
In fedora 16 there was a directory /var/log/rpmpkgs where I could find a record or the installed packages. This directory does not seem to exist any more. Has it moved somewhere else?
rpmpkgs is a file that gets created in the /var/log directory
Currently, in F18 this is generated by rpm-cron. Originally, this the cron function was packaged in rpm. At some point it was separated from rpm.
In F16, install rpm-cron in order to generated that file
Thank.
De rien,
MP pyz@brama.com
--
Patrick DUPRà | | email: pdupre@kegtux.org Laboratoire de Physico-Chimie de l'Atmosphère Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ======================================================================
Hi!
2013/3/13 Patrick Dupre Patrick.Dupre@univ-littoral.fr:
Hello,
In fedora 16 there was a directory /var/log/rpmpkgs where I could find a record or the installed packages. This directory does not seem to exist any more. Has it moved somewhere else?
/var/log/yum.log
or yum list installed
Greetings,
On Wed, Mar 13, 2013 at 5:01 PM, Jorge Martínez López jorgeml@gmail.com wrote:
Hi!
2013/3/13 Patrick Dupre Patrick.Dupre@univ-littoral.fr:
Hello,
In fedora 16 there was a directory /var/log/rpmpkgs where I could find a record or the installed packages. This directory does not seem to exist any more. Has it moved somewhere else?
/var/log/yum.log
or yum list installed
If you really just want a current list of installed packages (not when they were installed or what repo they came from) try:
rpm -qa
which is much faster than yum, but to be useful I would dump it in a text file:
rpm -qa > installed.txt
or if you're looking for something in particular:
rpm -qa | grep -i <name>
Richard
Am 14.03.2013 14:02, schrieb Richard Shaw:
On Wed, Mar 13, 2013 at 5:01 PM, Jorge Martínez López jorgeml@gmail.com wrote:
Hi!
2013/3/13 Patrick Dupre Patrick.Dupre@univ-littoral.fr:
Hello,
In fedora 16 there was a directory /var/log/rpmpkgs where I could find a record or the installed packages. This directory does not seem to exist any more. Has it moved somewhere else?
/var/log/yum.log
or yum list installed
If you really just want a current list of installed packages (not when they were installed or what repo they came from) try:
rpm -qa
which is much faster than yum, but to be useful I would dump it in a text file:
rpm -qa > installed.txt
and if you want a usefull list without version-numbers which are not helpful to install the same packages months later on another machine:
[root@rh:~]$ cat /usr/local/bin/packages #!/usr/bin/bash /bin/nice -n 19 /bin/rpm -qa --queryformat "%{name}\n" | sort | tee /root/packages.txt chmod 644 /root/packages.txt
On 03/14/2013 06:39 PM, Reindl Harald wrote:
and if you want a usefull list without version-numbers which are not helpful to install the same packages months later on another machine:
[root@rh:~]$ cat /usr/local/bin/packages #!/usr/bin/bash /bin/nice -n 19 /bin/rpm -qa --queryformat "%{name}\n" | sort | tee /root/packages.txt chmod 644 /root/packages.txt
I used to struggle to remove the version numbers from the names.
I have also wanted one of those. Thanks a lot for that. :-)