How Do I Run a Deb File in Linux?
Contents

How do I open a deb file?

So if you have a .deb file, you can install it by:

  1. Using: sudo dpkg -i /path/to/deb/file sudo apt-get install -f.
  2. Using: sudo apt install ./name.deb. Or sudo apt install /path/to/package/name.deb.

How do I open a deb file in Ubuntu?

Double clicking the deb file in Ubuntu 20.04 opens the file in archive manager instead of software center. This is weird but can easily be fixed. All you have to do is to right click on the deb file and go for Open With option. In here, choose open with Software Install as the default choice.

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest