Skip to content

Instantly share code, notes, and snippets.

@libitte
Last active December 19, 2015 01:38
Show Gist options
  • Select an option

  • Save libitte/5877085 to your computer and use it in GitHub Desktop.

Select an option

Save libitte/5877085 to your computer and use it in GitHub Desktop.
usage of apt-get

usage of apt-get

  • notify with a new update
apt-watch

you can get above using 'apt-get install apt-watch'

  • install
apt-get install package_name
  • re-setting after installation
dpkg-reconfigure package_name
  • uninstall
apt-get remove package_name
  • uninstall with settings
apt-get --purge remove package_name
  • update
apt-get update package_name
  • upgrade
apt-get upgrade package_name
  • 'update' and 'upgrade' are operated simultaneously
apt-get update; apt-get upgrade
  • upgrade with resolving dependencies and competitions
apt-get dist-upgrade 
  • display installed package list
dpkg -l
  • search packages available by keyword
apt-cache search keyword
  • remove downloaded files
apt-get clean

Linux Debian apt-get使いこなしメモ

@libitte
Copy link
Author

libitte commented Jun 27, 2013

@libitte
Copy link
Author

libitte commented Jun 27, 2013

@libitte
Copy link
Author

libitte commented Jun 27, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment