Last active
December 18, 2015 01:29
-
-
Save rkaneko/5704161 to your computer and use it in GitHub Desktop.
Install aptitude .
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get -y install aptitude | |
######################################################## | |
# aptitude cheet sheet ref | |
## http://www.garunimo.com/program/linux/aptitude.xhtml | |
# help | |
$ aptitude help | |
# search pkg | |
$ aptitude search here-is-query | |
# show pkg info | |
$ aptitude show here-is-pkg | |
# If you show pkg info verbosely, add option -v (verbose level is 1 or 2) | |
$ aptitude show -v here-is-pkg | |
# install pkg | |
$ aptitude install here-is-pkg | |
# remove pkg | |
$ aptitude remove here-is-pkg | |
# remove pkg and its config file | |
$ aptitude purge here-is-pkg | |
# reinstall pkg | |
$ aptitude reinstall here-is-pkg | |
# update pkgs info and upgrade all pkgs | |
$ aptitude update | |
$ aptitude safe-upgrade | |
# remove cached pkgs which you can't install yet | |
$ aptitude autoclean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment