LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rpm management on redhat linux 9 (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-management-on-redhat-linux-9-a-71605/)

Baklan 07-10-2003 01:20 PM

rpm management on redhat linux 9
 
How do I manage the rpms installed?
I had redhat 7.2 installed before and it was fairly easy, there was some program to see what i have installed and I could search for the name.
In this version on the other hand i couldn't find anything, the closest one is add/remove applications but the problem is that you can't search for rpms there and it doesn't tell you the version.
Someone please help.

david_ross 07-10-2003 01:22 PM

Look at:
man rpm

Basicly -
Install
rpm -ivh package.rpm

Uninstall:
rpm -e package

Look at installed packages:
rpm -qa

Look for an installed packages:
rpm -qa | grep package

Baklan 07-10-2003 01:26 PM

Is there some kind of a program where i dont have to enter the command each time? Like the one in 7.2?

I need to check like 25-30 packages and it's really painful to do it through the command line.

What i'm asking is some window where you can just enter the name and press search.

DrOzz 07-10-2003 01:28 PM

well its along the lines what your saying, but if you grab synaptic (which is the gui interface for apt-get) then you can see by that what is installed...there is a column that states if its installed or not and it shows the version, and if its not installed, there is nothing written there...and if you want it you can hit the install button if you like, but thats beyond what you want, but its was just a tidbit :P....anyways thats the closest thing i can think of, unless you right some kind of script.

david_ross 07-10-2003 01:28 PM

Take a look at the redhat package manager.

King of Japan 07-10-2003 01:40 PM

In KDE (don't know if it's the same with Gnome) If you go to System Tools and select System Logs, there is an RPM option.
You really can't do much with it, but it's a quick way to see what RPMs and the versions are installed.
hope this kinda helps.

Yay first post!

synecdoche 07-10-2003 03:00 PM

Is the program on 7.2 you were thinking of called kpackage?

I think that with RH9 there is an add/remove packages program under System Tools. However I seem to remember that when I checked it on my own system it only had the packages that came with Red Hat (sorry I am being vague but I am at work with Win2K).

-dave

synecdoche 07-10-2003 03:01 PM

By the way, I second the suggestion for synaptic. It is awesome and very easy to use.

-dave

King of Japan 07-10-2003 04:06 PM

On 7.2 there was a package manager that allowed you to see all packages installed and allowed you to add another or remove one that was listed.
On 9 there is indeed an add/remove rpm program under system tools, but this only shows and allows you to manipulate rpms that were included on the Redhat 9 distro media it does not show any rpms that you added that was not included with the distro.

synecdoche 07-10-2003 04:43 PM

Ok, I thought as much, but at work I can't check. :) I'd try Synaptic, then. It makes installing and uninstalling a breeze.

See: www.ahrenstorff.us/RH9-UMG.html
(not my site)

-dave

Baklan 07-10-2003 05:10 PM

King of japan, you were right about the logs, when I go to log i can see the rpms installed and their version, thats perfect!!! pretty much all that i needed :)
But ill check out Synaptic, maybe it's even easier with it.

Thank you for your input gentlemen!


All times are GMT -5. The time now is 07:36 PM.