Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-07-2004, 03:08 PM   #1
LQ Newbie
Registered: Apr 2004
Location: Maryland, USA
Distribution: RHEL 5,6
Posts: 19

Rep: Reputation: 0
rpm and installed comparison.

I am very new to Linux and perhaps my question and general lack of understanding is boggled down in my Irix Software Mananger knowledge and usages. I am use to popping in a CD and using the Irix swmgr to tell me that the CD:

1. contains software that is older than what you have installed.
2. contains the same software and version you have installed.
3. contains newer software than what you have installed.

Is there a way (or need for that matter) to have rpm or another command compare my installed package with my .rpm file and let me know the information similar to 1,2, and 3 above? Unfortunately, all I have right now is the command line. No nice GUI stuff at the moment.
Old 06-07-2004, 04:46 PM   #2
bruno buys
Senior Member
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
There are comparing options in rpm, just do "rpm --help" to display them. As you have only cli, you'd better do "rpm --help |more" to be able to control the screen and read the whole stuff, or do a "rpm --help > rpmhelp" to create a text file with the help content.

If you try to install an older version of anything rpm will warn you, anyway.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm -ivh says installed rpm -e says not installed ??? skog Fedora 3 12-22-2004 03:52 PM
rpm -q not shows installed rpm mla Linux - Software 4 10-31-2004 02:49 PM
RPM is saying installed packages aren't installed ticky87 Linux - Newbie 4 07-26-2004 01:17 AM
How can i tell if an RPM has been installed? Jengo Linux - Software 5 07-11-2004 08:48 PM
rpm: installed or not installed... c0c0deuz Linux - General 4 07-12-2003 06:38 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration