LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-27-2012, 11:56 PM   #1
saran_redhat
Member
 
Registered: May 2009
Location: chennai
Posts: 247

Rep: Reputation: 16
RPM installation


Hi,

How to RPM commands in linux.
When I type RPM its show command not found error.can any one help me for the same.

Thanks
 
Old 11-28-2012, 12:00 AM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,463

Rep: Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067
What distribution are you running?
 
Old 11-28-2012, 01:35 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,357

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
If you've got RedHat/Centos (6.x), it should be in /bin; check your path and that dir
Code:
 which rpm
/bin/rpm

 ls -lZ /bin/rpm
-rwxr-xr-x. root root system_u:object_r:rpm_exec_t:s0  /bin/rpm
 
Old 11-28-2012, 03:36 AM   #4
clocker
Member
 
Registered: Sep 2011
Distribution: fedora, redhat, mint
Posts: 87

Rep: Reputation: Disabled
I hope you are not writting in upper case. it is 'rpm' not 'RPM'.
 
Old 11-28-2012, 06:10 AM   #5
RaviTezu
Member
 
Registered: Nov 2012
Location: India
Distribution: Fedora, CentOs, RHEL
Posts: 164

Rep: Reputation: 24
Depends on the Disrto you are using.

**Note: Please specify the basic details,while asking for something.
 
Old 11-28-2012, 10:56 AM   #6
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,262
Blog Entries: 11

Rep: Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291
terminal>
Code:
whereis rpm
 
  


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 installation vinaytp Linux - Newbie 5 03-12-2010 08:33 AM
rpm -ihv hp_qla2x00src-8.01.07.25-1.linux.rpm during Qlogic driver installation Dennisliu Linux - Software 5 09-10-2008 05:08 PM
Hosed my rpm installation (i.e. "rpm -e rpm") Mad Scientist Fedora 6 03-02-2007 12:42 AM
RPM Installation hkillen Linux - Newbie 5 09-22-2006 03:36 PM
RPM installation RedDevils Fedora 8 12-24-2003 09:07 AM


All times are GMT -5. The time now is 11:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration