docs:ubuntu:package_management

This is an old revision of the document!


package management

  • sudo apt-get install <package name> install a package
  • sudo apt-get remove <package name> remove a package (config files are NOT removed)
  • sudo apt-get purge <package name> remove a package (config files ARE also removed)
  • sudo apt-get update update package listings from repositories
  • sudo apt-get upgrade [<packagename>] perform upgrade of all eligible or specific packages
  • getting package information:
    • apt-cache search <package name or regex pattern> search for packages
    • apt-cache show <package name> readable details about a package
    • apt-cache pkgnames |sort show a sorted list of packages in the system
  • a curses interface to apt
  • synaptic
  • ubuntu software center
  • ubuntu update manager
  • docs/ubuntu/package_management.1367703608.txt.gz
  • Last modified: 2013/05/04 15:40
  • by billh