How To Speed-up Software Installation in Ubuntu with Gdebi?


Now Ubuntu use their new Ubuntu Software Center as the full featured official package manager for Ubuntu. First, it replaced Gdebi and took over package installations. Next, it replaced Synaptic package manager and became the only official (Graphical) package manager which comes by default with Ubuntu. But, it seems to have some problems with speed…

The Software Center did a big change in Ubuntu. Now, it’s very easy to discover new software, and its also easy to find quality software by looking at user ratings. The Ubuntu team have done a really great job by introducing the USC.

The Ubuntu Software Center is a feature rich package manager. But, these features comes with a price… The app is a bit heavy and takes some time to load. Earlier, we used Gdebi which is a very lightweight .deb installer. It can’t install software from repositories but it’s really good at installing .deb packages.

I found several guides explaining how to replace USC with Gdebi (when handling deb files) in older versions of Ubuntu. But, in the new one, there’s a small problem in setting Gdebi as the default app to handle .deb files. But it’s not impossible… Here’s how to do it :

  • First, open the Terminal and enter the following command to install Gdebi :
sudo apt-get install gdebi gdebi-core
  • Earlier, we can right-click and set Gdebi as the default application. But now, Gdebi doesn’t come in the list! So, we have to do it manually…

  • Issue the following command to open the file ~/.local/share/applications/mimeapps.list in Gedit :

gedit ~/.local/share/applications/mimeapps.list
  • Now, edit that file to look like this (You have to add the part ‘application/x-deb=gdebi.desktop;‘ manually. If one of the other two lines are missing, add them also.) :
[Added Associations]

[Default Applications]
  • After doing this, sometimes you might have to log out and log in. For me, opening a new file browser worked…

  • Now, simply double-click on your .deb file and Gdebi will do the rest!


comments powered by Disqus