smartphonejnr.blogg.se

Aptget update
Aptget update






Let me focus on difference between the update and upgrade options of these commands. You can read this article to learn on the differences of apt and apt-get commands. apt is a newer and simpler version of apt-get. The apt-get command was the most popular of them all.

aptget update

There are many commands that interact with the APT package management apt-get, apt, dpkg, aptitude etc. apt or apt-get? Which one should you be using?ĭebian and Ubuntu use the APT package management system. Now that you understand how the combination update and upgrade works, let’s discuss the use of apt and apt-get. The sudo part lets you run commands as root in Ubuntu and Debian. And hence you use sudo with both commands.

aptget update

Since these are administrative commands, you need to run them as root.

  • apt upgrade: upgrades packages to the new version.
  • apt update: updates the package cache (to know which package versions can be installed or upgraded).







  • Aptget update