1. feels closer to "old fashioned non-Canonical'ed UNIX" which I was brought up on.
2. Way less politics due to license.
3. Less crazy forking and wheel reinventing (basically everything Ubuntu isn't).
4. It has orders of magnitude better documentation
5. pkgng is actually really nice
6. separation of core OS vs ports/packages so easy to stage updates compared to catch all Linux distros.
7. pf is miles better than iptables
8. ZFS.
9. I have a Sun Ultra 30 sitting in my cupboard which Linux doens't like.
10. Has valgrind that works properly unlike the other BSD's.
That's about it but it's enough.
My use cases are: personal use, professional use (devops), professional use (production).
So much goodness!
I've used FreeBSD and before that Gentoo (which has a package manager, portage, influenced by BSDs ports system) for more than a decade, and I've never understood the appeal of apt or the other Debian tools. In my experience, they just don't work as well as ports, constantly require adding additional repositories (because the official repository is missing some relatively popular package for who knows what reason) - which may or may not conflict with others I have -, and in general, are just more work than ports, portage, or MacPorts.
Inflicting apt on a system with a superior package management system seems like a sysadmin's bright idea - having no experience with ports or other package managers.
I've used apt on several systems - Maemo, Debian, Ubuntu, OS X (as fink), and always found it to be one of the weakest package managers (I've even had better experience with yum/RPM).
For installing:
pushd /usr/ports/*/$PACKAGE ; sudo make install clean && popd
For upgrading (ports): sudo portsnap fetch update ; sudo portmaster -ad
(In reality, portsnap is run nightly).A quick read - http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/po...
I use FreeBSD on a desktop at home and for a personal web server. I'm not performing large scale deployments (but if I were, I'd probably write a port for my application, define my dependencies, and install it just like anything else).
(cd /usr/ports/*/$PACKAGE ; sudo make install clean)
See http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu... echo BATCH=1 >>/etc/make.conf
No more prompts for options - they should all certainly have sane defaults. If not, it's a good reason to run send-pr. make config-recursive && make install clean
which runs `make config` on the package and all dependencies before installing. It's the best of both worlds IMO -- the port will build unattended and you still have a chance up-front to skim the available options for things you need. make -DBATCH install clean
in port directory will do unattended build with default settings. It affects current port and all of its dependencies. -c
--config
Run "make config-conditional" before everything for all tasks.
-C
--force-config
Run "make config" before everything for all tasks.
http://www.gsp.com/cgi-bin/man.cgi?topic=portupgradeI admit I had some level of apt-envy back when I was using portupgrade. pkgng has nicely eliminated that.
That will pull binary packages from ports builds on another machine and install and configure them.
Although many things don't work on debian/kfreebsd, and searching for help is tricky, do I go the debian way or the freebsd way, it's always updated with few problems.
e.g. the latest entry in UPDATING is for any port depending on converters/libiconv. Using portmaster or portupgrade requires querying the package database for the list of depending ports, force-deleting libiconv and then force-rebuilding from the previously saved list. With pkgng it's a case of "pkg upgrade && pkg autoremove".
See http://lists.debian.org/debian-bsd/2013/07/msg00060.html and http://asdfasdf.debian.net/~salinger/eglibc.fbtl/
I ask because Debian has a FreeBSD "port". That is, it offers the Debian userland on top of the FreeBSD kernel.
So, depending on what you're looking for, you might be able to gain access to the best of both worlds.
If you're after the FreeBSD experience (i.e. the community, the BSD command line utils, ports, and the preference for permissive licenses), then I guess Debian/kFreeBSD really isn't of any interest to you.