Ubuntu – How to open “apt” links in Firefox (in Lubuntu)

aptfirefoxlubuntusoftware-center

Many answers on Ask Ubuntu direct to links like this that in Xubuntu opened in Ubuntu Software Center. In Lubuntu I get this error message:

enter image description here

In Firefox-Preferences/Applications cannot see something resembling to apt to associate to a program etc.

enter image description here

enter image description here

Opening the same link in Chromium or Opera I get:

enter image description here

Clicking "I'm running Ubuntu" results in an error message like in Firefox.

What's the remedy? Can I install Ubuntu Software Center?

Best Answer

All you need to do is install the (Ubuntu) Software Center in Lubuntu.

Open a terminal, and type sudo apt-get install software-center. Then, the first time you click on a APT link in Firefox should give you the below popup, after which such links should open automatically:

enter image description here

enter image description here


Beside Ubuntu Software Center, a much lighter application (AptUrl) can be used to handle "apt://" protocol/links: see this answer to a related question.