LinuxQuestions.org
Visit Jeremy's Blog.
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 10-29-2003, 05:45 AM   #1
EpicLinux
LQ Newbie
 
Registered: Oct 2003
Posts: 24

Rep: Reputation: 15
Understanding RPM?


Right as a few of you might no im having all end of problems with my network card driver on Redhat 9, so iv gone looking for the latest Linux driver for my card and have come up with this:

Using the Source RPM Package
The updated drivers are best installed by using the source RPM to create a custom binary RPM with kernel modules for your system:
ftp://ftp.scyld.com/pub/network/netd...-3.1-1.src.rpm

Use the following commands to install and test the driver pack:

# Transfer the Scyld PCI Netdriver package
# Perhaps use ncftpget ftp://ftp.scyld.com/pub/network/netd...-3.1-1.src.rpm
rpm -i ftp://ftp.scyld.com/pub/network/netd...-3.1-1.src.rpm
# Build the binary version for your kernel
cd /usr/src/{redhat,TurboLinux,packages}/
rpm -bb SPECS/netdriver*.spec
# Now install it your newly built package.
rpm -i --force RPMS/i386/netdrivers-3.1-1.i386.rpm

The --force option is needed because the new drivers may conflict with the existing drivers installed by the kernel package. If this occurs you will see a warning message for each driver that has been updated.


Untill my network card is installed i dont have the net, so how do i run this thing?
 
Old 10-29-2003, 07:35 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
I don't understand your question... you have even pasted in a step by step guide on installing the drivers, yet haven't read it?? are you having problems with a particular step of that procedure?
 
Old 10-29-2003, 10:45 AM   #3
Shachaf
Member
 
Registered: Sep 2003
Location: Port Townsend, WA
Posts: 30

Rep: Reputation: 15
You should somehow get the RPM on a floppy, and follow the instructions from there (rpm -i /mnt/floppy/netdrivers-3.1-1.src.rpm).
 
Old 10-29-2003, 11:34 AM   #4
EpicLinux
LQ Newbie
 
Registered: Oct 2003
Posts: 24

Original Poster
Rep: Reputation: 15
right, well there link dont work and the only files i can get hold of are .c files, how do i install them and how do i know what files i need?
 
Old 10-29-2003, 02:35 PM   #5
Starchild
Member
 
Registered: Sep 2003
Location: At a tea party with Alice in Wonderland.
Distribution: Fedora 7
Posts: 65

Rep: Reputation: 15
Quote:
Originally posted by EpicLinux
right, well there link dont work and the only files i can get hold of are .c files, how do i install them and how do i know what files i need?
C source files?

A very simple program could probably just be compiled 'gcc file.c -o file'
Where you'd put the compiled stuff after that, I really couldn't help with.

A more complex program would have (a) Makefile(s)
usually invoked 'make' or 'make -f Makefile'

Is there a configure script somewhere ?
run it before running make.

usually you'd do 'make install' to install. Of course, there is usually an INSTALL text file that's recommended reading before trying to 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
help understanding ln dr_zayus69 Linux - General 3 01-14-2005 09:33 PM
A better understanding! nny0000 Slackware 1 04-14-2004 01:01 PM
Understanding YaST2- how to install RPM packages MoghNX01 Linux - Software 2 03-21-2004 09:41 PM
Understanding X?? nny0000 Linux - General 2 02-25-2004 03:07 AM
Understanding df -k itsjustme Linux - General 6 10-28-2003 01:08 PM


All times are GMT -5. The time now is 12:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration