r/linuxquestions • u/ovelx2 • May 22 '26
Support Difference between apt update and apt-get update
Yesterday I had a computer science exam. One of the questions asked: "Which command installs the most recent versions of the programs installed on Linux?" None of the answer choices included anything related to upgrade all of them referred to update. My professor stated that the correct answer was apt-get update, and that the difference between apt update and apt-get update was that apt only searches for updates, whereas apt-get installs new versions of programs. The entire class disagreed, but he insisted. What is the actual difference between these commands, and is my professor mistaken?
View all comments
Show parent comment
14
u/LameBMX May 22 '26
none of those work for me?
emerge world -u
thats the trick.
really, the prof of comp science shouldn't be using Debian specific stuff as examples under a generic "linux" header. pretty sure redhat is still a solid force in his students future world if they go the *nix route.