LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-14-2003, 01:40 AM   #1
futurist
Member
 
Registered: Mar 2002
Location: malaysia
Distribution: Mandriva 2006 RC1
Posts: 486

Rep: Reputation: 30
src.rpm and i386.rpm ?


which one can be installed in redhat?
what's the different ?
 
Old 07-14-2003, 01:50 AM   #2
aizkorri
Member
 
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Blog Entries: 1

Rep: Reputation: 55
Install the i386.rpm.
The src one is the source rpm. You only need it if you want to check the source code.
 
Old 07-14-2003, 01:54 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,639

Rep: Reputation: Disabled
Quote:
Originally posted by aizkorri
... The src one is the source rpm. You only need it if you want to check the source code.
Does that mean, that it is incomplete for compilation? I mean, no makes, no headers etc., just plain c / c++?
 
Old 07-14-2003, 01:57 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306

Rep: Reputation: 66
Quote:
Originally posted by JZL240I-U
Does that mean, that it is incomplete for compilation? I mean, no makes, no headers etc., just plain c / c++?
no, that just means it's a source code rpm. it's just
a tarball in a slightly enhanced package
 
Old 07-14-2003, 02:03 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,639

Rep: Reputation: Disabled
Why an rpm then? tarball would be enough, since one uses the locally installed libs and compiler anyhow (no dependencies etc). I mean, what is the advantage of the rpm format here?
 
Old 07-14-2003, 02:08 AM   #6
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306

Rep: Reputation: 66
it's for redhat. if you extract an rpm, you'll see the other
stuff there. if you compile the src.rpm with an rpm
command, then install the resulting rpm, then your rpm
database knows it's installed. and it's easy to uninstall
or upgrade later.
 
Old 07-14-2003, 03:14 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,639

Rep: Reputation: Disabled
Mhm. So all it does, is making an rpm -i <new program> unnecessary . Glorious.
 
Old 07-14-2003, 03:16 AM   #8
kublador
Member
 
Registered: Aug 2002
Location: Philippines
Distribution: Slackware, CentOS, Ubuntu
Posts: 325

Rep: Reputation: 30
i got a source rpm file.. what should i do first to install the whole rpm and make the rpm up and running? thanks
 
Old 07-14-2003, 03:48 AM   #9
aizkorri
Member
 
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Blog Entries: 1

Rep: Reputation: 55
check this thread:

http://www.linuxquestions.org/questi...threadid=71504
 
Old 07-14-2003, 05:31 AM   #10
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306

Rep: Reputation: 66
i don't ever use source rpm's unless i can't find the
source any other way, but it has it's advantages.
with one command it will extract the source, configure and
compile it, create a binary rpm, delete the extracted
source, and install the binary rpm, updating the rpm
database, to keep track of the install.
 
  


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
Building RPM via src.Rpm ivanatora Linux - Newbie 2 02-20-2006 04:29 PM
Difference between src.rpm files and source.rpm files ja_nch Red Hat 2 09-06-2003 06:12 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 - Software

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