Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2003 15:46:38 -0700
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        Ricardo Javier Aranibar Le?n <ricardo_jal@hotmail.com>
Cc:        questions@freebsd.org
Subject:   Re: Ports
Message-ID:  <20030421224638.GD70701@webserver.get-linux.org>
In-Reply-To: <Law9-F50vGMVJ7Anvce0000669d@hotmail.com>
References:  <Law9-F50vGMVJ7Anvce0000669d@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 21, 2003 at 03:36:08PM +0000 or thereabouts, Ricardo Javier Aranibar Le?n seemed to write:
> 
>    Hi List,
> 
>    I'm new with this O.S.
>    I have a problem, I recently download FreeBSD releases 5.0 I can
>    installed without problem but I need packages or ports for another
>    aplications for example apache, postgres, php etc.
>    I like to know which is better packages or ports.
>    I like donwload "all" and How i can installed this (packages or ports)
>    in my box?
>    and Where I can download the current versions for this (packages or
>    ports) ?

It Depends(tm).

Packages are pre-built binaries. Just download and install. Simple.
See `man pkg_add' for more info.

However, I like ports more. The control files live in /usr/ports, but
the programs themselves don't live there. They're downloaded when you
compile the port. BTW, ports take longer because they're built from
source code, but then they'll also be `personalized' for your machine.
Ports are divided into categories (www, irc, mail, editors, shells, etc.)
To get a list of categories:
$ ls -d /usr/ports/[a-z]*
To look in a category:
$ cd /usr/ports/CATEGORY
$ ls
Find a port you like, then `cd /usr/ports/CATEGORY/PORT'
and, as root:
# make install

It is pretty impractical to try to download all the ports -- some are
pretty obscure. It'll download the ones you choose to install
automatically.

Hope this helps,
-- Josh

> 
>    Regards Ricardo.
>      _________________________________________________________________
> 
>    Charla con tus amigos en l?nea mediante MSN Messenger: [1]Haz clic
>    aqu?
> 
> References
> 
>    1. http://g.msn.com/8HMVES/2734
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030421224638.GD70701>