How to Install a Deb Package in Ubuntu: Methods, Options, and What to Know First

Installing a .deb package in Ubuntu is one of those tasks that looks intimidating the first time but quickly becomes second nature. Whether you're setting up a browser, a development tool, or a third-party app that isn't in the official repositories, understanding the full picture — not just the commands — helps you make smarter decisions and avoid common pitfalls.

What Is a Deb Package?

A .deb file is the standard package format used by Debian-based Linux distributions, including Ubuntu. Think of it as the Linux equivalent of a .exe installer on Windows or a .dmg on macOS — it bundles an application's files, metadata, and installation instructions into a single archive.

Unlike apps installed through the Ubuntu Software Center or apt (which automatically resolves dependencies from official repositories), a manually downloaded .deb file puts more responsibility on you. Dependency handling, source trust, and update management all work differently.

The Two Main Installation Methods

Method 1: Using dpkg (Command Line)

dpkg is the low-level package manager that Ubuntu uses under the hood. It's fast and direct, but it does not automatically resolve dependencies.