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 03-08-2008, 01:51 AM   #1
sandeeprana
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Rep: Reputation: 0
Arrow Steps to use src rpm??


Any1 can tell the steps how to use and install src rpm in REDHAT Linux?
 
Old 03-08-2008, 02:28 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
rpm -i <filename>.src.rpm

That will place an rpm .spec file in /usr/src/redhat/SPECS, and a source-code tarball in /usr/src/redhat/SOURCES.

In a console, cd to /usr/src/redhat/SPECS, and run the command 'rpmbuild -bb <filename>.spec'. If the dependencies are satisfied, when the compile process is completed, you will have a binary installable rpm in /usr/src/redhat/RPMS. You would then install the rpm with 'rpm -i <filename>.rpm".

You can find more information by searching the RedHat website documentation and support.

Last edited by bigrigdriver; 03-08-2008 at 02:29 AM.
 
Old 03-08-2008, 02:45 AM   #3
sandeeprana
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
can u explain simple meaning of What is dependencies?

RPMBUILD Error:-
it says devel file reqd...

Last edited by sandeeprana; 03-08-2008 at 02:48 AM.
 
  


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
is it ok to use i386 rpm for i686 & how about src rpm amolgupta Linux - Software 4 05-01-2013 09:45 AM
rpm -i --prefix=/home/user package.src.rpm doesn't work? registering Linux - Software 2 07-18-2007 12:28 PM
How can I generate / build and RPM from *.src.rpm file sreekumartg Red Hat 3 02-23-2007 06:23 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 08:19 AM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 04:24 PM


All times are GMT -5. The time now is 10:12 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