Top 4 Simple way to install Deb file on Ubuntu

  • Post last modified:April 27, 2021
  • Reading time:3 mins read

After downloading the .deb file your thinking about how to install the package on your Ubuntu or Debian-based system.

Not to think much We are here to guide you just follow any 5 methods to install the .deb file.

Without taking any more time Let’s Begin.

Method 1: How to install a .deb file using the apt command

When you download any file .deb file from the Internet the basic way to install the application using the apt command.

Command Syntax

$ sudo apt install ./downloadfilename.deb

To get precise information i’ll illustrate

Open the terminal and go to download location using cd command and pass the below command

$ cd Downloads/
$ sudo apt install ./discord-0.0.13.deb 

After that it will show you the libraries,package size details and Other information.

If you want to install the discord.deb file then types “Y” and wait for the installation process to complete.

Method 2: How to install a .deb file using the dpkg command

I think so apt is more easy way to install .deb package compare to dpkg or both are same in dpkg command you need to put -i parameters to install.

Command Syntax

sudo dpkg -i ./downloadfilename.deb

Check the real example

Open the terminal and go to file download location and pass the below command

$ sudo dpkg -i Downloads/discord-0.0.13.deb 

The same as the apt command you get the libraries, package size details, and Other information.

If you want to install the discord.deb file then types “Y” and wait for the installation process to complete.

Method 3: How to install a .deb file using gdebi

Above we have seen how to install the .deb file using terminal commands like apt and dpkg.

What to do when we want to install the .deb package through a Graphical User Interface (GUI)?

You can use gdebi or eddy application to use this application first you need to install this following application.

A gdebi install is easier compare to eddy so i’ll focus on gdebi application.To install gdebi type command.

$ sudo apt update
$ sudo apt install gdebi

Now go to the folder where you have downloaded the file and right-click on the file which you want to install, select the option “Open with other applications”.

In the next screen “Select GDebi Package Installer”,Click on Select Button.

install deb on ubuntu
Select Gdebi Installer

After that you will get the option to “Install Package” click on that button,It will ask you to authenticate.

Install Package Using Gdebi
Install Package Using Gdebi

Now, wait for some time to install the application on your Ubuntu and Debian-based system.

To verify app is installed or not Press the super key and search for the application name.

This was a simple and easy way to install the deb application on your Ubuntu and Debian-based system. If you are facing any issues while installation comment to us.

Like what you read? Please share it with others.
  • 1
    Share

Leave a Reply