Fedora Linux Support Community & Resources Center
  #1  
Old 17th August 2011, 03:24 AM
synops Offline
Registered User
 
Join Date: Aug 2010
Posts: 18
linuxfedorafirefox
How to install src.rpm file

hey

I just wanted to install ViPEC program which has no rpm file in repository. So downloaded ViPEC-3.2.0-1.src.rpm from sourceforge. Tried to install using package manager it gave the reply
Code:
could not do simulate: Backend will not install a src rpm file

So I googled src.rpm came up with http://www.linuxquestions.org/questi...m-file-245358/


Code:
$ rpm -ivh ViPEC-3.2.0-1.src.rpm 
   1:ViPEC                  ########################################### [100%]
$ rpmbuild --rebuild ViPEC-3.2.0-1.src.rpm 
Installing ViPEC-3.2.0-1.src.rpm
error: line 11: Unknown tag: Copyright: GPL
$ rpmbuild -bi ViPEC-3.2.0-1.src.rpm 
~ViPEC-3.2.0-1.src.rpm does not appear to be a specfile.
Any help ...any one

PS : Any tutorial what is this src.rpm?
Reply With Quote
  #2  
Old 17th August 2011, 03:59 AM
smr54 Offline
Registered User
 
Join Date: Jan 2010
Posts: 5,567
linuxchrome
Re: How to install src.rpm file

Quick answer is that srpms are source rpms--they aren't the binary, they're what can be used to build the binary rpm package.

Apparently, it's an older rpm--something like Unknown tag is always a bad sign, meaning that something in the nature of rpm syntax has changed. It's probably now license GPL instead of copyright. Or, it may be made for a different version of Linux

Generally, one installs an srpm file then builds it in their home directory, rather than using root.
http://www.ibm.com/developerworks/library/l-rpm1/

Although that is about building from scratch, rather than building from an srpm.

http://perso.b2b2c.ca/sarrazip/dev/r...sh-course.html

Might also be of use.

Looking at the spec file, they say it's being built for Mandrake and RedHat. You might find it quicker to try to build from the tarball if you have any experience with that. Looking at the instructions for building from source, seems pretty easy and probably easier than whipping the rpm into shape if you aren't experienced with doing that (and your question about what is a srpm indicates that you're probably new to this.)
Reply With Quote
  #3  
Old 17th August 2011, 04:22 AM
synops Offline
Registered User
 
Join Date: Aug 2010
Posts: 18
linuxfedorafirefox
Re: How to install src.rpm file

@smr54 Thanks for the info. Will try to install from tar file. Help much appreciated.
Reply With Quote
  #4  
Old 17th August 2011, 07:46 AM
lystor Offline
Registered User
 
Join Date: May 2006
Location: Ukraine, Donetsk
Age: 31
Posts: 64
linuxfirefox
Re: How to install src.rpm file

Hi
ViPEC-3.2.0-1.src.rpm is too old and unsupported (released on 2003).
You will have problems on rebuilding it with Qt4.
Try other software.
Reply With Quote
Reply

Tags
file, install, srcrpm

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
install .ko file hydra Using Fedora 9 4th February 2013 02:44 PM
how to install .run file?? aguntuk Using Fedora 5 2nd October 2012 05:09 PM
cannot install rpm file kiki2009 Installation, Upgrades and Live Media 0 11th July 2011 07:16 AM
install entirely from the DVD file on a usb HD? marko Installation, Upgrades and Live Media 3 29th September 2006 01:43 PM
install for source problem. wont "make" install file Noobe_r6quick Using Fedora 1 8th June 2005 12:34 AM


Current GMT-time: 12:48 (Sunday, 21-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...Parcul Nicolae Romanescu - Farnborough, Hampshire Photos - Zanano