Ubuntu aptitude Command Examples

15 aptitude Command Examples for Package Management in Linux

by Balakrishnan Mariyappan on August 11, 2014

For Debian based systems like Ubuntu, you can use aptitude command for package management from the command line.

This article explains several aptitude command examples including the following:

  • Install a specific version of a package
  • Install multiple packages using pattern
  • Search for a package using pattern
  • Get packages under a section
  • Don’t update a specific package (Using hold and keep)
  • Mark a package with a specific install type
  • Perform system update
  • Perform safe upgrade

(more…)