I have written in detail on the difference between apt and apt-get. apt is more structured and provides you with necessary options needed to manage packages.īottom line: apt = most common used command options from apt-get, apt-cache and apt-config. With apt, you don’t have to fiddle your way from apt-get to apt-cache to apt-config. apt consists some of the most widely used features from apt-get, apt-cache and apt-config leaving aside obscure and seldom used features. The apt commands have been introduced to solve this problem. On the other hand, the most commonly used package management commands are scattered across apt-get, apt-cache and apt-config. You see, these commands are way too low level and they have so many functionalities which are perhaps never used by an average Linux user. If you have used apt-get commands, you might have come across a number of similar commands such as apt-cache, apt-config etc. Another popular tool is Aptitude with both GUI and command-line options. apt-get is one such command-line tool which is widely popular. There are various tools that interact with Advanced Packaging Tool (APT) and allow you to install, remove and manage packages in Debian based Linux distributions. / Linux sudo apt-get update vs upgrade What is the Difference Kris Koishigawa sudo apt-get update and sudo apt-get upgrade are two commands you can use to keep all of your packages up to date in Debian or a Debian-based Linux distribution. You can enable/disable the install progress via: # echo 'Dpkg::Progress-Fancy "1" ' > /etc/apt//99progressbar policy: works just like apt-cache policy.edit-sources: edit sources.list using $EDITOR.full-upgrade: a more meaningful name for dist-upgrade.upgrade: the same as apt-get upgrade -with-new-pkgs.install,remove: adds progress output during the dpkg run.update: like the regular apt-get update with color output enabled, but apt update also shows the number of upgradeable packages (if any).The full record is still available via apt-cache show of course. show: works like apt-cache show but hide some details that people are less likely to care about (like the hashes).search: works just like apt-cache search but sorted alphabetically.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |