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
1
u/Sophira May 23 '26 edited May 23 '26
Yes, and I covered that. I pointed out that it's unfortunate that all of the answers were incorrect, and that the question was terribly written in many ways. I agree that it should have been stricken from the test, and I hate that the professor is too stubborn to admit it.
But, again, that is not the point. As a multiple-choice question in an exam, you are expected to choose one. The fact that other package managers exist is neither here nor there.
Please do not mistake this as me defending the original question. I'm not. I hate it.