LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-05-2003, 09:04 AM   #1
CloudBuilder
Member
 
Registered: May 2003
Location: Netherlands
Distribution: Ubuntu, Puppy
Posts: 386

Rep: Reputation: 30
Source RPM Installation


Hallo,

I am trying to install a NVIDA driver for networking (belongs to an ASSUS mobo on RedHat 9 - kernel 2.4.20.8

I'have got the package from nvidia.

There is an instruction that says the following :

Binary RPM Installation

The binary installation procedure involves downloading the binary RPM file appropriate to your
distribution and installing it. If you are using the SuSE distribution, see NOTE: SuSE
INSTALLATIONS, above.
Become root and install using rpm:
example% cd <directory with the rpm file>
example% su
Password: ******
example# rpm -i nforce{package name}-1.0-1.rpm


Source RPM Installation

The Source RPM will create an RPM appropriate for your system. If you are using the SuSE RPM,
see NOTE: SuSE INSTALLATIONS, above. To install:
example% cd <directory with the rpm file>
example% su
Password: ******
example# rpm --rebuild nforce{package name}-1.0-1.src.rpm
At this point, the SRPM will be recompiled. When this command has completed, look for a line that
says:
Wrote: /usr/src/{RPM root dir}/RPMS/i386/nforce{package name}-1.0-1.rpm
This will provide you with the name and location of the new RPM. You should then install this RPM
per the instructions in the Binary RPM Installation section.

I have to use the Source ppm first, because there is no driver
that is of the same number as the kernel.

The Package is called NVIDIA_nforce-1.0-0261.src.rpm

When I gave the command
#rpm rebuild nforce NVIDIA_nforce-1.0-0261.src.rpm
I get a list of all the options

When I gave the command
#rpm rebuild NVIDIA_nforce-1.0-0261.src.rpm

Can anybody tell me in simple terms what is going wrong?

Should I use rebuilddb ? Or is it something else?

Thank you.

cb
 
Old 10-09-2003, 12:23 PM   #2
starrcannon
LQ Newbie
 
Registered: Sep 2003
Location: Pacific Northwest
Distribution: Recompiled Redhat
Posts: 8

Rep: Reputation: 0
Looking for answer to same exact question.
what is the RPM 4.2 command equivelant of <#rpm --rebuild some.src.rpm> ?
 
Old 10-09-2003, 06:14 PM   #3
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
rpmbuild -bb package.src.rpm
 
Old 10-10-2003, 01:29 PM   #4
starrcannon
LQ Newbie
 
Registered: Sep 2003
Location: Pacific Northwest
Distribution: Recompiled Redhat
Posts: 8

Rep: Reputation: 0
Thanks born4linux, i also found that <rpmbuild --rebuild package.src.rpm> worked nicely as well.

Rob
 
Old 02-08-2004, 09:29 AM   #5
mitchdulx
LQ Newbie
 
Registered: Oct 2003
Location: USA
Distribution: redhat 9/fedora
Posts: 13

Rep: Reputation: 0
I just installed Fedora and now I want to install the sources but i'm having a hard time understanding the steps that i need to take. I've got the 3 SRPM cds.

1) should i copy the entire cd contents to my /home directory first?
2) is there a way to specify that all of the SRPMs get installed, or must i install them individually?
3) when i run "rpm -ivh abiword-2.0.1-1.src.rpm" i get the following
1:abiword ########################################### [100%]

i'm not sure what happened here. i can't find where the source was uncompressed, if at all.
what does this step do?

4) when i get the sources, should i expect that i can install all the source and do a make from the top of a tree to build the entire distro? i was hoping to eventually customize the distro and read/learn the source, but i'm not sure if i've got the wrong expectations

5) any good site for understanding how to build distro source? i'm reading the Linux 2.4 kernel book, but it doesn't discuss setting up a development environment.

any help is appreciated.
 
  


Reply



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
cannot build source rpm/ rpm questions kpachopoulos Fedora 3 07-24-2005 09:15 AM
how do I make a binary rpm from a source rpm darkone66669 Linux - Software 3 01-11-2005 10:42 AM
where does it go when rpm a rpm source file feetyouwell Linux - Software 1 09-03-2004 04:14 PM
Difference between src.rpm files and source.rpm files ja_nch Red Hat 2 09-06-2003 06:12 PM
binary vs source RPM (and other RPM questions) calimer Linux - Software 4 06-22-2003 12:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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