From owner-freebsd-questions@FreeBSD.ORG Tue Sep 12 10:41:40 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D854C16A47C for ; Tue, 12 Sep 2006 10:41:40 +0000 (UTC) (envelope-from jeff.rollin@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A98243D4C for ; Tue, 12 Sep 2006 10:41:40 +0000 (GMT) (envelope-from jeff.rollin@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so1981936wxd for ; Tue, 12 Sep 2006 03:41:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:subject:cc:in-reply-to:mime-version:content-type:references; b=BSbxNbSsui9oF6JkP3/OeEZLJzMEtpaBBMKK+i67PysIOiLIZFf6VSVZB82NtTnwzz4cET6dSzUhYjEzyz45By/+3ueC0odeI0j9XAv8kq45jAjjg6CKyam+cwXbyAipl4mWIsI3uVn4w8SKQvG04LLMaknEaB4fnKKPXpQK3iQ= Received: by 10.90.113.20 with SMTP id l20mr1995461agc; Tue, 12 Sep 2006 03:41:39 -0700 (PDT) Received: by 10.90.98.12 with HTTP; Tue, 12 Sep 2006 03:41:38 -0700 (PDT) Message-ID: <8a0028260609120341v61920cf5p3aad4710ef3bd634@mail.gmail.com> Date: Tue, 12 Sep 2006 11:41:38 +0100 From: "Jeff Rollin" Cc: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: The Ports collection / FreeBSD CDs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 10:41:40 -0000 On 12/09/06, Arindam wrote: > > I am a Linux user and have been recently trying to shift to FreeBSD. I > got hold of a couple of FreeBSD CD ISOs (version 6.1) - their names > being 6.1-RELEASE-i386-discX.iso, X being 1 and 2. > > I did my installation with the Disc1 alone. I did not need Disc2. What > is the purpose of Disc2 and what can I do with it. > > I chose not to install the ports collection because as of now, I do > not have access to Internet in my home-network and it would take a > little while before I can set it up for browsing. Does Disc2 contain > some of the ports collection? > > Finally, what is the ports collection? To take your last question first: The ports collection allows you to install software from source that does not come as part of the base distribution - that equates, more or less, to stuff that on FreeBSD installs itself to directories in / and /usr. The base distribution includes stuff like the X Window System, but not KDE, Firefox or MH, the mail handler. These latter three are available as ports, which when compiled go into /usr/local by default on FreeBSD. The FreeBSD installation program asks if you want "to install the ports collection," but what it actually does is install a bunch of directories (under /usr/ports) that you can use to browse what's available in the ports collection. For example, to download a port, say, Firefox compiled for use with the Linux compatibility layer, go into /usr/ports/linux/linux-firefox and type: $ make install clean (note you need to have Linux compatibility already installed and turned on to make this work). ($ stands for the prompt, as you probably know); make reads the Makefile, and according to instructions in it, downloads the sources and compiles them; make install and make clean (given here in shorthand) respectively install the compiled port and clean up after make. The alternative way to install software is from packages, which are pre-compiled ports. You can use sysinstall to install them, or pkg_add from the commandline. Disc2 mostly contains some of these packages (others are on Disc1). Cheers You're welcome! Jeff.