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
2
u/sboone2642 May 22 '26
Red Hat has been around in the corporate world way longer than Ubuntu though. My point is to say that Ubuntu is the only mainstream distribution out there is inaccurate. I also run a lot of Ubunto servers in production, but if you have stuff that relies on Oracle, you're running some version of Red Hat. A lot of non-server systems, like Checkpoi t firewalls or various Cisco appliances run on Red Hat systems molded to their specs.
I guess my point is any professor who acts like using apt as the only package manager is doing his students a huge disservice while preparing them for the real world.