Ubuntu is one of my favorite Linux flavour. Recently I installed Ubuntu 11.10 on my computer. In Ubuntu 11.10 default web browser is Firefox 7 and Chromium is available in software center to install. But I have to install Chrome on multiple Systems, so i have downloaded the .deb package and installed it.
There are a few difference between Google Chrome and Chromium. But, Here i will discuss about installing Chrome almost offline to a newly installed Ubuntu 11.10. I generally prefer to install application by downloading the .deb package and install the dependencies using internet. I do this because it saves time and bandwidth both. Using this method I may install big packages on multiple computer by downloading once, where as dependencies are usually small and can be installed using a worst dial-up connection.
Download Google Chrome:
Now, First download Google chrome from http://www.google.com/chrome. Download 32 bit or 64 bit .deb (For Debian/Ubuntu) file according to your Operating System.
If you try to install Chrome by using double-click the package or open it using package manager, you will get an error:
Internal Error
The file '/home/anand/Downloads/google-chrome-beta_current_amd64.deb' could not be opened.
Try to fix this issue by automatically installing dependencies using command sudo apt-get -f install. If it install successfully then then install chrome again. If you got any error then read further. In most of cases it will automatically install dependencies as shown in video:
OR if you will try to install it using terminal or dpkg -i You will get similar error:
dpkg: dependency problems prevent configuration of google-chrome-beta: google-chrome-beta depends on libnspr4-0d (>= 4.7.3-0ubuntu1~); however: Package libnspr4-0d is not installed. google-chrome-beta depends on libnss3-1d (>= 3.12.3); however: Package libnss3-1d is not installed. google-chrome-beta depends on libxss1; however: Package libxss1 is not installed. google-chrome-beta depends on libcurl3; however: Package libcurl3 is not installed.
Install Dependencies using “apt-get”:
Check the Chrome dependencies by using apt-cache show google-chrome-stable command in the terminal. You will get a message like this:
Package: google-chrome-stableVersion: 14.0.835.202-r103287Architecture: amd64Maintainer: Chrome Linux Team <chromium-dev@chromium.org>Installed-Size: 96104Pre-Depends: dpkg (>= 1.14.0)Depends: libasound2 (>> 1.0.22), libbz2-1.0, libc6 (>= 2.11), libcairo2 (>= 1.6.0), libcups2 (>= 1.4.0), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2 (>= 0.78), libexpat1 (>= 1.95.8), libfontconfig1 (>= 2.8.0), libfreetype6 (>= 2.3.9), libgcc1 (>= 1:4.1.1), libgconf2-4 (>= 2.27.0), libgcrypt11 (>= 1.4.2), libglib2.0-0 (>= 2.18.0), libgtk2.0-0 (>= 2.18.0), libnspr4-0d (>= 4.7.3-0ubuntu1~), libnss3-1d (>= 3.12.3), libpango1.0-0 (>= 1.20.0), libpng12-0 (>= 1.2.13-4), libstdc++6 (>= 4.4.0), libx11-6 (>= 0), libxext6 (>= 0), libxrender1, libxss1, zlib1g (>= 1:1.2.3.3.dfsg), ca-certificates, libcurl3, libatk1.0-0 (>= 1.30.0), lsb-base (>= 3.2), xdg-utils (>= 1.0.2), wgetConflicts: google-chromeReplaces: google-chromeProvides: google-chrome, www-browserSection: netPriority: optionalFilename: pool/main/g/google-chrome-stable/google-chrome-stable_14.0.835.202-r103287_amd64.debSize: 24376104SHA1: 21dd947c014a25729adca78a1b7eee30ded378e3MD5sum: d6fa2c26005b2ea6bf319a7243876c8dDescription: The web browser from GoogleGoogle Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.
Their will be a list of dependencies in the above result. (Line: 7)
For me, sudo apt-get install libnspr4-0d libnss3-1d libxss1 libcurl3 works. Well, it will depend upon your current system. (Internet connection will be required).
Install Google Chrome using “dpkg”:
Now install Chrome using sudo dpkg command.
For me sudo dpkg -i /home/anand/Downloads/google-chrome-stable_current_i386.deb worked since i have downloaded chrome to the default download folder.
[copying the above command will not work for you since my user name is anand replace it with your own.]
Congratulation, Finally you have installed Google Chrome to your Ubuntu 11.10.
Search for Chrome in application and click the icon then you may right click on the icon and check Keep it on launcher†for quick access to Chrome.
Thanks for such a wonderful article! It helped me a lot in improving my knowledge.
I see Chrome is built-in Ubuntu
@Hung. Google Chrome is not “built-in” in Ubuntu, maybe what you saw is Chromium which where Google Chrome “.deb” installer was made possible for Ubuntu. Also Chromium is not “built-in” on Ubuntu, you have to install it by searching it in Ubuntu’s Software Center.
Can I use this trick on Ubuntu 12.10?