4 ms·
I have a deep respect for BSD family, and their way of doing things, but regardless of OS and distro, apt is probably the most advanced package manager currentl
by bayindirh 8y ago
I have a deep respect for BSD family, and their way of doing things, but regardless of OS and distro, apt is probably the most advanced package manager currently.
When used with aptitude, it's very easy to use, extremely powerful and flexible. Also, it has the most extensive knowledge on details of packages in terms of dependency graphs and modification of files which belongs to packages.
At least, that's what I saw in 14 years.
- rleigh 8y agoWhile this is certainly true, have you used pkg in the last year or so? It's come on leaps and bounds. The solver is now on a par with apt's SAT-solver, and overall it's (IMO) almost as good as apt at this point.
- bayindirh 8y agoNo, honestly I didn't. I've installed OpenBSD to a VM in the beginning of the year to learn it, but I had no time to either play or learn using it. Looks like I need to resume learning it. Thanks.
- ComputerGuru 8y agoOpenBSD isn’t using the pkg we are talking about, fwiw. You’ll need to install FreeBSD for that.
- bayindirh 8y agoThanks, will try FreeBSD first, then.
- sverige 8y agoOpenBSD's package manager is actually really easy to learn and use. Even I can do it.
- bayindirh 8y agoI will try both, promise. :) I also find OpenBSD's ideology more resonating to me.
- ComputerGuru 8y agoOpenBSD's package manager comes unconfigured out of the box, though :(
- adamrt 8y agoCan you elaborate on this? I'm not sure which version added it but /etc/installurl is configured to use cdn.openbsd.org during install. Prior to this, I believe /etc/installurl was populated with the mirror you chose during install. That had been around for at least a couple/few versions, IIRC. Is there something else you are referring to? https://man.openbsd.org/installurl https://man.openbsd.org/installurl
- rleigh 8y agoI'd certainly not discourage having a play around with it! I started trying it out with FreeBSD 10.0 a few years back. pkg was rough around the edges back then. If you had a lot of packages installed, like lots of development tools and desktop environments, it wasn't hard to get it into a situation where it would segfault or run into dependency problems during an upgrade. Right now, with 11.2, I've not run into any crashes for a good 2-3 years or any intractable dependency problems in a good 2 years or more. It's probably not perfect, these are very complex tools which are hard to verify, but it's certainly eminently usable from the point of view of an admin/end user/casual ports contributor like myself. In fact, when upgrading from Ubuntu 18.04 to 18.10 a few weeks back, I did actually run into a problem with apt refusing to upgrade because it couldn't work out the upgrade path. I had to remove a few packages which were causing problems, then re-install them after the upgrade. Whether that was apt or the packages having genuinely broken dependencies I'm not sure since I didn't investigate in detail.
- craigsmansion 8y ago> , apt is probably the most advanced package manager currently. Apt is certainly the best package manager in my opinion. I haven't used rpm based package managers in a while, but I doubt they don't have feature parity at this point. I think the magic ingredient of apt that makes it work so seamless is the thousands of diligent maintainers behind it. That's the "feature" that none of the other packaging systems have at the moment. I also have a deep respect for the raw no-nonsense approach of the various BSDs, but every time I try running it in a professional capacity, the apt eco-system lures me back.
- deleted 8y ago[deleted]
- petre 8y agoI use both apt, pkg-ng and yast/zypper/rpm. Both apt and pkg-ng work well. Apt has --really-long-switches that are easy to remember but not quite as many shortcuts for them. Sometimes pkg-ng is annoyingly upgrading itself but that's it. Rpm is rather annoying but zypper and yast make things easy to manage. I remember the old RedHat 4.2 days when I had to work with rpm exclusively; it has an inconsistent CLI with weird command line switches.
- dmacvicar 8y agoYou shouldn't compare rpm with apt. rpm is a different layer equivalent to dpkg in the Debian world. As you point out, apt layer/functionality is provided by zypper, yum, dnf, etc. and the main difference is that it is not unified across the main rpm distributions. Still, Fedora/Redhat yum replacement, dnf, is built on SUSE/openSUSE zypper's solver library (libsolv).
- petre 8y agoI know. Dpkg is more consistent anyway.