Hacker News new | ask | show | jobs
by haroldp 3418 days ago
FreeBSD has had a package system (pkg_add, etc...) since... the mid 90s? The packages were just ports pre-compiled on freebsd.org's computer.

The new package system is much better, and more apt-like. Again though, they are ports pre-compiled on freebsd.org's computer.

Most port options can be selected through an obvious curses interface that comes up when you make the port these days. The defaults are usually reasonable. As long as unix software is distributed with important compile-time options, I will enjoy how easily they are managed through ports.

1 comments

Even better, you can easily run your own pkg repository with binaries compiled for multiple architectures (with build enviroments isolated with "jail") and providing the full range of compilation customization included in the ports tree.

https://www.freebsd.org/doc/handbook/ports-poudriere.html

>you can easily run your own pkg repository with binaries compiled for multiple architectures (with build enviroments isolated with "jail") and providing the full range of compilation customization included in the ports tree.

Sure, if you're running a few servers. It doesn't help if you're running one though.

And it still takes time to compile and build.

It's a choice. If you can live with binary packages produced by the FreeBSD project, why not use those?

If you want something special, why not set up poudriere and update during the night. Realistically, if you are running FreeBSD in production, you want a spare server to try new releases, so you can just as well use that box to build binary packages.

It can help by letting you offload the work to something like a vps, which also negates the compile/build time.