Difference between revisions of "Debian Linux apt-get package management reference"
From thelinuxwiki
(Pushed from Themanclub.) |
(→get package info) |
||
(One intermediate revision by one user not shown) | |||
Line 14: | Line 14: | ||
'''# apt-cache search ''string''''' | '''# apt-cache search ''string''''' | ||
*** (string can be a partial package name) | *** (string can be a partial package name) | ||
+ | |||
+ | == get package info == | ||
+ | # apt-cache show <package_name> | ||
== update entire system == | == update entire system == |
Latest revision as of 02:57, 6 June 2020
Contents |
List all installed packages
# dpkg -l
searching installed packages
# dpkg -s package_name| grep Status
Search package repo for available packages
# apt-cache search string *** (string can be a partial package name)
get package info
# apt-cache show <package_name>
update entire system
# apt-get dist-upgrade
remove / uninstall a package
apt-get purge package_name
remove pulse audio, tested on lmde
apt-get purge pulseaudio pulseaudio-utils gstreamer0.10-pulseaudio libpulse-browse0 paman pavumeter pavucontrol
dependency check
apt-cache depends <package_name>
manual install of .deb file
sudo dpkg -i --force-depends *.deb