Why i need extract not one needed port, but full catalog never needed ports?

@lbutlr kremels at kreme.com
Thu Sep 5 21:22:23 UTC 2019


On 5 Sep 2019, at 10:27, Polytropon <freebsd at edvax.de> wrote:
> The ports tree doesn't consume much disk space.

The only time I can see the size of ports being an issue is if you are running on a mini machine like a pi, but even then, it’s what, about 1GB? Put in a 32GZB microSD instead of that 8.

> If you want to avoid ports, you can always use pkg: "pkg install"
> will not require the ports tree to be installed; it will resolve
> the dependencies required by a specific port, and download and
> install them. No further disk space is needed for building, as
> no building happens. Only a small database is maintained by pkg
> itself.

This works very well up until you need to customize a package, and then you need to figure out yourself if that change requires dependancies to also be rebuilt. AFAIK, there’s no real good way to integrate a pkg install and a ports install.

But if you are fine with existing packages and their build options (and I’d guess most people are?) pkg is definitely the way to go.


-- 
Stone circles were common enough everywhere in the mountains. Druids
built them as weather computers, and since it was always cheaper to
build a new 33-Megalith circle than to upgrade an old slow one, there
were generally plenty of ancient ones around --Lords and Ladies



More information about the freebsd-questions mailing list