Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-05-2003, 10:04 AM
|
#1
|
Member
Registered: May 2003
Location: Netherlands
Distribution: Ubuntu, Puppy
Posts: 386
Rep:
|
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
|
|
|
10-09-2003, 01:23 PM
|
#2
|
LQ Newbie
Registered: Sep 2003
Location: Pacific Northwest
Distribution: Recompiled Redhat
Posts: 8
Rep:
|
Looking for answer to same exact question.
what is the RPM 4.2 command equivelant of <#rpm --rebuild some.src.rpm> ?
|
|
|
10-09-2003, 07:14 PM
|
#3
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
rpmbuild -bb package.src.rpm
|
|
|
10-10-2003, 02:29 PM
|
#4
|
LQ Newbie
Registered: Sep 2003
Location: Pacific Northwest
Distribution: Recompiled Redhat
Posts: 8
Rep:
|
Thanks born4linux, i also found that <rpmbuild --rebuild package.src.rpm> worked nicely as well.
Rob
|
|
|
02-08-2004, 10:29 AM
|
#5
|
LQ Newbie
Registered: Oct 2003
Location: USA
Distribution: redhat 9/fedora
Posts: 13
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:45 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|