- Install Deb File
How To Install Deb File In Ubuntu?
A .deb extension file in Ubuntu is a Debian software package file that contains the software to be installed on a Debian-based operating system (Ubuntu). Installing a .deb file in Ubuntu is very simple if you follow the quick steps given on this site to know how to install Deb file in Ubuntu.
There are three methods you can follow:
- dpkg (Debian Package Management System)
- gdebi application
- Software Center (GUI app)
Installing .deb file using dpkg in Ubuntu:
- On your Ubuntu desktop, close all the running programs and launch the Terminal app.
- In the Terminal window, type the ‘sudo dpkg -i path_to_deb_file’ command (replace path_to _deb_file with your .deb file path and name) and press the Enter key.
- This will install the .deb file on your Ubuntu desktop.
- Alternatively, you can use the ‘sudo apt install path_to_deb_file’ command in the Terminal window to install the .deb file.
- Make sure to replace ‘path_to_deb_file’ with your .deb file path and name.
Installing the .deb file using gdebi application:
- Sometimes, the Software Center may encounter the dependency error when installing the .deb file on your Ubuntu desktop.
- When you get this kind of dependency error, the Software Center cannot handle it independently.
- To handle this error, use the gdebi application.
- To install it, use the ‘sudo apt install gdebi’ command in the Terminal window.
- Next, give a right-click on the downloaded .deb file and select Other followed by gdebi application.
- In the Package Installer window, click the Install Package button.
- Wait until the installation completes.
Installing the .deb file using Software Center:
- On your Ubuntu desktop, navigate to the Downloads folder.
- Locate the downloaded .deb file and give a double-click on it.
- This will launch the Software Center, where you can view the option to install the software.
- Finally, click on Install to start installing the .deb file.
- If prompted, enter the login password of your Ubuntu.
- Finally you know how to install Deb file in Ubuntu.