1

I've downloaded the .deb file of the Brackets editor and tried to install it. It takes me to the Ubuntu Software Centre to install the file, then after the installation completes it shows the Install button, instead of showing the Launch and Remove buttons.

This happens every time I try to install a .deb file.

I'm running the latest Ubuntu 18.04.1 LTS update.

Zanna
  • 70,465

1 Answers1

2

Gdebi is the best gui tool out there.

sudo apt install gdebi

I don't use Gdebi wright now because I'm in Kubuntu and avoid gtk apps. What I do is use the file ~/.local/share/applications/install_deb_term.desktop with the lines

[Desktop Entry]
Name=Install in terminal with apt
Comment=Install deb files in terminal with apt
Exec=sudo apt install %f
Icon=gdebi
Terminal=true
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Settings;HardwareSettings;X-GNOME-Settings-Panel;System;

then select the deb file, "Open with" and select "Install in terminal"...

  • The desktop file I use is a bit different, more kde-specific. I use Terminal=false and Exec=konsole --hold -e sudo apt install %f to keep the terminal open after finish. In gnome-terminal you need a new profile set to keep window open and the line Exec=gnome-terminal --window-with-profile=PROFILENAME -e 'sudo apt install %f'. –  Jan 13 '19 at 15:59