Installing .deb Packages in Ubuntu | Generated by AI

Home 2026.07

There are several ways to install a .deb package in Ubuntu.

Open a terminal, navigate to the folder containing the .deb file, and run:

sudo apt install ./package_name.deb

Example:

sudo apt install ./google-chrome-stable_current_amd64.deb

Using apt is recommended because it automatically installs any required dependencies.


Method 2: Using dpkg

Install the package with:

sudo dpkg -i package_name.deb

If there are missing dependencies, fix them with:

sudo apt --fix-broken install

Method 3: Using the GUI

  1. Double-click the .deb file.
  2. It will open in Ubuntu’s Software Center (or another package installer).
  3. Click Install.
  4. Enter your password when prompted.

Verify the installation

To check if the package is installed:

dpkg -l | grep package_name

Or, if it’s a command-line application:

package_name --version

If you’re having trouble installing a specific .deb file, tell me:


Generated by AI. Curating and sharing still takes effort. If you find it useful, feel free to donate. WeChat: @lzwjavaWeChat QR · X: @lzwjava · Say hi 👋

Back Donate