LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 04: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, 05:50 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 11:30 AM   #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 11:32 AM.
 
Old 04-09-2007, 12:42 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:56 AM.

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
Open Source Consulting | Domain Registration