Debian is a Linux distribution that is known for its stability and security. It is one of the most popular distributions on the market, and it has a large community of developers and users. To install Debian, you first need to download the installer image. You can find the installer image on the Debian website or on some major Linux distribution websites. Once you have downloaded the installer image, you can burn it to a CD or DVD using your favorite burning software. Once you have burned the installer image to a CD or DVD, boot your computer from the disc and follow the instructions on-screen. When prompted, choose to install Debian onto your hard drive instead of using an installation media. After installing Debian, you will need to configure it by following the instructions in the documentation that was provided with your installation media or online. After configuring Debian, you can start using it by following these steps:

  1. Open a terminal window and type sudo apt-get update to ensure that all of the latest updates are installed.
  2. Type sudo apt-get install to install a package from Debian’s repositories. For example, if you want to install Firefox browser software, type sudo apt-get install firefox .
  3. Type sudo apt-get remove to uninstall a package from Debian’s repositories. For example, if you want to uninstall Firefox browser software, type sudo apt-get remove firefox . ..

So, you finally installed Linux and when downloading your favorite app you got a file with the “.deb” extension. Now what? In this article, let’s look at the two ways you can easily install apps using DEB files on Linux.

What Is a DEB File Anyway?

A file ending with “.deb” is called a Debian Software Package file, and it’s used to install apps on Linux. DEB files are used only in Debian-based Linux distributions like Ubuntu and its various flavors, Pop!_OS, Linux Mint, and others. That means distributions based on Arch or Fedora won’t be able to install it.

If you’re coming to Linux after using Windows for a long time, you might be tempted to think of DEB files as similar to EXE files. A file that ends with “.exe” is a Windows executable file used to install and run Windows programs. However, it’s not the same as a DEB file. EXE files come with pre-compiled source code, whereas you need an application to install DEB files, compile the file’s contents, and install it on Linux.

Think of pre-compiled code as instant cup noodles. All you need to do is pour hot water (double-click on the file), mix it well (follow the instructions in the installer wizard), and eat it (start using the application). On the other hand, think of a DEB file as the ingredients you need for a recipe. You’ll need to put and mix everything and cook them to get the final dish ready. Fortunately, you have free apps that will take care of the process for you.

GDebi and Eddy are some of the popular package installers that are used to install DEB files. However, distributions like Ubuntu open DEB packages in the software center by default, where you can click on install, and the app will be installed for you. You can also install GDebi to install DEB packages.

How to Install DEB Files

You can install DEB files using both the graphical desktop (GUI) and the Terminal. We’ll go through both methods so that you can choose the one that looks easy.

Install DEB Files Graphically

Download the DEB package of the app you want to install. Let’s install Slack for this tutorial.

After downloading, double-clicking on the file will load the contents of the package in Ubuntu Software, or whatever software manager your distribution uses.

Once it loads up, all you need to do is click on the “Install” button.

If for some reason the software manager doesn’t open, you can install a package using GDebi or the dpkg command.

If you don’t have it already, open the terminal to begin installing GDebi.

Type the following command and hit enter.

Once installation is complete, head over to the location of the DEB package that you downloaded.

If you’re using Ubuntu, right-click on the app package and click on “Open With Other Application.” Otherwise, look for another “Open With” option, or try double-clicking the file.

Find and click on GDebi Package Installer, and finally, click on select.

The GDebi package installer will now open and retrieve the details of the package you want to install.

Finally, click on the “Install Package” button and give it some time to install.

You should now see the application in the applications list.

Install DEB Files in the Terminal

If you’re comfortable using the terminal, the dpkg (Debian Package) command can install DEB files for you. Here’s how to use it.

Open the terminal. Then cd into the directory where the downloaded DEB file resides. In our case, the file is in the \Downloads directory.

Type the dpkg command followed by the package name and hit Enter. Here’s an example.

Replace package_name.deb with the name of your package (but keep the quote marks), then hit Enter, and the installation should begin. You’ll probably be asked to enter the administrator password.

Alternatively, you can go to the file location using the default file manager, type sudo dpkg -i, drag and drop the file into the terminal, and hit Enter to install it.

Whichever method you use with dpkg, we recommend checking that any necessary dependencies are installed before running the app. dpkg doesn’t check to make sure your system has everything it needs to run the program, but apt can do it for you.

If anything is installed on your PC that needs additional dependencies, apt will help you install them. Then you’re free to run your program!

RELATED: 10 Basic Linux Commands for Beginners