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 07-01-2006, 08:09 AM   #1
mihalisla
Member
 
Registered: Jun 2006
Location: greece
Distribution: ubuntu 6.06 amd64
Posts: 132

Rep: Reputation: 15
Problem *.src.rpm installation


Hello,
Is there a specific way installing src.rpm files???
How can I check dependencies and requirements for a file of this kind???
Thank you foe your attention

P.S I use suse linux 10 on 64 bit platform

Last edited by mihalisla; 07-01-2006 at 08:12 AM.
 
Old 07-01-2006, 08:19 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Source rpms (src.rpm) are installed in the same way as normal rpms. Remember though, that source rpms only contain source code for an application and are used to build binary rpms from this source code. The source code can be found somewhere in /usr/src when you have installed the src.rpm. A source rpm does not really have any dependencies, but the final package you will build from it, will probably have some dependencies. You can check these out, by looking at the spec file of this packages. Spec files are usually in a subdirectory called SPECS which is located somewhere in a subdirectory of /usr/src.

Last edited by reddazz; 07-01-2006 at 08:24 AM.
 
Old 07-01-2006, 08:17 PM   #3
gzickert
LQ Newbie
 
Registered: Feb 2004
Location: Orcutt, CA
Distribution: Fedora Core 10
Posts: 9

Rep: Reputation: 0
Building from src.rpm files

Enter "man rpmbuild" to get the arguments for the rpmbuild command. The two of interest are --rebuild and --recompile. The invoke the build which may have dependancies imbedded in the .spec file found in the .../SPEC directory after the src.rpm is installed. BTW it is install by the rpmbuild command as part of the build but may be installed using the standard rpm install command "rpm -ivh <your.rpm>". The package installation directory tree contains the .../RPMS, .../SRPMS, .../BUILD and .../SPEC branches.
 
  


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
Problem while installing src RPM kmalla Red Hat 2 06-28-2006 06:21 AM
debian installation problem /usr/src ashishuttarwar Linux - Software 3 10-11-2004 05:46 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 03:45 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