Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 739 Bytes

09-package-management.md

File metadata and controls

44 lines (36 loc) · 739 Bytes

Package Management


Use low level package management

  • install/upgrade a package using dpkg
  • list installed packages
  • check if mysql is installed
  • find out which package installed a file
show

sudo dpkg -i file.deb
sudo dpkg -l
sudo dpkg --status mysql-common
sudo dpkg --search mysql-common


Use high level package management

  • search for mysql package
  • install mysql package
  • show information of the package
  • remove package
  • purge package
show

sudo apt-cache search mysql
sudo apt-get install mysql
sudo apt-cache show mysql
sudo apt-get remove mysql
sudo apt-get purge mysql