How to Uninstall Deb Files (Packages) on Ubuntu?
After the usage of the application, if we need to remove the application or deb file packages from Ubuntu, we can follow the below methods:
- Method 1: Uninstall deb Files Using GUI
- Method 2: Uninstall deb Files Using GDebi
- Method 3: Uninstall Deb Files Using the apt Command
- Method 4: Uninstall Deb Files Using dpkg Package Manager
We will see all of the above-mentioned methods to uninstall the deb files on Ubuntu.
Uninstall deb Files Using GUI on Ubuntu
In this method, we will uninstall deb files using Software Center. So follow the below steps to uninstall the deb files on Ubuntu.
Step 1: Open the Software Center and navigate to the “Installed” section of the application. Here, all the installed application’s list will be shown.
Step 2: From this list, we need to find our desired application and then click on the “Uninstall” button to remove the application from the system.
Uninstall deb Files Using GDebi on Ubuntu
In this method, we will uninstall deb files using the GDebi manager. So follow the below steps to uninstall the deb files on Ubuntu.
Step 1: Firstly, navigate to the deb package file directory on the system.
Step 2: Then we need to right-click on the file and then select the option of “Open with Other Application“.
Step 3: From the list of applications, we need to select the “GDebi Package Installer” from the list and click on that option.
Step 4: Then, we need to click on the “Remove Package” to completely uninstall the deb package application from the Ubuntu system.
Uninstall Deb Files Using the apt Command on Ubuntu
In this method, we will uninstall the Deb file using the built-in package manager or apt command. So follow the below steps to complete the installation.
Step 1: Execute the below command to uninstall the package using the apt manner.
sudo apt remove <software name>
Step 2: Enter ‘Y‘ to give confirmation.
Uninstall Deb Files Using dpkg Package Manager on Ubuntu
In this method, we will uninstall the Deb file using the dpkg package manager in Ubuntu. So follow the below steps to complete the installation.
Step 1: Execute the below command to uninstall the package using the apt manager. The package will get uninstalled from our system successfully.
sudo dpkg -r <software name>
How to Install Deb Files (Packages) on Ubuntu
Installing the application on Windows is an easy task, as we just need to download the .exe file of the application and complete the installation in simple clicks, but the installation of the application on Linux or Ubuntu is quite different from Windows. We need to execute the commands and perform some configurations to complete the installation. One of the installation types is to install the application using the deb package or Debian Package. This is the software package in the specific format developed for Debain-based OS identified by the .deb extension. Using this package, we can install the applications easily on Ubuntu or Linux systems. In this article, we will see different methods through which we can install the Deb files on Ubuntu OS.