![]() And no, you don’t need the original deb file you used to install the program. Removing a deb package isn’t a big deal, either. If you get a dependency error while installing the deb packages, you can use the following command to fix it: sudo apt install -f How to remove deb packages Installing deb files using dpkg command on Ubuntu In both commands, you should replace path_to_deb_file with the path and name of the deb file you’ve downloaded. If you want to use the dpkg command for installing deb packages, here’s how to do it: sudo dpkg -i path_to_deb_file If you are in the same directory where the deb file is located, use it like this: sudo apt install. If you want to use the apt command for deb files, use it like this: sudo apt install path_to_deb_file The apt command uses the dpkg command underneath it, but apt is more popular and easier to use. If you want to install deb packages in the command line, you can use either the apt command or the dpkg command. You can install gdebi deb package installer from the software center or using the command below: sudo apt install gdebi Method 3: Install. You can read in detail about using gDebi and making it the default for installing DEB packages. It is a lightweight application so the installation seems quicker. Personally, I prefer gdebi over the software center for installing deb files. It identifies the dependencies and tries to install these along with the. Gdebi is a lightweight GUI application solely to install deb packages. The Software Center cannot handle such errors on its own so you have to use another tool called gdebi. When the developer is preparing the deb package for you, he/she may assume that your system already has that piece of software.īut if that’s not the case and your system doesn’t have those required pieces of software, you’ll encounter the infamous ‘dependency error’. What happens is that a program may be dependent on another piece of software (such as libraries). deb files can be easily installed via the Software Center, let me tell you about the dependency error that you may encounter with some packages. Method 2: Use Gdebi application for installing deb packages with dependenciesĪgain, life would be a lot simpler if things always went smoothly. Here, choose open with Software Install as the default choice. ![]() All you have to do is right-click on the deb file and go for the Open With option. exe file on Windows, isn’t it? Troubleshoot: Double-clicking deb file doesn’t open in the software center in Ubuntu 20.04ĭouble-clicking the deb file in Ubuntu 20.04 opens the file in archive manager instead of software center. See, it’s even simpler than installing from a. The installation of the deb file will be carried out via the Software Center All you have to do is to hit the install button and enter your login password. ![]() It will open the software center, where you should see the option to install the software. deb file (usually the Downloads folder) and double-click on the file. Simply go to the folder where you downloaded the. ![]() The simplest method is to use the default software center in Ubuntu. Method 1: Use the default Software Center Let’s go on and see how to install deb files. You can choose a GUI or command-line tool for installing a deb package. deb files on Ubuntu and Debian-based Linux Distributions I’ll show them to you one by one in this tutorial. Now the question arises, how do you install deb files? There are multiple ways of installing deb packages on Ubuntu. For example, if you want to install Google Chrome on Ubuntu, you can download the Chrome deb package from its website. You can find these deb packages in the download section of a software provider’s website. exe file and it starts the installation procedure in Windows. These are archived files that end with the. Some applications are available via ‘deb’ packages. Life would be too simple if you could find all the applications in the Software Center. Search for an application by name and install it from there. The easiest way is to use the Ubuntu Software Center. If you’re completely new to Ubuntu, you might wonder how to install applications. This is another article in our Ubuntu beginner series.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |