From owner-freebsd-questions Thu Nov 11 3:20:12 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.bezeqint.net (mail-a.bezeqint.net [192.115.106.23]) by hub.freebsd.org (Postfix) with ESMTP id 88B5F14C36 for ; Thu, 11 Nov 1999 03:20:08 -0800 (PST) (envelope-from sarig@bezeqint.net) Received: from asmodean ([212.25.119.176]) by mail.bezeqint.net (Sun Internet Mail Server sims.3.5.1999.07.30.00.05.p8) with SMTP id <0FL10006X6537Z@mail.bezeqint.net> for freebsd-questions@freebsd.org; Thu, 11 Nov 1999 13:19:56 +0200 (IST) Date: Thu, 11 Nov 1999 13:19:15 +0200 From: Oren Sarig Subject: Re: Ports versus packages To: fredrik.carlen@telia.com, freebsd-questions@freebsd.org Message-id: <010701bf2c36$99798f80$b07719d4@asmodean> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 5.00.2314.1300 Content-type: text/plain; charset="windows-1255" Content-transfer-encoding: 7bit X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 References: <99111020442400.01521@bozo.skeleton.se> X-Priority: 3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG There is a small misunderstanding here... `porting' means taking the source to a program for another system and modifing it to run on yours. That is not installing. Packages are precompiled. They come in .tgz format. You are not suppose to extract them. You install them with: pkg_add .tgz See `man pkg_add` for more details. Ports are patches to the source code to get it to run on freebsd. The ports collection is a collection of patches to get 2000+ programs running on freebsd. To use them, go to /usr/ports// and type make all install The make program will fetch the program source, apply patches, compile it, and install. If you just want to get a program running, just get the binary package (either from FTP or the CD), and do a pkg_add to install it. That is all it takes to install a program. Even simpler than installing windows programs ;) -- Oren Sarig sarig@bezeqint.net Note: Packages are actually precompiled ports ----- Original Message ----- From: Fredrik Carlen To: Sent: Wednesday, November 10, 1999 9:38 PM Subject: Ports versus packages > What does happen when you do pkg_add? > I thought I had this figured out, but obviously, I haven't... > > I thought packages were pre-compiled, and that ports were like adapting the > software to install on FreeBSD, only done by somebody else than me (who has a > very rudimentary knowledge of this anyway). > > I have tried, unsuccessfully, to get some info on the process of "installing" > UNIX software (although I know this is called porting...), does anybody know > some free way of getting this info? I really can't afford to buy that Gerg > Lehey book "Porting UNIX software" right now, and I don't even know whether I > need it or not. > > I can solve a number of intricate mathematic problems, but I can't get Lynx to > install properly... :( > > /Fredrik > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message