LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   checking for installed packages (https://www.linuxquestions.org/questions/linux-newbie-8/checking-for-installed-packages-238111/)

m2azer 10-02-2004 11:58 PM

checking for installed packages
 
hi,

is there any way beside "rpm -ql package" to find out if a package is installed on your pc or not ? and how to find out what version again without using rpm command? and to find out where the package is installed?

thanks

reddazz 10-03-2004 03:40 AM

you can use synaptic, the GUI frontend to apt. I think if you use YUM, there should be a GUI available as well.

zakaluka 10-03-2004 03:53 AM

If you use KDE, you might be interested in kpackage. Check out http://www.general.uwa.edu.au/u/toivo/kpackage/.

Regards,

zakaluka2.

dubya 10-04-2004 03:36 PM

All of the aforementioned are perfectly fine ways to do what you need.

Personally, I use the command rpm -qa | grep package-name

The rpm -qa command displays a list of all the packages installed on your system with there version number within the name.

Piping the command into grep ( | grep) goes through the list and picks out strings with the words you specify in them.

If you have the time you should read the man pages for rpm and grep to fully understand.

Hope this helps.

chrism01 10-05-2004 07:15 AM

I recommend using the -i (case-insensitive) switch on the grep cmd, just to be sure... Linux is case sensitive....


All times are GMT -5. The time now is 02:59 PM.