About Me

header ads

[Guide] Ubuntu 20.04, how to install deb packages

xubuntu-deb

Ubuntu 20.04, and derivatives, have been released very recently. A "problem" encountered by many users is the inability to install the deb. packages, with a double click on the relative icon. In this mini-guide for beginners, I will explain how to solve this problem.

Ubuntu 20.04 Focal Fossa: how to easily install deb packages

deb is the historical package format used by the Debian distribution and its derivatives. Installing a program distributed with this format has always been a very simple operation. Just double click on the icon. Many users of the new release of the Canonical operating system, however, have found the opening of the archive manager, rather than the installation software, incorrect. To be honest, I also had this problem on my pc, where I replaced Linux Mint with Xubuntu 20.04.

Fortunately, the solution to this problem is very simple. This is a procedure that should only be performed for the first installation of a deb package.
  • Click on the package with the right button;
  • Open properties;
  • Select open with> install software (if necessary, select the button set as default, if any).

Install the debs from the CLI

Since GNU/Linux is still a terminal oriented operating system, there are obviously various terminal alternatives. Let's see some on Ubuntu.

  • Apt. The pre-installed standard manager comes to our rescue. Let's go to the folder where we have the file to install, and then type the following instruction

sudo apt install ./file.deb

  • Gdebi. This tool is not present by default in Ubuntu. Therefore, we must first proceed with its installation, via sudo apt install gdebi. Then we can use it as follows:

sudo gdebi file.deb

This software also comes with a handy GUI. You can use it by default, choosing it among the properties with the procedure I have indicated above. From the terminal, however, it can be started by issuing the gdebi-gtk instruction.

Post a Comment

0 Comments