Enter your email address:

Delivered by FeedBurner

Installing and uninstalling .deb package


StumbleUpon Toolbar

Debian uses .deb binary packages and you manually install and uninstall them using dpkg tool.

dpkg has lots of options but maybe the most important or used ones are:

-i
Installs and configures a package
-r
Removes the package but keeps the configuration files on your systems, thus you may reinstall it later and does not need to configure it again
-p
Purges a package, meaning it will remove the package and also all configuration files

How to use it

- To install a .deb package

sudo dpkg -i package.deb

- To uninstall a .deb package

sudo dpkg -r package

- To purge a .deb package

sudo dpkg -p package

Trackback URL for this post:

http://www.go2linux.org/trackback/505
StumbleUpon Toolbar

 If you like this article, subscribe to our full rss

If this article was somehow useful for you, you can leave something in the tip's jar

Please post your question in our forum and use comments only to leave your comments about the article, thanks.

And if possible use apt-get

And if possible use apt-get to install the app instead of dpkg.

Its true about yum - not sure about dpkg.

Yes you are right, it is

Yes you are right, it is always better to use apt-get (aptitude better yet), than dpkg

Guillermo Garron

It is always better to use

It is always better to use apt-get or aptitude

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Captcha
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

This site is proudly hosted at Bluefur Hosting