I’ve worked with several package mangers, on several different distros. However my exposure to them has been limited by the popularity of Apt. That isn’t to say my primary OS only has one, as that would be an understatement. Ubuntu actually comes packaged with two package managers, Apt, and dpkg. And they are all kinds of different.
Apt is a high level package manger, while dpkg is a low level package manger. All this means is that Apt handles a varying degree of tasks, and dpkg is only concerned with the ones right in front of it.
For example, when you install an application with Apt your computer will search for the installation media on the server, find its dependencies, and ask for confirmation before installing them, while giving you details of conflicts.
Dpkg on the other hand will not download the media, it won’t download the dependencies, and it won’t ask confirmation nor search for conflicts. It might not even tell you that you are missing the dependencies.
Continue reading