From owner-freebsd-questions Wed Jan 24 21:22:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from viper.syncnet.dynodns.net (p10-max42.syd.ihug.com.au [203.173.147.202]) by hub.freebsd.org (Postfix) with ESMTP id C3EE137B402 for ; Wed, 24 Jan 2001 21:22:32 -0800 (PST) Received: (from syncman@localhost) by viper.syncnet.dynodns.net (8.11.1/8.11.1) id f0P5HCt06213; Thu, 25 Jan 2001 16:17:12 +1100 (EST) (envelope-from syncman) From: Andrew Sinclair Date: Thu, 25 Jan 2001 16:17:11 +1100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="iso-8859-1" To: "Ming Tang" References: <000f01c08668$8a2b7b00$06c909c0@chmpgn1.il.home.com> In-Reply-To: <000f01c08668$8a2b7b00$06c909c0@chmpgn1.il.home.com> Subject: Re: One file in /usr/bin is missing Organization: SyncNET! Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-Id: <01012516171100.00442@viper.syncnet.dynodns.net> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday 25 January 2001 11:48, you wrote: > Hi - > > I accidentally deleted/modified a file 'troff' which is needed for > man to work while I am doing sysinstall. I am on FreeBSD Release 4.2. > > Could anybody tell me how or where to download a single bin file or anyway > for me to just compile one from its source cose? > > > Ming 1) If you have the FreeBSD 4.2-RELEASE CD-ROM, mount it and skip to step 3. 2) Confirm you have the binary distribution for 4.2-RELEASE. If not, create a folder named 4.2-RELEASE/bin and download all the files from the following URL to that folder: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.2-RELEASE/bin 3) Once you have the files, try the following commands: $ su Use "/cdrom" or "4.2-RELEASE/bin" depending on how you retrieved the files: # cd /cdrom # cat bin/bin.?? | tar -zxvf - -C / usr/bin/troff This may take a while since tar has to search the combined contents of all bin.?? files for this file. As for compiling from sources, see the following URL for more information: http://www.freebsd.org/handbook/cutting-edge.html Also try the following port by Jordan Hubbard: net/cvsupit (be warned, sources can save time at the expense of disk space! ;-) -- Regards, Andrew Sinclair (syncman@ihug.com.au) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message