How to make Synaptic the default to install .deb files? [duplicate]

I have tried a lot and Ubuntu software center crashes the most when installing .deb packages with it. And I would like to make synaptic package manager as the default to open .deb installation files. How to set up synaptic as default package manager in Ubuntu?


... And I would like to make synaptic package manager as the default to open .deb installation files. ...

Synaptic can not be used as the default program for DEB files, just like you want to.

But you can try gdebi.

sudo apt-get install gdebi

Now you can set gdebi as the default application for DEB-files.


I have had the same issue with software center.

Right click on the .deb package and select properties. Click on the Open With tab, select synaptic and click set as default.

If synaptic is not available, you can install gdebi instead which is the recommended app to install deb packages by debian. You can install gdebi using the following command:

sudo apt-get install gdebi

Then, right click on the .deb package and select properties. Click on the Open With tab, select gdebi and click set as default.


If App center crashes, alternatively You can Install it Using bash as:

sudo apt-get install synaptic 

For further reference Check out official documentation here

To set as default: locate package in the file manager, right-click it, and select Properties then Click the "Open With" tab and select the application (Synaptic in your case) you want to use for pakages. Use the Set as default button to make the application the default application.