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 |
Share this on del.icio.us
Share this on Facebook
Tweet This!
Digg this!
Subscribe to the comments for this post?
Post on Google Buzz
Bump this on DesignBump
Share this on Mixx
Post this to MySpace
Share this on Reddit
Stumble upon something good? Share it on StumbleUpon
Post this to Identica
Email this via Yahoo! Mail
Share this on Bebo
Share this on FriendFeed
Email this via Gmail
Related posts:
- How to Install/Uninstall DEB Packages
- FatRat Awesome Download Manager For Ubuntu 10.04
- How To: Install FluxBox Window Manager on Ubuntu 10.04 LTS