How to Install Deb Files on Ubuntu Linux: Similar to Windows’ EXE files and Mac’s DMG files are Ubuntu’s DEB files. For Ubuntu (Debian) systems, it is a software packaging format and installation. deb files are straightforward. Double-clicking. deb files will instantly install them. Additionally, you may install Deb files using the Terminal with one Linux command. In order to install Deb files on Ubuntu, we have included four additional approaches to this article. After saying that, let’s go to the steps.
How to Install Deb Files on Ubuntu Linux
Ubuntu Deb Files Installation (2022)
In this post, we’ve covered four different methods for installing Deb files on Ubuntu. The final approach allows you to install deb files without encountering a dependency error while the first three are native ways. Furthermore, we also covered how to remove deb files.
What does Ubuntu’s Deb File mean?
Deb files are similar to Windows EXE files, as was already explained. Debian-based distributions, it is the accepted format for installation packages. It includes all the dependencies and libraries required to run the program. You will probably download an a.deb file based on your computer’s architecture if you wish to install a program on Ubuntu (64-bit or 32-bit).
The application is installed on Ubuntu by double-clicking the. deb file. However, Archive Manager will typically open the downloaded files, and you will need to complete the installation procedures below.
Install Deb Files Using the Software Center in Ubuntu
- First, select “Open With Other Application” by right-clicking on the Deb file.
- Next, select “Software Install” and press the top-right “Select” button.
- The Software Center will now display on the screen along with details about the application you are installing. To install the downloaded deb file, click the “Install” button on this page. Your password must be entered in order to be authenticated. And that is how Deb files are installed on Ubuntu.
Ubuntu Deb File Installation Using the apt Command
The apt command can be used to swiftly install programs if you wish to install Deb files on Ubuntu using the Terminal. This is how it goes:
- To begin, select “Open in Terminal” from the context menu of the right-clicked Deb file folder.
- Next, execute the command listed below in the Terminal window. All you have to do is swap out the filename. deb for the real Deb file name. Your Ubuntu Linux computer will now be installing the DEB package.
Using the dpkg Package Manager, install Deb Files on Ubuntu.
1. The dpkg program can be used to install Deb files on Ubuntu. Go to the folder containing the Deb file. Choose “Open in Terminal” from the context menu by performing a right-click in the empty spot.
2. In the same folder, a Terminal window will open. Run the following command right away, but make sure to substitute debfilename> with the name of the Deb file you just downloaded. And that’s how you use the dpkg Package Manager to install.deb files.
sudo apt install ./filename.deb
Using GDebi, install Deb files on Ubuntu
There are situations when you may encounter a dependency error when installing a Deb file. It indicates that your system lacks a crucial package or library. To fix such problems, utilize the GDebi tool since it enables the installation of deb files and corrects errors by adding dependencies as you go. Here’s how to install.deb files with this handy little software.
1. To start, launch the Terminal by pressing “Alt + Ctrl + T” on your keyboard. Then, use the command listed below to add GDebi to your system.
sudo apt install gdebi
2. Select “Open With Other Application” from the context menu when you right-click on the Deb file you want to install.
3. Select “Gdebi Package Installer” in the following box by clicking “Select” in the top-right corner.
4. In order to install the Deb file on Ubuntu, finally click the “Install Package” option. “All dependencies are satisfied,” it says next to the “Status” label in the screenshot below.
How to Remove/Uninstall Deb Files in Linux Ubuntu
Implement Ubuntu Software
- The Ubuntu Software GUI software makes uninstalling Deb files simple. Open it directly from the app launcher.
- Scroll down to find the software name you want to uninstall, then click the “Installed” option at the top of the page. To uninstall the installed.deb file from Ubuntu, click “Uninstall” now. You can uninstall software using the Terminal technique below if it does not appear here.
Command line use
Finding the package name of the Deb file you installed is the first step in uninstalling Deb files on Ubuntu. Remember that the Deb file name is distinct from the package name. Here are the procedures to take in order to locate the package name and swiftly uninstall it.
1. To determine the package name, launch the Terminal by pressing “Alt + Ctrl + T” and enter the command listed below. Then, substitute the name with the name of the program or the term that most closely matches the app. For instance, type “chrome” to find the package name for Google Chrome.
sudo apt list --installed | grep name
2. The package name of the program will be returned by the Terminal. Your package name is whatever is mentioned before /.
3. Execute the command listed below to remove the Deb file from Ubuntu Linux. Make sure to substitute the exact package name you indicated above for the packagename>. And that’s basically it. Your Ubuntu system will be free of the Deb file.
sudo apt remove <packagename>
How to Install Deb Files on Ubuntu in Four Easy Steps
The four straightforward approaches to installing Deb files on Ubuntu are as follows. Additionally, we have discussed how to install Deb files in order to fix the dependency error. Additionally, you included instructions in this post on how to remove Deb’s files. Finally, let us know in the comments section below if you have any queries.