On Ubuntu, what is the difference between apt update and apt upgrade?
Sous Ubuntu, quelle est la différence entre apt update et apt upgrade ?
Answers
AThey are two names for the same commandCe sont deux noms pour la même commande
Bapt update upgrades the kernel; apt upgrade upgrades applicationsapt update met à jour le noyau ; apt upgrade met à jour les applications
Capt upgrade must always be run before apt updateapt upgrade doit toujours être lancé avant apt update
Dupdate refreshes the package lists; upgrade installs newer versionsupdate actualise la liste des paquets ; upgrade installe les nouvelles versions
The answer and explanation are in the full bank.
This question is one of 2,831 in the paid banks. Each comes with the correct answer and the reasoning behind it, not just a mark.
Unlock for 5,000 RWFMIFOTRA exam practicealigned to Practice set: Linux and CMD Commands·2 marks·Medium
More Operating Systems questions
- You need to print the whole contents of a file. Which command does that?
- What does the Linux command `uname` do?
- What does the Linux command `chmod` do?
- On a Linux system, what does /boot contain?
- What does the Linux command `ping` do?
- What does the Linux command `ps` do?
- What does the Linux command `tar` do?
- You need to search a directory tree for files matching criteria. Which command does that?