Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-10-2003, 02:20 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Location: Miami
Distribution: RedHat 9
Posts: 11
Rep:
|
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.
|
|
|
07-10-2003, 02:22 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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
|
|
|
07-10-2003, 02:26 PM
|
#3
|
LQ Newbie
Registered: Jul 2003
Location: Miami
Distribution: RedHat 9
Posts: 11
Original Poster
Rep:
|
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.
|
|
|
07-10-2003, 02:28 PM
|
#4
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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.
|
|
|
07-10-2003, 02:28 PM
|
#5
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Take a look at the redhat package manager.
|
|
|
07-10-2003, 02:40 PM
|
#6
|
Member
Registered: Jul 2003
Location: Lincoln Nebraska
Distribution: Redhat 9
Posts: 61
Rep:
|
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!
|
|
|
07-10-2003, 04:00 PM
|
#7
|
Member
Registered: Jul 2003
Location: British Columbia, Canada
Distribution: CollegeLinux 2.5
Posts: 148
Rep:
|
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
|
|
|
07-10-2003, 04:01 PM
|
#8
|
Member
Registered: Jul 2003
Location: British Columbia, Canada
Distribution: CollegeLinux 2.5
Posts: 148
Rep:
|
By the way, I second the suggestion for synaptic. It is awesome and very easy to use.
-dave
|
|
|
07-10-2003, 05:06 PM
|
#9
|
Member
Registered: Jul 2003
Location: Lincoln Nebraska
Distribution: Redhat 9
Posts: 61
Rep:
|
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.
|
|
|
07-10-2003, 05:43 PM
|
#10
|
Member
Registered: Jul 2003
Location: British Columbia, Canada
Distribution: CollegeLinux 2.5
Posts: 148
Rep:
|
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
|
|
|
07-10-2003, 06:10 PM
|
#11
|
LQ Newbie
Registered: Jul 2003
Location: Miami
Distribution: RedHat 9
Posts: 11
Original Poster
Rep:
|
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 03:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|