<SNIP>
> That makes it very clear -- thank you, Bas. This is the overview that is
> missing from the (printed) manual. Question: if the ports system is so
> wonderful, why are there packages?
Ports will download source code and compile the app on your machine locally.
This is ok for smaller apps, but for things like KDE it could take literally
forever on a slower computer. That's what packages are for. They contain not
the source, but precompiled binaries plus information on where these
binaries should go and how to configure them. This then happens
automatically without lengthy compiles.
The advantage of the ports system is that it's usually more up to date than
packages, and you can insert compile-time optimizations or options. In the
file /etc/make.conf you can define your CPU-type so that the compiler will
take into account special features of your CPU such as MMX or SSE(2) and it
probably also compiles the binary so that it takes into account different
types and amounts of cache but I'm no expert on this so I could be wrong.
Another advantage of ports are tunable variables. I remember the instant
messenger Gaim comes with options to turn on and off support for a
spell-checker and audio by setting variables. The port will let you know
about such options first thing when you type 'make' in its directory, also
you can find it in the pkg-descr or pkg-message files that are present in
every port's directory. pkg-message isn't always there, but -descr sure is.
It offers a more detailed description of the port you're looking at.
Also a word of warning about Java (and maybe some other ports with
lincensing problems), since you seem new to FreeBSD and probably will be
installing Java for your web browser sometime in the future. There are Java
ports in the ports tree, but those involve some work because of licensing
constraints by Sun Microsystems. It involves registering at Sun's website,
downloading two large files and a third smaller file.. which is a hassle.
But once those files are in /usr/ports/distfiles you can just type 'make' in
/usr/ports/java/jdk13 and things will work fine. I emphatically advise you
not to try and install Java on FreeBSD on your own.. the hassle you have to
go through with this port is absolutely nothing compared with the pool of
problems you'll land in when you go about it on your own.
Bas
>> Stay informed about: Make Install