When you install a package with dpkg, that's all that will happen: the system will simply install the package. It can't search remote repositories or pull packages from them. With dpkg, you can only install local files you've already downloaded yourself. This saves you from the work of manually finding and downloading the package before installation. With APT, you can retrieve a file from a remote repository and install it, all in one command. In that way, dpkg acts more as an "under the hood" tool for APT's more user-friendly interface. When APT (or its cousin, Apt-get) installs a package, it's actually using dpkg on the back-end to accomplish that. The two interfaces in fact work together, with APT acting like a complete package management tool through the use of dpkg.Ĭonfused? Let's break down the key differences. They can, among other things, install DEB files and list installed packages.īut you might be wondering if they're so similar, why do you need both APT and dpkg? APT and dpkg are both command-line package management interfaces you can use in the terminal on Ubuntu and other Debian-based systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |