QuestionQ24

BSD Installation and Software Management

Which FreeBSD command upgrades packages to newer versions?

  • A pkg update
  • B pkg refresh
  • C pkg upgrade
  • D pkg audit
  • E pkg pull
Explanation

pkg upgrade compares installed package versions with the versions available in the repository catalogue and upgrades installed packages to newer versions. pkg update only updates the local repository metadata.

Learn more

Community Discussion

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