Open In App

How to extract .deb file in Ubuntu?

Last Updated : 30 Jan, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

Installation of Software varies from different operating systems. The process to install applications in OS is different in Windows, Linux, and MacOS. On Linux and MacOS, software installation depends upon the Terminal of the OS. For the Linux Operating System, Extract Ubuntu DEB File is necessary to Install Software on Terminal.

When we want any software installed into the Ubuntu Operating System we download the Linux DEB File which supports Ubuntu or Debian Linux. Once the DEB file is downloaded, we can easily install it using the DPKG Package Manager in the terminal. We can install it using multiple methods such as APT Package Manager.

In this article, we will visualize the steps needed to Open Ubuntu DEB File using Terminal along with Software Centre.

Quick Preview to Extract DEB File on Ubuntu:

  1. Open the downloaded DEB File.
  2. Click on the install to extract and download the file.
  3. Or on the Linux Terminal, execute the command dpkg -i <filename>.deb to extract the file.

Quick Highlights on DEB File on Ubuntu:

  • The DEB Files stand for the full-form Debian Software Package Files.
  • In every Unix-based OS, the DEB Files are always present.
  • There are two TAR Files included in the DEB files.
  • In DEB Files, the documentation, and installation steps are included.
  • While installation, the DEB Files get full control of your system.
  • The DEB Files are similar to the EXE Files on Windows.

What Is DPKG Manager on Ubuntu?

There are multiple packages are present in the Linux-based different distro’s Operating System. So to manage, to install, to remove we need Ubuntu Package Manager. There are many package managers present eg. APT, DPKG, Aptitude, and many more. Here we used Ubuntu DPKG Manager.

There are multiple packages present in the Linux-based Operating System. So DPKG is a package management system used in Debian-based Linux Operating System. Ubuntu DPKG Package is a tool that allows users to install, remove, and manage individual software packages that are in the DEB File Format.

Methods to Extract DEB Files on Ubuntu

To Access DEB Ubuntu Files, there are the following two methods present. Let us start with the Software Installer Application of Ubuntu.

Method 1: Extract DEB Files on Ubuntu Using Ubuntu Software Installer

Step 1: Double-click on the Downloaded DEB File.

1--Open-Downloaded-DEB-File

Step 2: It will open the software installer and then click on the Install button

2--Click-Install

Step 3: Finally it is installed.

3--Installation-Completed

Method 2: Extract DEB Files on Ubuntu Using the Command Line or Terminal

Step 1: Open Linux Terminal. Press Ctrl+Alt+T to open a terminal or search for “Terminal” in the applications.

4--Open-Terminal

Step 2: Navigate to the Directory where you downloaded the DEB file. Use the Linux CD Command to change the directory. For example, if the DEB file is in the “Downloads” folder, use the following command:

cd ~/Downloads

5--Find-Location

Step 3: To Install the DEB package we need to install DPKG Package Manager. So to install it use following command. Instead of the sample.deb use your file name.

sudo dpkg -i sample(Application file name).deb

6--Execute-Command

Step 4: If you have any Dependencies Issues with your system then just use following command to resolve it.

sudo apt-get install -f

7--Execute-2nd-Command

Step 5: After doing this we can verify it is installed.

dart --version

8--Verify

So the easy way of Installing DEB File is by using the Ubuntu Software Installer. Because it is a step process and if you are familiar with Linux Command Line then it is also an easy way to Extract DEB Files. It is advisable to try both ways when you come across the Unix DEB File.

FAQs to Extract .deb file on Ubuntu

How to Extract DEB Files on Ubuntu?

To extract the DEB Files on Ubuntu, the following steps should be executed.

  1. Open the Files application and locate the DEB File.
  2. Open the DEB File using Software Installer.
  3. Click on the Install button to extract.

How to open DEB Files using Linux Terminal?

The steps required to open DEB Files using Linux Terminal are the following.

  1. Open the Linux Terminal.
  2. Move ahead to the folder where the DEb File is located.
  3. Execute the command dpkg -i <filename>.deb to install the DEB File.

Does extraction of DEB File mean to decompress it?

No! Extraction of DEB File is something different than decompressing. In Decompressing, a compressed file is opened into its original size. Whereas, the DEB File extraction installs the application that is stored inside that file. So, the extraction meaning of DEB File is complete different.



Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads