FreeBSD Ports Tricks
BSD Forums writes "One of FreeBSD's biggest benefits is its ports collection. You can go years without learning more than just make install clean, but there are dozens of features built into the ports tools. OnLamp's Dru Lavigne demonstrates several of these tricks to simplify your life."
The complaint of many people who don't want to switch to BSD from Linux is that there aren't binary packages available and that they don't want to compile everything in ports. This article demonstrates that, indeed, using the ports collection, it is possible to check out and install binary packages using the pkg-* utilities.
There are tons of really neat things about FreeBSD; I won't list them here because they're probably quite off topic. But for anybody interested in learning more; feel free to contact me and/or check out the FreeBSD handbook and the FreeBSD diary.
www.sitetronics.com/wordpress
Reading the article just makes me yearn for a true BSD ports system on OS X.
The closest thing available right now is DarwinPorts but it's horrendously incomplete; I don't think any good package system can get away with lacking any way to track installed packages or perform upgrades; not only is there no facility for system-wide upgrades, but even upgrading an individual package requires an explicit uninstall, download, and reinstall.
I know that the Gentoo, Fink, and OpenDarwin folks are supposed to be collaborating on a unified package system for OS X. Does anyone in the know have any inklings that it might be like BSD ports? A BSD ports system does seem ideal for an OS that is, at the core, BSD.
Guys, what happens if I remove a piece of software after it's been installed and lots of other software depends on it. Will "Ports" warn me about what will break, or will it just go ahead and do it, and leave me scratching my head trying to figure out what happened?
Seems to cut to the heart of a real package system, IMO.
It is possabile to download older makefiles (and whatever is required) of a port via the cvsweb interface on freebsd.org.
It's not fun downloading individual files but it has saved my day on several occations.
http://www.freebsd.org/cgi/cvsweb.cgi/ports/
I've got a NetBSD box running as my external (wild, hairy, unsafe) webserver.
I'd spent quite a bit of time learning Redhat 8, relearned Redhat 9, and again started over with NetBSD. (looking at mandrake, gentoo, and a raft of others as well)
Why is is that these OS's are alike in name only? The package management is entirely different, the disk partitioning is entirely different, heck FINDING files is different ( find * | grep foo vs. find | grep foo)
Enough is slightly different to make it feel like you're learning over from scratch (adduser v. useradd), and enough is COMPLETELY different to prove the point.
One thing I've determined: If I get an applicant who says they know 'Unix' without specifying the flavor will get roundfiled.
"Draco dormiens nunquam titillandus."
It is a good article. It is quite dated though. They're using FreeBSD 4.2 and Linux 2.2.16! I wouldn't be surprised to see FreeBSD still doing worse than Linux, but not that much worse on such low end configuration.
I am TheRaven on Soylent News
But Portage is...
Broken?
I killed my Gentoo install when it failed compiling some new ebuild, or just while upgrading, again. And after getting tired of it beeping while compiling Mozilla more often then if someone was typing their thesis in vi in command mode.
Meanwhile everything compiles with FreeBSD on the same computer. So, hey...