pkg vs ports tree? reddit / freebsd ---------------------------------------------------------------------- PUBLIQclopAccountant · 2020-08-18 02:13 I recently seemed to have turned the ports tree into a footgun during a recent upgrade of FreeBSD: during the "upgrade all ports" step, I had a FILEFULL and it's been a long list of tracking down reasons why I get segfaults from improperly linked dependencies (it's a cheap VPS with limited disk space). Re-installing the same packages with pkg worked smoothly. Is there a reason for me to go back to the ports tree if I have not already run into the need to change the compile-time options set by pkg? I'm especially vulnerable to footgunning if I'm presented with settings screens. ---------------------------------------------------------------------- oratpart · 2020-08-18 04:04 pkg is more sensible most of the time—especially if it’s a slow vps. I think it’s a good habit to check the compile options, but even when I do want to compile something, I often save myself and time by pkg installing the build dependencies. It’s a great habit to check the build options though. I check it them on freshports often. Oh, don’t forget, if you want the latest packages, switch to latest in /etc/pkg/FreeBSD.conf ---------------------------------------------------------------------- daemonpenguin · 2020-08-18 12:24 People should almost always use pkg over ports unless you really need to change a compile-time configuration option. With ports you end up building the same binary package that pkg already provides for you. Plus ports take up more disk space and are less convenient to maintain. ---------------------------------------------------------------------- Daedalus312 · 2020-08-18 13:40 I prefer to use the ports tree only when I want to compile a program with certain parameters.