How to Install .deb Files in Ubuntu

Installing software on Ubuntu is straightforward, especially when dealing with .deb
files, the standard package format for Debian-based systems like Ubuntu. Here’s a quick guide to help you install .deb
files using both the GUI and command line.
Method 1: Install .deb Files Using the GUI
- Download the .deb File: Get the
.deb
file from the software provider’s website. - Open the File: Navigate to the folder where the
.deb
file is saved and double-click it. - Use the Software Installer: The Ubuntu Software Center will open. Click the “Install” button.
- Enter Your Password: Provide your password to authorize the installation.
- Wait for Completion: The software will be installed automatically.
Method 2: Install .deb Files Using the Command Line
- Open the Terminal: Press
Ctrl + Alt + T
or search for “Terminal” in the applications menu. - Navigate to the .deb File Directory: Use the
cd
command to move to the folder containing the.deb
file. For example:1
cd ~/Downloads
- Install the .deb File: Run the following command:Replace
1
sudo dpkg -i filename.deb
filename.deb
with the actual name of your.deb
file.
- Resolve Dependencies (if needed): If there are missing dependencies, run:
1
sudo apt install -f
- Verify Installation: The software should now be installed and ready to use.
Why Use .deb Files?
- Offline Installation: Install software without an internet connection.
- Direct from Developers: Get the latest versions directly from software providers.
- Flexibility: Manage software installations manually.