Installing Chrome on Raspbian

  • I am following a tutorial that is based on a Chrome extension so I have to install Chrome. When I tried the following command:

    sudo apt-get install chromium 

    I get the following error:

    E: Package 'chromium' has no installation candidate.

    I understand that it could be an architecture problem but what is the solution in my case? I am using a Raspberry Pi 2 Model B.

    sudo apt-get install chromium-browser
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package chromium-browser is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package 'chromium-browser' has no installation candidate

    The same goes when trying to install chromium. Also I get this when pressing tab:

    [email protected] ~ $ sudo apt-get install chro
    chromium-bsu        chromium-l10n       chrootuid
    chromium-bsu-data   chronicle           
    chromium-inspector  chrony 
  • Mona Jalal

    Mona Jalal Correct answer

    5 years ago

    Use these commands to install chromium-browser on Jessie (not Wheezy):

    sudo dpkg -i chromium-codecs-ffmpeg-extra_45.0.2454.85-0ubuntu0.
    sudo dpkg -i chromium-browser-l10n_45.0.2454.85-0ubuntu0. chromium-browser_45.0.2454.85-0ubuntu0.

    ^answer is from @dfaze comment's link

    Is there any updated version available?

    I would recommend to use a more official source.

    Thanks a lot for this.. I have been trying to install chromium a lot of time without success. It's even more faster than Epiphany browser. Far more faster.

    @fabrosell I agree for me duck duck go default browser is Jessie was so slow that I did all my best to find a way to install Chromium. It might not sound official but it works. I have done it various times and never failed.

    Glad it was helpful :)

    Check @tyrell-van-den-heever answer it installs the latest version of chromium instead of the old 45 version.

    @czerasz - I agree, but what official source is out there? I haven't found one.

    @KenWilliams please see my answer below.

  • Try sudo apt-get install chromium-browser

    not working. Can you please take a look at the updated question?

    Welcome to Raspberry Pi! Whilst this may theoretically answer the question, it would be preferable to include some explanation here, e.g. what do these commands do? (It was automatically flagged as *low quality* due to its length.)

    @aaron you might wanna add my answer to your tutorial for those who are using Jessie

    As of September 2016 chromium-browser (Chromium 51) is available through the standard Jessie distribution.

    As of August 2017, chromium-browser package on raspbian Stretch matches the latest available version (Chromium 60)

  • For the Raspberry Pi Model 3 with Raspbian Jessie, copy and paste these 5 lines individually into the terminal:

    sudo apt-get update
    wget -qO - | sudo apt-key add -
    echo "deb jessie main" | sudo tee -a /etc/apt/sources.list
    sudo apt-get update
    sudo apt-get install chromium-browser

    This should be the "correct" answer, because it installs the latest chromium version.

    used this on debian stretch, works well too.

  • This happens when you try to install a package APT doesn't know about. When you add software sources and run apt-get update, your system APT database is updated with all the packages on the repositories listed in the software sources list.

    Then when you try to install a package, apt checks the package name in its database, finds it and checks the name of the repo from where it got it. It then downloads the package from that repo.

    It is always useful to run apt-get update before doing apt-get install XXX, to ensure you get the latest software version that is on repo.

    I did the update and upgrade before running it and still the same error!

    Have you tryed `apt-get install chro` and then press `tab`key? you'll have a list of package starting with that... my rasp find `chromium`, `chromium-browser` ... isn't it the "browser" that you need?

    Pressing tab key doesn't suggest anything

    What do you think could be wrong?

    first make sure that bash-completion is installed: `sudo apt-get install bash-completion` or maybe `sudo apt-get install --reinstall bash-completion` and watch in your user directory (`/home/pi` by default) if you find a .bashrc file. if not, copy it from `cp /etc/skel/.bashrc ~/`

    so yeah I didn't have .bashrc in home and the last comment helped. but still chromium isn't a choice. Which one should I go with? `[email protected] ~ $ sudo apt-get install chro chromium-bsu chromium-l10n chrootuid chromium-bsu-data chronicle chromium-inspector chrony`

    oh sorry...! i was testing on my Wheezy Rasp... on the Jessie one ... I have the same problem as you...! may try this link : they show how to download the package and install it ;)

    should I add something here? /etc/apt/sources.list and what should I add?

    You don't need. The link I recommend is not so old and you only have to follow directives in "code section" : wget 3 packages and dpkg (install package) them

    Great, it runs! failing that mark my answer as resolved , Could You please tag a +1 ;) see you

  • I can confirm that, as of this post, sudo apt-get install chromium-browser works on Ubuntu MATE 15.10 on the Raspberry Pi 3.

  • wget
    sudo dpkg -i chromium-codecs-ffmpeg-extra_48.0.2564.82-0ubuntu0.
    sudo dpkg -i chromium-browser-l10n_48.0.2564.82-0ubuntu0. chromium-browser_48.0.2564.82-0ubuntu0.

    All credits go here.

    Ansible version:

    - hosts: all
        chromium_version: 48.0.2564.82
        # --- Install Chromium Browser ---
        - name: Download chromium packages
            url: "{{ item }}"
            dest: /home/pi/Downloads/
            owner: pi
            group: pi
            - "chromium-codecs-ffmpeg-extra_{{ chromium_version }}-0ubuntu0.{{ ubuntu_version }}_armhf.deb"
            - "chromium-browser_{{ chromium_version }}-0ubuntu0.{{ ubuntu_version }}_armhf.deb"
            - "chromium-browser-l10n_{{ chromium_version }}-0ubuntu0.{{ ubuntu_version }}_all.deb"
        - name: Install chromium packages
            deb: "/home/pi/Downloads/{{ item }}"
            - "chromium-codecs-ffmpeg-extra_{{ chromium_version }}-0ubuntu0.{{ ubuntu_version }}_armhf.deb"
            - "chromium-browser_{{ chromium_version }}-0ubuntu0.{{ ubuntu_version }}_armhf.deb"
            - "chromium-browser-l10n_{{ chromium_version }}-0ubuntu0.{{ ubuntu_version }}_all.deb"
        # --- END: Install Chromium Browser ---

    Find a project integration here.

    I would strongly encourage to add a checksum check (not present in the Ansible version as well) since the files are downloaded over http.

License under CC-BY-SA with attribution

Content dated before 6/26/2020 9:53 AM