Bird
0
0

What does the command sudo apt autoremove do?

easy📝 Conceptual Q2 of 15
Linux CLI - Package Management
What does the command sudo apt autoremove do?
AUpdates the package list
BRemoves all installed packages
CRemoves packages that were automatically installed and are no longer needed
DInstalls missing dependencies
Step-by-Step Solution
Solution:
  1. Step 1: Understand autoremove purpose

    autoremove cleans up unused packages installed as dependencies.
  2. Step 2: Differentiate from other commands

    It does not update lists, install, or remove all packages.
  3. Final Answer:

    Removes packages that were automatically installed and are no longer needed -> Option C
  4. Quick Check:

    Autoremove = cleanup unused dependencies [OK]
Quick Trick: Use 'autoremove' to clean unused dependencies safely [OK]
Common Mistakes:
  • Thinking it removes all packages
  • Confusing with 'apt update'
  • Assuming it installs packages

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes