Skip to content

How to install/uninstall .deb file using dpkg a close look

1. Howto install a .deb file

$ sudo dpkg -i package_file.deb

2. Hoto uninstall a .deb file

$ sudo dpkg -r package_name

3. Howto find version of a package installed

$ dpkg -l packagename

4. Howto List all installed files with version

$ dpkg -l

5. Howto convert .rpm files to .deb files

$ sudo alien package_file.rpm

Dipin Krishna

Written by Dipin Krishna

Senior full-stack engineer — 15 years across Django, Laravel, SwiftUI and the infrastructure underneath. Available for contract work.

Work with me →

Leave a note

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.