LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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, 07: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 07:12 AM.
 
Old 07-01-2006, 07:19 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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 07:24 AM.
 
Old 07-01-2006, 07: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 08:45 AM
Problem while installing src RPM kmalla Red Hat 2 06-28-2006 05:21 AM
debian installation problem /usr/src ashishuttarwar Linux - Software 3 10-11-2004 04:46 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 03:24 PM

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

All times are GMT -5. The time now is 05:54 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
Open Source Consulting | Domain Registration