LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-09-2007, 05:56 AM   #1
shahid.mehmood
LQ Newbie
 
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
problem to install rpm in redhat


Dears,
I am new in linux. I've problem to install rpm in redhat enterprise edition 4. i installed rpm. when check
whether it is installed or not.

rpm -q rpmname

the message is rpm not installed

WHENI TRY AGAIN IT SAYS RPM ALRADY INSTALLED.


WHAT I DO TO INSTALLL THE RPM
 
Old 04-09-2007, 06:50 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
clearly not a member intro. moved to Linux - Newbie.

the -q option wants a package name, not a file name. package name = myprogram, filename = myprogram.1.23.i386.rpm
 
Old 04-09-2007, 12:30 PM   #3
me4linux
Member
 
Registered: Aug 2006
Distribution: Fedora 7
Posts: 165

Rep: Reputation: 30
Quote:
Originally Posted by shahid.mehmood
Dears,

WHAT I DO TO INSTALLL THE RPM

try the following command

rpm -qa | grep package_name

reply whether this worked or not

Last edited by me4linux; 04-09-2007 at 12:32 PM.
 
Old 04-09-2007, 01:42 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
that won't help him as the confugsion is between a file name and a package name.
 
  


Reply


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 package install in RedHat rafiqul Linux - Newbie 4 02-03-2006 12:08 PM
Install rpm packages in RedHat shahrokhnikou Linux - Software 1 07-28-2005 03:50 PM
how to install redhat rpm from command line. droodle Linux - Newbie 4 07-26-2005 07:00 AM
Trying to install mtv-1.0.6.8-1.i386.rpm on redhat 9 cedric_b Red Hat 2 02-17-2004 05:43 PM
Looking for Quake 3 Arena rpm install for REDHAT 9 adam_ant Linux - Software 1 09-23-2003 01:58 PM


All times are GMT -5. The time now is 12:48 PM.

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