Install deb packages in elementary OS Loki

Starting from Loki, elementary OS will no longer support installing Debian packages(.deb) by double-clicking on it. That’s because elementary OS is using its own App Store, and not the Ubuntu’s Application center. I’m not sure if elementary OS will ever directly support Debian packages in future, but for now, thankfully there are still ways to solve this issue. Google Chrome comes packaged in Debian package from the Google’s official download page. You can’t directly install it in elementary OS Loki by double-clicking on it. Here is a workaround:

Install .deb packages in elementary OS Loki

You can install debian packages by two methods including a command line way and GUI way, but both methods use ‘gdebi’ application installer.

Command-line way

The generic format of the command is as follows:

sudo gdebi package.deb

Install Google Chrome on elementary OS Loki

STEP 1: Download Google Chrome for your computer.

STEP 2: By default settings, the downloaded file should go into ‘Downloads’ directory. The file name should be similar to ‘google-chrome-stable_current_amd64.deb‘.

STEP 3: Launch ‘Terminal’ and navigate into the ‘Downloads’ directory using CD command.

cd Downloads

STEP 4: Type ls to see list of contents in the directory.

ls

STEP 5: Copy the file name of the Chrome setup file.

STEP 6: Enter the following command. You can paste the file name after typing sudo gdebi

sudo gdebi google-chrome-stable_current_amd64.deb

STEP 7: You will have to enter root password and enter ‘Y’ to complete installation. After installation is complete, you should see Google Chrome in Applications menu.

Graphical User Interface Way

Another way is to install gdebi installer in elementary OS which will let you install any .deb files easily by right-clicking on the debian file and ‘open with gDebi’.

STEP 1: Install gdebi installer.

sudo apt install gdebi

STEP 2: Now all you have to do is simply right-click on the downloaded Chrome deb package and select ‘Open with gDebi’ to proceed with GUI method of installing Google Chrome.

Previous articleHow to install Kodi media center on Fedora 24
Next articleHow to enable PPA in elementary OS Loki
Hi there! I'm Kiran Kumar, founder of FOSSLinux.com. I'm an avid Linux lover, and enjoys hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread Linux love!. If you find time, drop me an email or feedback from 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!

3
Leave a Reply

avatar
2 Comment threads
1 Thread replies
1 Followers
 
Most reacted comment
Hottest comment thread
3 Comment authors
Kiran KumarChrisu/spotlightmaster Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
u/spotlightmaster
Guest
u/spotlightmaster

Side note, if you get “command not found” or something like that when using the gdebi command, type in “sudo apt-get install gdebi [enter]”

I had to do this before I could install Chrome – it doesn’t seem to be a command built into elementary anymore.

Chris
Guest
Chris

Worked great. Thanks. How do I get Chrome to stop asking my for my keyring password every time I start it?