LinuxQuestions.org
Help answer threads with 0 replies.
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 05-02-2008, 07:18 PM   #1
ufmale
Member
 
Registered: Feb 2007
Posts: 385

Rep: Reputation: 30
how to install src.rpm


I have learned how to compile the src and install them, or install from the rpm package. But I don't know how to install the package.src.rpm.

Is there an extra step to do it, other than the rpm -i?
 
Old 05-02-2008, 07:27 PM   #2
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Rep: Reputation: 30
I do not know about the rpm command. I am new to Linux. If you have the adminstration control in KDE then you can go to software and install new packages from there. I have KDE 3.5.
 
Old 05-02-2008, 07:29 PM   #3
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
The .src.rpm is source code that needs to be compiled. When you install the .src.rpm, you get a source tarball in /usr/src/.../.../SOURCES, and an rpm .spec file in /usr/src/.../.../SPECS.

Your task is to compile the binary .rpm that installs in the usual manner.

Go to the SPECS folder, and run the command 'rpmbuild -bb <filename>.spec' to build the binary rpm which will be placed in /usr/src/.../.../RPMS.

/.../.../ represents sublevels of /usr/src. The exact path will vary among rpm based distros.
 
Old 05-03-2008, 12:32 AM   #4
mintojoseph
LQ Newbie
 
Registered: Nov 2006
Location: Kerala
Distribution: Fedora, Debian, RHEL
Posts: 29
Blog Entries: 1

Rep: Reputation: 15
You can install src.rpm using the same way as installing an rpm.

# rpm -ivh fileanme.src.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
install src.rpm ust Linux - Software 7 10-13-2005 09:34 AM
how to install a .src.rpm labced501 Mandriva 11 10-07-2004 04:59 PM
Can't install src.rpm corbis_demon Linux - Newbie 4 06-30-2004 02:09 PM
how to install *.src.rpm vanhelsing Linux - Software 1 06-10-2004 09:35 AM
when install *.src.rpm.................... eye Linux - Software 1 09-01-2003 01:05 PM


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