[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Installing driver source code?



On Wed, 12 Jun 2002 21:50:39 -0700
Aaron Baranoff tsc tdk com wrote:

> 
> I am reletively new to Linux. I did a clean install of Red Hat 7.3 Pro
> and now I want to install the source code for the network drivers.
> What is the best way to do that? The GnuRPM tool seems to ignore my
> requests to install the kernel sources from the C SOURCE cds.
> 
> Thanks in advance,
> Aaron

How are you checking it? SRPMs won't usually show as being installed if
checked via a package manager or even the command line. You can install
them a hundred times and they'll still show as not being installed.

The best way to see if they're installed is to look in
/usr/src/redhat/SOURCES to see if the tarball for the kernel source is
there, and in /usr/src/redhat/SPECS for the spec file for the kernel. If
those exist, the source was installed.

You'll have to manually unpack it from SOURCES to get to it.

What you might be wanting is the one that has the word 'source' in the
RPM name. It places that code in /usr/src/redhat/linux-<kernel-version>
where you can work with, tweak and build the kernel of your desire. That
source is on the binary CD, not the SRPMs cd. It would show up via a
package manager and/or command line check.

-- 
Secret hacker rule #11: hackers read manuals.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]