QuestionQ20

Linux Installation and Package Management

Which apt-get subcommand installs the latest versions of all packages that are currently installed?

  • A auto-update
  • B dist-upgrade
  • C full-upgrade
  • D install
  • E update
Explanation

apt-get dist-upgrade upgrades installed packages and intelligently resolves changed dependencies, including removing packages when that is necessary to complete the system upgrade. The update command only refreshes package-index metadata, while install applies to specified packages.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!