How to install DEB file in Ubuntu
This beginner's article explains how to install a deb package on Ubuntu. The easiest way is to use the Ubuntu Software Center. Search for an app by name and install it from there.
Life would be so simple if you could find all the applications in the Ubuntu Software Center. Sorry, that's not the case.
Some software is available through the 'deb' package. These are archive files that end with .deb extension.
You can think of .deb files as .exe files in Windows. Double-click the .exe file and the installation will begin in Windows. The deb packages are pretty much the same.
You can find these deb packages in the downloads section of the software vendor website. For example, if you want to install Google Chrome on Ubuntu, you can download Chrome's deb package from its website.
Now the question is how do you install deb files? There are several ways to install a deb package on Ubuntu. The article will show you one by one in this tutorial.
Install .deb files on Ubuntu and Linux distributions based on Debian
You can choose either a GUI tool or a command-line tool to install the deb package. The choice is yours.
Let's go ahead and see how to install the deb file.
Method 1: Use the default Software Center
The easiest method is to use the default Software Center in Ubuntu. There is nothing special to do here. Just go to the folder where you downloaded the .deb file (usually the Downloads folder ) and double-click the file.
Double-click the downloaded .deb file to begin the installation
Software Center will open, where you will see the option to install the software. All you have to do is click the Install button and enter your login password.
The deb file installation will be done through the Software Center.
- How to install Putty SSH Client on Ubuntu 20.04 LTS
Method 2: Use the Gdebi application to install the deb packages with dependency
Once again, life would be a lot simpler if all went well. But that is not always the case.
By now, you know the .deb file can be easily installed through the Software Center. Let's talk about the dependency error you may encounter with some packages.
What happens is that a program can depend on another software (such as libraries). When the developer prepares the deb package for you, they may assume that the software is available on your system.
But if it doesn't and your system doesn't have the required software, you will get a "dependency error".
The Software Center cannot handle such errors on its own, so you have to use another tool called gdebi.
Gdebi is a lightweight GUI application whose sole purpose is to install deb packages. It defines the dependencies and tries to install them with .deb files.
You can install gdebi from the Software Center or use the command below:
sudo apt install gdebi
Method 3: Install .deb file in command line using dpkg
If you want to install the deb package from the command line, you can use either the apt command or the dpkg command. The apt command actually uses the dpkg command below it, but apt is more popular and easier to use.
If you want to use the apt command for deb files, use it as follows:
sudo apt install path_to_deb_file
If you want to use the dpkg command to install the deb package, here's how:
sudo dpkg -i path_to_deb_file
In both commands, you should replace path_to_deb_file with the path and name of the deb file you downloaded.
If you get a dependency error while installing the deb package, you can use the following command to fix it:
sudo apt install -f
You should read it
- How to Install Windows from Ubuntu
- What is the APK file? How to download and install the APK file?
- How to install CAB files for updates and drivers on Windows 10
- How to Install DEB Files
- How to install Ubuntu in parallel with Windows using USB
- How to Set Up vsftpd FTP on Ubuntu Linux
- Instructions for accessing Ubuntu Bash files on Windows
- How to install Skye on Ubuntu
May be interested
- How to Install CyberPanel on Ubuntu 20.04cyberpanel is a control panel designed to be user-friendly for non-technical users. cyberpanel is easy to learn as it uses a simple layout that most hosting companies are familiar with.
- Instructions for installing Ubuntu on VMware Workstation - Part 2in the previous section of the article, we jointly established vmware and ubuntu desktop. and the next section below, please continue with the steps to install ubuntu desktop on vmware workstation.
- 5 things to do when installing Ubuntu on PCubuntu is a powerful linux distribution suitable for a wide variety of use cases, ideal for both beginners and seasoned linux users.
- How to install µTorrent (uTorrent) in Ubuntu 20.04µtorrent provides clients for windows and macos x, however it is installed as a server in ubuntu linux and provides a web ui for managing downloads.
- How to Install Ubuntu Linux Without CD (Windows)want to install ubuntu on your windows computer, but don't have a dvd or cd drive? there are a couple of different ways that you can install ubuntu on computers that don't have disc drives. the most common way is to create a bootable usb...
- How to Install ClickHouse on Ubuntu 22.04clickhouse is a modern, fast and open source database management system used for online analytical processing (olap).
- How to install MySQL on Ubuntu 20.04in this article, tipsmake will show how to install mysql version 8.0 on ubuntu 20.04 server. by completing it, you'll have an active relational database that can be used to build your next website or app.
- How to install AVG Antivirus on Ubuntuin addition to windows, you can install avg antivirus on ubuntu easily and quickly to ensure that damage is minimized in the most optimal way. along with tipsmake, see how to install avg antivirus on ubuntu below.
- How to install Ubuntu on a VMware virtual machinehow to install ubuntu on a vmware virtual machine. ubuntu is a very popular operating system nowadays parallel to windows and macos. but ubuntu still makes many users wonder before upgrading should use on their own computers, so we still have a way to experience ubuntu.
- Ways to install Ubuntu on Windows, run in parallel or run separatelythere are many ways to install ubuntu on your computer, such as installing ubuntu from usb, cd, installing ubuntu running in parallel with windows, installing it