3 ms·
Welcome to FreeBSD! I'm glad you like it! By the way, you might regret mixing packages and ports unless you know what you're doing. If you're new to FreeBSD I'
by ZoFreX 11y ago
Welcome to FreeBSD! I'm glad you like it!
By the way, you might regret mixing packages and ports unless you know what you're doing. If you're new to FreeBSD I'd recommend picking one or the other and not mixing.
- dijit 11y agoI was told ports and pkg used the same database since FreeBSD 10? I could be wrong, it was just an off-hand comment on the freenode irc channel.
- ketralnis 11y agoThey do, so one can meet the prereqs of another. But there are still issues that pop up. For instance, if you install a port with custom compile flags and then use pkg to upgrade it, you'll lose them. There are lots of little stuff like this that can pop up
- gopowerranger 11y agoThe database isn't the problem but packages trail ports, cause they need to be tested first, so their dependencies may differ and cause issues. So mixing the two can cause an issue until you're experienced enough to know what to watch out for. If you're machine can handle it, I'd just stay with ports.
- zackelan 11y agoCorrect. More specifically, pkg-ng uses the same database as ports, and pkg-ng was made the default starting in 10. It was available in prior versions, but only opt-in and with a conversion process from the legacy package database to the newer one. https://www.freebsd.org/doc/handbook/pkgng-intro.html https://www.freebsd.org/doc/handbook/pkgng-intro.html For anyone who's tried FreeBSD in the past (before pkg-ng) but ended up going back to Linux or OS X, I would highly recommend giving FreeBSD 10.x another shot. pkg(7) is a very well-designed and modern package management system, on par with Arch's pacman and superior to apt-get, in my opinion.