From owner-freebsd-questions@FreeBSD.ORG Thu Mar 6 19:11:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72D351065680 for ; Thu, 6 Mar 2008 19:11:05 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id 3A3DC8FC15 for ; Thu, 6 Mar 2008 19:11:04 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so12270waf.3 for ; Thu, 06 Mar 2008 11:11:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ZRTDxSeEFZf7QFmaRB3QJKAqMQO82sg7/PDqCh6KFNw=; b=jNC9OLh7Q9bAAOKpL9VJNFa9NTI8tTapy9vEIz7bZWTM9lhGCmTM1UCvV/ECynJCicz/bfw7lv070m29hGcZLP+PR8fFabznQeN/FfxXsEpYaJI6AMdB++TFZ6Mfcsc+S9BlwVFtseQ1XHw/FEdF+tQWi/NDFtr6Ard098P6qcc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=r+3EfT/uMRYpXbmHiGSVIl5GQuBD7YRoy6LODAVdV8s8uNU7e2vsz7Ea/tqNZj3+rSdEalLKlu0QPhk9C7xldszjVVVMAY0nUKt4c3FkmGsRi8y43uOrlq9C1mJUxFhzMWDxpEH0N1pYtU2pokmfy6YcjuSOQRo1QogXKAFZr1c= Received: by 10.114.198.1 with SMTP id v1mr261960waf.89.1204830664444; Thu, 06 Mar 2008 11:11:04 -0800 (PST) Received: by 10.114.14.5 with HTTP; Thu, 6 Mar 2008 11:11:04 -0800 (PST) Message-ID: <8d23ec860803061111u2e8f60ecn6faa965f7254005b@mail.gmail.com> Date: Thu, 6 Mar 2008 14:11:04 -0500 From: Schiz0 To: Nex6 In-Reply-To: <8d23ec860803061109o28655d1fr4f8e86ef1806e492@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <42779f7f0803061032o1bdd967fr1fd3d8d01cf9cf73@mail.gmail.com> <8d23ec860803061109o28655d1fr4f8e86ef1806e492@mail.gmail.com> Cc: freebsd questions Subject: Re: some simple Questions 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: Thu, 06 Mar 2008 19:11:05 -0000 On Thu, Mar 6, 2008 at 2:09 PM, Schiz0 wrote: > On Thu, Mar 6, 2008 at 1:32 PM, Nex6 wrote: > > Hi all, > > > > I am new to Freebsd tho, long time Linux/Windows user. > > > > install software: > > seems the way to to this is pkg_add -r software-name > > There are two ways to install software. Using packages (pkg_add) or > using ports. See my response below for details on how to use ports. > > > > system update: > > still not sure? tho this is probly something really simple, seems more the > > one way to do it. > > FreeBSD comes with the source code for the entire system. So, to > upgrade the system, you need to do two things: > 1. Checkout the source code for whatever update you want to use > 2. Compile and install that source code. > > For the first one, see: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html > > For the second one, see: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html > > > > main difference between packages and ports? > > Packages are pre-compiled binaries (which are created from the ports). > The ports collection contains small Makefiles. When you install from > ports, it does the following: > 1. Downloads the source code from whatever website it is hosted on. > 2. Apply the FreeBSD patches/upgrades/whatever > 3. Compile that source code > 4. Install the binaries to the proper location > > > > > thanks in adavnce. > > > Ah, something I forgot to add. The only reason the packages system exist is basically to bypass the compile time. For example, it would take a long time to compile things such as OpenOffice, xorg, or KDE. So instead of waiting that long, you can just install the pre-compiled package and it's ready to go. You don't have to wait for it to compile.