LeRoy Cressy on Fri, 9 Feb 2001 14:00:13 -0500 |
Rupert Heesom wrote: > > I'm really not sure what the /usr/src directory is supposed to look > like. Currently mine looks like - > > -rw-rw-r-- 1 root root 18130021 Feb 8 20:44 > kernel-source-2.2.17-14.i386.rpm > drwxr-xr-x 15 523 523 4096 Feb 9 12:07 linux > drwxr-xr-x 4 root root 4096 Feb 2 13:38 linux-2.2.14 > drwxr-xr-x 6 root root 4096 Feb 9 03:00 linux-2.2.17 > -rw-r--r-- 1 root root 17561308 Feb 9 12:06 > linux-2.2.17.tar.gz > -rw-r--r-- 1 root root 19090206 Feb 2 13:41 > linux-2.2.18.tar.gz > -rw-r--r-- 1 root root 24644981 Feb 2 13:36 > linux-2.4.1.tar.gz > drwxr-xr-x 7 root root 4096 Jul 22 2000 redhat > > .....Looks a bit of a mess to me. Would you mind advising on how I > should organise this....what to delete / install, etc? > I personally like to make directories for various major kernel sources like on ftp://ftp.kernel.org. so I create v2.2 and v2.4 directories using mkdir Move the tar file to the appropriate directory and unpack it. mv linux-2.2.18.tar.gz v2.2/ cd v2.2 tar -xvzf linux-2.2.18.tar.gz ## this will unpack the gzipped tar file ## cd linux make menuconfig ## for console make xconfig ## for x windows You should also read the readme file for instructions. Now not everyone makes major kernel source directories but I like to. Also before compiling the kernel you should know your hardware. Another option is that you can put the kernel source in /usr/local/src/linux/v2.?/ -- Rev. LeRoy D. Cressy mailto:ldc@netaxs.com /\_/\ http://www.netaxs.com/~ldc ( o.o ) Phone: 215-535-4037 > ^ < Jesus saith unto him, I am the way, the truth, and the life: no man cometh unto the Father, but by me. (John 14:6) ______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|