Enter your email address:

Delivered by FeedBurner

Installing and uninstalling .deb package

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

Share/Save
 #

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

Its true about yum - not sure about dpkg.

 
 #

It is always better to use apt-get or aptitude

 
 #

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

Guillermo Garron

 

Navigation

For your laptop needs, visit LaptopLogic - the laptop review site with news, articles, tips and how-to's.

Recent comments