*BSD News Article 45852


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!agis!vtc.tacom.army.mil!ulowell.uml.edu!wang!news.kei.com!sol.ctr.columbia.edu!startide.ctr.columbia.edu!wpaul
From: wpaul@ctr.columbia.edu (Bill Paul)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: kernel sources
Date: 13 Jun 1995 18:16:18 GMT
Organization: Columbia University Center for Telecommunications Research
Lines: 44
Message-ID: <3rkkli$rtk@sol.ctr.columbia.edu>
References: <3rk1hm$t3l@tulpi.interconnect.com.au>
NNTP-Posting-Host: startide.ctr.columbia.edu
X-Newsreader: TIN [version 1.2 PL2]

Daring to challenge the will of the almighty Leviam00se, Anthony Hill
(ahill@tulpi.interconnect.com.au) had the courage to say:

: I need to recompile the kernel of my new 2.0.5 installation, however, when I originally installed, i did not include the kernel sources. (stupid I know !)

: Anyway how do I install them now - I have FTP'd the src directory from FTP.CDROM.COM, but there is no extract script ! I have has a look at sysinstall - but it seems that it is going to go for a full reinstall - destroying everything I already have.

: Thanks - Anthony Hill
: -- 
: Anthony Hill        
: ahill@connect.com.au 

People, people, people! There's nothing magic about the distribution
archives! They're just gzipped tar files split up into chunks. All you
need to do to extract them is this:

% cat ssys.* | gzip -d | tar -xvf -

It happens that the ssys.?? files contain the kernel sources. The source
tree is rooted in /usr/src, so you could just do this:

# cd /usr/src
# cat ssys.* | gzip -d | tar -xvf -

and everything will be unpacked into /usr/src/sys for you. (Note that there
are other command combinations you can use to uncompress and untar the
distributions, but I do it this way out of habit. To each his own.)

In some cases it's a good idea to use 'tar -tvf -' just to see what files
are in the archive so that you can get an idea of where there supposed to
go. (Sometimes it isn't obvious.)

If this isn't in the FAQ and/or the install README, it should be.

-Bill

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~T~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Bill Paul            (212) 854-6020 | System Manager
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Møøse Illuminati: ignore it and be confused, or join it and be confusing!
~~~~~~ "Welcome to All Things BSDish! If it's not BSDish, it's crap!" ~~~~~~~