138

When I go to download Google Chrome from http://www.google.com/chrome in Midori on the Raspberry Pi , I am presented with a modal dialogue box,

Please select your download package:

  • 32 bit .deb (For Debian/Ubuntu)
  • 64 bit .deb (For Debian/Ubuntu)
  • 32 bit .rpm (For Fedora/openSUSE)
  • 64 bit .rpm (For Fedora/openSUSE)

Not Debian/Ubuntu or Fedora/openSUSE? There may be a community-supported version for your distribution here.

Is it possible to install Google Chrome on the Raspberry Pi? How would I go about it?

ACooleman
  • 215
  • 1
  • 2
  • 8
Andrew Fogg
  • 5,933
  • 8
  • 27
  • 28

9 Answers9

145

You can't install Google Chrome, but you can install Chromium. As other people have posted, Chromium is the code base out of which Google Chrome is compiled. Chromium is an open-source version of this browser. Simply type the following.

Debian

$ sudo apt-get install chromium-browser

If you receive any errors running this command, try running

$ sudo apt-get update

and then rerun the first command again.

Arch

$ sudo pacman -S chromium
Ilya
  • 125
  • 5
Tass
  • 1,566
  • 1
  • 9
  • 2
12

Note that apt-get gives you a very old version of Chromium (v6). Hexxeh has a much newer build (v22):

McKAMEY
  • 517
  • 3
  • 9
12

As far as I know Google does not (yet) distribute Chrome binaries for Linux/ARM. (The only ARM binaries are for Android and these will not be compatible.)

You might be able to cross-compile Chromium for Linux/armel (I have not tried but I am willing to bet that the RasPi itself is not powerful enough to compile it.)

Also keep in mind that if you were able to install it, you may be disappointed with its performance as it is designed for somewhat more powerful machines.

finnw
  • 5,790
  • 3
  • 34
  • 42
6

After finding out that Chromium is stuck at version 22 (current version is 31) I decided to switch to Firefox ie Iceweasel browser on Raspbian because it is kept updated.

valentt
  • 1,315
  • 3
  • 15
  • 21
4

Chromium is working fine and get reasonable performance on my Raspberry Pi. Better than Midori.

sudo apt-get install chromium
Peter Mortensen
  • 2,004
  • 2
  • 15
  • 18
d1rtyw0rm
  • 49
  • 1
2

Open Source Chromium is really good alternative for Google Chrome. But sometimes it's needed original Google Chrome. For example, you can't watch video with Netflix or Amazon prime with Chromium because it lack a couple of libraries.

You can install original x86 Google Chrome with help of ExaGear Desktop.

  1. Install ExaGear Desktop (note that ExaGear isn't free and you have to obtain the license)

    tar -xvzpf exagear-desktop-rpi2.tar.gz
    sudo ./install-exagear.sh
    
  2. Run ExaGear Desktop

    exagear
    
  3. Download Google Chrome

    wget http://mirror.retrosnub.co.uk/apt/google/pool/main/g/google-chrome-stable/google-chrome-stable_48.0.2564.116-1_i386.deb
    
  4. Install Google Chrome

    sudo dpkg -i google-chrome-stable_48.0.2564.116-1_i386.deb
    
  5. Now you can run Google Chrome from Start Menu

Running Google Chrome on Raspberry Pi

Based on this post.

vadik_lyutiy
  • 147
  • 4
1

This works great.

sudo apt-get install chromium
Ghanima
  • 15,958
  • 17
  • 65
  • 125
Xyloxide
  • 29
  • 1
1

Because the question is already answered, I will tell you something else.

If you dont use the new Pi2, I really recommend you using a different browser, like midori. Simply because things will run smoother in midori/every other lightweight browser that with chrome/-ium.

1

Install Chromium on your Raspberry Pi with apt-get

At first, we have to update our packages. Open a terminal and type in:

sudo apt-get update

Then, you can install it also by using the packet manager:

sudo apt-get install chromium --yes

Alternatively you can install the package chromium-browser instead of chromium. That’s all! If you are connected through SSH or not using the graphical user interface, you should start (startx). Otherwise you can also establish a remote desktop connection. Now click the start button and navigate to “Internet” where you will find the Chromium shortcut.


Install Chromium on Raspberry Pi’s by using git

If you want to compile the Raspberry Pi Chrome (Chromium) Browser yourself, visit their Google Source repository where you can also check the code. The code is not available on GitHub, but that makes no difference for cloning and compiling the repository. But you should know that the files to download are about 15 gigabyte (after installing in fact 22 GB). This is why I recommend the first option, if you only want to install it quickly. If the installation above failed (for any reason) or you want to inspect / change the code, this is how you can do it (you must have a Raspberry Pi Model 2B / 3, because the models before have not 4 kernels): If you haven’t already installed git, you have to install it first:

sudo apt-get install git

Next, we clone the whole repository to a specific folder, which we create and then go into this directory.

sudo mkdir /opt/chromium
cd /opt/chromium
sudo git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git

Now you can check out the needed files (about 15 GB). Make sure that your micro SD card (32GB or more) has enough empty disk space.

export PATH=$PATH:/opt/chromium/depot_tools
nice fetch --nohooks --no-history chromium

Depending on your internet speed this step can take a while. After finished downloading all files, you can compile the project.

./build/install-build-deps.sh
gclient runhooks
./build/gyp_chromium -Dcomponent=shared_library -Dfastbuild=1
nice ninja -C out/Release chrome

Based off here


Google Chrome installation instruction

Note: Exagear, which is needed is not free it does cost a few bucks for a license!

Configure Raspbian

  1. Google Chrome is CPU intensive application, therefore, we recommend to increase swap space. Open configuration file in Terminal (command line) using the following command:
$ sudo nano /etc/dphys-swapfile

Raspbian has 100MB of swap by default. You should change it to 2000MB in the configuration file. So you will have to find this line:

CONF_SWAPSIZE=100

And then change it into:

CONF_SWAPSIZE=2048

Press F3 key to save changes and F2 to close the file. Then restart dphys-swapfile to apply changes:

$ sudo /etc/init.d/dphys-swapfile stop
$ sudo /etc/init.d/dphys-swapfile start

Install ExaGear Desktop

  1. Download ExaGear Desktop archive with installation packages and license key. Unpack the downloaded archive by entering the following command in Terminal:
$ tar -xvzpf exagear-desktop-rpi3.tar.gz
  1. Install and activate ExaGear on your RPi by running install-exagear.sh script in a directory with deb packages and one license key:
$ sudo ./install-exagear.sh

Launch guest x86 system

  1. Enter the guest x86 system by using the following command:
$ exagear

Starting the shell in the guest image /opt/exagear/images/debian-8

  1. Now you are in the x86 environment that can be checked by running the arch command:

     $ arch
    i686
  2. It is recommended to update apt-get repositories on the first launch of the guest system:
$ sudo apt-get update

Install Chrome

  1. Download Google Chrome:

       $ wget http://mirror.retrosnub.co.uk/apt/google/pool/main/g/google- chrome-stable/google-chrome-stable_48.0.2564.116-1_i386.deb
  2. Install Chrome:

      $ sudo dpkg -i google-chrome-stable_48.0.2564.116-1_i386.deb
      $ sudo apt-get install -f
      $ sudo rm -f /etc/apt/sources.list.d/google-chrome.list

Run Chrome

Based off here

User98764431
  • 569
  • 1
  • 19
  • 33