November 22, 2024, 05:29:36 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: find packages in a distro  (Read 7265 times)

Offline veerloh

  • Linux Noob !
  • *
  • Posts: 6
find packages in a distro
« on: May 24, 2009, 06:18:11 AM »
Hi,

Is there a way to find out which software packages are by default present in my linux
distro. I have Fedora 8 and i want to know which packages are already present to avoid
downloading of available packages. Also if the packages are present how do i utilise them
or install them.

   I want to view a .chm file. How do i make sure if i have such a viewer already
present in my distro. And if it is not, then which is the best viewer in this case.

Regards,
VeeR

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: find packages in a distro
« Reply #1 on: May 24, 2009, 08:05:08 AM »
Well, you can use following to see all packages installed on Fedora.
Code: [Select]
$ rpm -qa
Also there is online database for fedora 8 packages and I hope it will help you a lot..
https://admin.fedoraproject.org/pkgdb/collections/id/14

You can use kchmviewer to view CHM files under linux.

Offline veerloh

  • Linux Noob !
  • *
  • Posts: 6
Re: find packages in a distro
« Reply #2 on: May 25, 2009, 08:28:45 AM »
Thanks Ricky it works.

I also found another way to do it:


1. Command to find out the packages that i have already installed
    yum list installed

2. Command to show packages availableto me in my currently configured repository
    yum list available

3. Also if i want to modify the previous output in order to find packages starting with foo
    yum list available foo\*