5 Things You Have To Know About dpkg Package Manager

5 Things You Have To Know About dpkg Package Manager: "


What is dpkg ?


it’s a package manager for Debian system, and working on other distributions built from Debian system. Used for installing and Removing packages on you system. as same as using synaptic package manager on Ubuntu, but the difference that dpkg using for individual package without installing extra dependencies for this package.


so let’s open Terminal and see what we have here


1. Listing all installed packages on your system


1
dpkg -l

2. show installed packages for a specific Applications


for example will check installed packages for FatRat download manager, open terminal and type


1
dpkg -l | grep fatrat

Here is the output



1
2
3
4
5
mb@mb-lu:~$ dpkg -l | grep fatrat



ii fatrat 1.1.1-5 multi-protocol download manager, feature ric



ii fatrat-data 1.1.1-5 data files for fatrat


you can replace fatrat with any other application name.


3. show installed files for specific package.


will use fatrat in this example too. go to terminal and type


1
dpkg -L fatrat

it will show a list for installed file for fatrat.


4. If you want to know which package installed any file located on your system


For example i need to know which package installed this file ” chatIncoming.wav ” which located in this directories /usr/share/skype/sounds/


1
dpkg -S /usr/share/skype/sounds/ChatIncoming.wav

This will be the output


1
2
3
mb@mb-lu:~$ dpkg -S /usr/share/skype/sounds/ChatIncoming.wav



skype: /usr/share/skype/sounds/ChatIncoming.wav

show skype package name that installed this file before the colon.

5. Installing and uninstalling Deb packages we already showed you how to do it in this post

That’s it for Now.







Related posts:

  1. How to Install/Uninstall DEB Packages

  2. FatRat Awesome Download Manager For Ubuntu 10.04

  3. How To: Install FluxBox Window Manager on Ubuntu 10.04 LTS






"