Package managemnet tools in Debian Linux
apt-get and dpkg are the package management tools used in Debian
1. apt-get :
apt stands for Advanced Package Tools. It supports installing packages over internet.
2. dpkg :
It is a debian packaging tools which is use to install , uninstall and query the packages
Debian package name ends with .deb
For example apache_1.3.10-6_i386.deb
where apache is package name
1.3.10-6 is version number
i386 Hardware platform
.deb Extension of debian package
Command to add, remove and update using apt-get
Consider the example to add apache
* add the package
# apt-get install apache
* remove the package
# apt-get remove apache
* upgrade the package
consider sudo to be upgrade
# apt-get install sudo
dpkg tool:
To list individual package
# dpkg -l apache
To list package is install or not
# dpkg -s apache | grep status
To list packages related
# dpkg -l ‘*apache*’

Leave a Reply