dpkg - package manager for Debian (Ubuntu Linux)
dpkg is a tool to install, build, remove and manage Debian packages.syntax
dpkg [<option> ...] <command>
dpkg --help
man dpkg
- List packages concisely:
dpkg --list
dpkg --list | less
To list package "zend-server":
dpkg --list | grep -i 'zend-server'
To list packages related to the apache web server:
dpkg -l '*apache*' - List installed & deinstall software:
dpkg --get-selections
perl install
perl-base install
perl-modules install
phonon install
phonon-backend-gstreamer install
php-5.3-bcmath-zend-server deinstall
..... ....... - -L|--listfiles <package> ...
List files `owned' by package(s). Where installed, which files and directory:
dpkg --listfiles zend-framework-bin
dpkg --listfiles php5-xdebug - check the status of a software:
dpkg --status zend-framework-bin
dpkg --status php5 - Remove package called "zend-server" along with all configuration file:
sudo apt-get --purge remove zend-server
purge:
Remove everything from system directories, even configuration files - Remove package called zend-server:
sudo apt-get remove zend-server


