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

Re: Where is the RH6.2 linux source?



Bruce Smith wrote:

> > > Ralph, I believe you didn't select the kernel source to be installed
> > > when you installed 6.2.  If you install the source code from RPM it
> > > will appear in /usr/src.   /mnt/cdrom/RedHat/RPMS/kernel-source-*.rpm
> >
> > I just did a custom install, not an upgrade, so the installer must have
> > chosen the kernel for me.  Indeed these is no source code in /usr/src.
>
> The "kernel" and the "kernel source" are two different things.
> All installs choose a kernel for you.  On a custom install, YOU
> can select to install the kernel _source_ (or not).
>
> > I note that there are three source files: .i386,i586,i686.  Dumb question:
> > The i586 I should use I suppose since I have a pentium 166 MHz CPU,
> > but what is the i686 for?
>
> i686 is for Pentium Pro, II, III & 4.
>
> But you shouldn't be worrying about that, since the install already
> installed it.  You need to install kernel-source*, not the iX86 kernel.
>
> > Second question:  should I name the source file 'linux' as I copoy it into
> > /usr/src/?
>
> Don't copy anything to /usr/src.  Install the kernel-source RPM,
> it will put it in /usr/src for you.
>
> --------------------------------------------

Very helpful, as always, Bruce.   Actually I just discovered the source vs
kernel image problem and did indeed
rpm kernel-source.  Unfortunately, I had no make command which I got from
BSware.   Now I need gcc which I cannot find on
BSware.   I'm guessing that gcc is included in some other rpm package, but
which?  I have an old copy (2.7.2.3-14) but will
look for gcc on the web where I should find which package contains it.

Feeling like a real newbie...    Ralph