PDA

View Full Version : Yum



sathishenet
20th April 2011, 08:15 AM
Hi Team,

Recently I have installed FC 14, I need to know how many packages installed through YUM command prompt in local system.

Kindly let me know .

Regards,
Sathish

Miikka
20th April 2011, 10:32 AM
yum list installed
That gives out every installed package in your system. If you're trying to find out how many you have manually installed with yum install, I don't know. You can count the lines of the output with

yum list installed |wc -l

lystor
20th April 2011, 11:15 AM
Hi Team,
Recently I have installed FC 14, I need to know how many packages installed through YUM command prompt in local system.

You can do that by rpm (http://pkgs.org/fedora-15/fedora-i386/rpm-4.9.0-0.beta1.7.fc15.1.i686.rpm.html) command:

rpm -qa | wc -l