User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Guide: Chromium 51 on Raspbian Jessie

Sun Sep 20, 2015 3:42 pm

Here's a quick guide for anyone wanting a updated Chromium with Chrome Web Store support on plain Raspbian.
THIS GUIDE IS NOW NOT NEEDED, PREBUNDLED WITH RASPBIAN! YAY!

1. Install and configure Raspbian. There are plenty of guides on how to do this.

A more detailed intro to RPi-youtube

2. Add the Chromium repository and install the software ANSWER Y TO ALL QUESTIONS!:

Code: Select all

wget -qO - http://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
echo "deb http://dl.bintray.com/kusti8/chromium-rpi jessie main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install chromium-browser rpi-youtube -y

You should have Chromium 51 and RPi-youtube now installed! Simply install the extension from the Chrome web store (rpi-youtube) and click on the icon whenever you want smoother video viewing, on any supported website.

RPi-youtube, view youtube locally (much smoother)
http://kusti8.github.io/RPi-chromium/
I've released a Chromium extension for the RPi that allows you to play youtube videos in omxplayer, allowing much smoother playback.
Currently, when you install the extension and all the required files, when you visit a youtube video it will prompt you if you want to view the video locally. If you visit another video site and click on the icon, the same should happen, support more than 600 websites. After pressing OK and waiting a few seconds, omxplayerGUI will pop up displaying the video. It's as simple as that!
Supported sites
http://rg3.github.io/youtube-dl/supportedsites.html:

Any problems, please post them here on this thread. It's the best place where I can reply.
Last edited by kusti8 on Fri Sep 30, 2016 4:53 pm, edited 42 times in total.
There are 10 types of people: those who understand binary and those who don't.

GrahamBowman
Posts: 6
Joined: Thu Sep 22, 2011 3:20 pm

Re: Guide: Chromium 44 on Raspbian Pi2

Tue Sep 29, 2015 11:01 pm

I had issues with this.

Code: Select all

sudo apt-get install -t jessie libc
did not work. I tried

Code: Select all

sudo apt-get install -t jessie libc6
but that was breaking dependancies on other packages that depend on an earlier version.

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Guide: Chromium 44 on Raspbian Pi2

Tue Sep 29, 2015 11:44 pm

GrahamBowman wrote:I had issues with this.

Code: Select all

sudo apt-get install -t jessie libc
did not work. I tried

Code: Select all

sudo apt-get install -t jessie libc6
but that was breaking dependancies on other packages that depend on an earlier version.
I'll look into it when I have time. I didn't test it with other packages, could you name the ones which are having trouble? You may have have to update those to jessie as well.

Edit: jessie is now official anyways, so I'm going to update the guide when I get a chance. You may want to just upgrade the entire thing, there is a link on how to do that in the blog post, or just start new with a fresh image that is now jessie instead of wheezy.
There are 10 types of people: those who understand binary and those who don't.

treebz
Posts: 1
Joined: Tue Aug 21, 2012 4:01 am

Re: Guide: Chromium 44 on Raspbian Pi2

Fri Oct 02, 2015 12:25 am

I just downloaded and imaged a SD card with the new Raspbian Jessie. It appears Chromium is not available at all?

Code: Select all

pi@black ~ $ 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

User avatar
fruitoftheloom
Posts: 14966
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: Guide: Chromium 44 on Raspbian Pi2

Fri Oct 02, 2015 5:59 am

treebz wrote:I just downloaded and imaged a SD card with the new Raspbian Jessie. It appears Chromium is not available at all?

Code: Select all

pi@black ~ $ 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
chromium-browser has chromium as a dependency in Wheezy

chromium in Wheezy and Jessie does not have an ARM Build https://packages.debian.org/jessie/chromium

The version 22 chromium in Raspbian Wheezy Repository was an out of date buggy version, which was not removed about 2 years ago when Debian abandoned an ARM build.

Therefore if you want chromium 44 you will need to work ouy how to nstall yourself and have a RPi2B :D
Last edited by fruitoftheloom on Fri Oct 02, 2015 6:44 am, edited 1 time in total.
My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !
Rockchip Quad-Core RK3288C SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC

firstness
Posts: 20
Joined: Thu Oct 01, 2015 2:36 am

Re: Guide: Chromium 44 on Raspbian Pi2

Fri Oct 02, 2015 6:37 am

1) I noticed that chromium 44 is no longer available from that url, but rather 45 (chromium-browser_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb). As updated versions appear in that url, can they be installed over top?

2) Can plugins be used such as uBlock origin?

3) How is the performance compared to Epiphany browser?

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Guide: Chromium 44 on Raspbian Pi2

Fri Oct 02, 2015 7:33 pm

firstness wrote:1) I noticed that chromium 44 is no longer available from that url, but rather 45 (chromium-browser_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb). As updated versions appear in that url, can they be installed over top?

2) Can plugins be used such as uBlock origin?

3) How is the performance compared to Epiphany browser?
1. So I don't have to always update the url, I'll probably upload it somewhere else, if I have time over the weekend. Yes, it should be possible to install it like V44.

2. If they are in the Web Store like any other extension, yes.

3. It may be a little slower, but not by much and more stable.
There are 10 types of people: those who understand binary and those who don't.

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Guide: Chromium 45 on Raspbian Jessie

Fri Oct 02, 2015 10:44 pm

Fixed all issues with the post. I've updated the instructions for Jessie, and have removed the instructions for Wheezy, but basically I used apt pinning and updated libc6, for anyone wanting to do that. Or just update to Jessie, there is a topic here about this.

This is also the only way to get Chromium on the new Jessie! ;)
There are 10 types of people: those who understand binary and those who don't.

punktea
Posts: 21
Joined: Thu Jul 18, 2013 8:55 am

Re: Guide: Chromium 45 on Raspbian Jessie

Mon Oct 05, 2015 12:02 pm

Worked out real well for me. As long as I don't open too many tabs, the pages rendered better and are more responsive than epiphany, especially the ones with lots of javascript like finance.yahoo.com. Finally a useable desktop. Thanks!

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4698
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Guide: Chromium 45 on Raspbian Jessie

Mon Oct 05, 2015 12:07 pm

Works well for me, thanks.

coding
Posts: 39
Joined: Sun Jul 20, 2014 7:23 am

Re: Guide: Chromium 45 on Raspbian Jessie

Tue Oct 06, 2015 10:31 pm

First of all, thank you for your work and for sharing this.
But: is the source ports.ubuntu.com absolutely safe now and in the future? I would do online banking and stuff, so safety is most important. Not sure if those files, when downloaded from ports.ubuntu.com, are 100% clean. I have heard of Ubuntu, but I have never heard of that special website, nor do I know who uploads and maintains the files.

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Guide: Chromium 45 on Raspbian Jessie

Tue Oct 06, 2015 11:15 pm

coding wrote:First of all, thank you for your work and for sharing this.
But: is the source ports.ubuntu.com absolutely safe now and in the future? I would do online banking and stuff, so safety is most important. Not sure if those files, when downloaded from ports.ubuntu.com, are 100% clean. I have heard of Ubuntu, but I have never heard of that special website, nor do I know who uploads and maintains the files.
It is as safe as it can be. Ubuntu is very well known, and that website is maintained by Ubuntu.
There are 10 types of people: those who understand binary and those who don't.

User avatar
fruitoftheloom
Posts: 14966
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: Guide: Chromium 45 on Raspbian Jessie

Tue Oct 06, 2015 11:25 pm

kusti8 wrote:
coding wrote:First of all, thank you for your work and for sharing this.
But: is the source ports.ubuntu.com absolutely safe now and in the future? I would do online banking and stuff, so safety is most important. Not sure if those files, when downloaded from ports.ubuntu.com, are 100% clean. I have heard of Ubuntu, but I have never heard of that special website, nor do I know who uploads and maintains the files.
It is as safe as it can be. Ubuntu is very well known, and that website is maintained by Ubuntu.
http://www.canonical.com
My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !
Rockchip Quad-Core RK3288C SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC

Heater
Posts: 7933
Joined: Tue Jul 17, 2012 3:02 pm

Re: Guide: Chromium 45 on Raspbian Jessie

Wed Oct 07, 2015 3:26 am

Well, you are accessing that site without using HTTPS so nothing is certain.

We can always trust Canonical can't we: http://www.gnu.org/philosophy/ubuntu-spyware.en.html

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Guide: Chromium 45 on Raspbian Jessie

Wed Oct 07, 2015 10:43 am

Heater wrote:Well, you are accessing that site without using HTTPS so nothing is certain.

We can always trust Canonical can't we: http://www.gnu.org/philosophy/ubuntu-spyware.en.html
True. There is always a little bit of risk.

For your second paragraph: Wow. I didn't know about that.
There are 10 types of people: those who understand binary and those who don't.

Heater
Posts: 7933
Joined: Tue Jul 17, 2012 3:02 pm

Re: Guide: Chromium 45 on Raspbian Jessie

Wed Oct 07, 2015 10:58 am

We don't call him "Shifty Shuttleworth" for nothing.

But yeah, it's impossible to trust anything on the net.

California
Posts: 149
Joined: Sat Jun 06, 2015 2:33 pm

Re: Guide: Chromium 45 on Raspbian Jessie

Thu Oct 08, 2015 6:10 am

Hello, no success on step 3, help would bee appreciated.

Code: Select all

pi@raspberrypi ~ $ wget https://dl.dropboxusercontent.com/u/87113035/chromium-codecs-ffmpeg-extra_45.0.2454.85-
--2015-10-08 06:05:43--  https://dl.dropboxusercontent.com/u/87113035/chromium-codecs-ffmpeg-extra_45.0.2454.85-
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 23.21.100.40, 23.23.249.33, 54.243.59.71, ...
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|23.21.100.40|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-10-08 06:05:44 ERROR 404: Not Found.
Regards,
Vlado

California
Posts: 149
Joined: Sat Jun 06, 2015 2:33 pm

Re: Guide: Chromium 45 on Raspbian Jessie

Thu Oct 08, 2015 6:41 am

Repeat of step 3 once again makes everything work ok.

Thanks,
Regards Vlado

coding
Posts: 39
Joined: Sun Jul 20, 2014 7:23 am

Re: Guide: Chromium 45 on Raspbian Jessie

Thu Oct 08, 2015 3:22 pm

Hey, this Chromium doesn't have any hardware acceleration anymore! A day before under Wheezy I tried Chromium 22 which is in Wheezy's repositories, and it had almost all hardware GPU acceleration options enabled (except for 2D Canvas), which made it super fast. But this Chromium build here is pure CPU and super slow. :)
Edit: You can see it in chrome://gpu

User avatar
fruitoftheloom
Posts: 14966
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: Guide: Chromium 45 on Raspbian Jessie

Thu Oct 08, 2015 3:41 pm

coding wrote:Hey, this Chromium doesn't have any hardware acceleration anymore! A day before under Wheezy I tried Chromium 22 which is in Wheezy's repositories, and it had almost all hardware GPU acceleration options enabled (except for 2D Canvas), which made it super fast. But this Chromium build here is pure CPU and super slow. :)
Edit: You can see it in chrome://gpu
...and are you going to build Chromium with Hardware Acceleration from Source for the Community. .??

Chromium for ARM is not supported by Debian or the RPF :shock:
My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !
Rockchip Quad-Core RK3288C SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Guide: Chromium 45 on Raspbian Jessie

Thu Oct 08, 2015 7:12 pm

coding wrote:Hey, this Chromium doesn't have any hardware acceleration anymore! A day before under Wheezy I tried Chromium 22 which is in Wheezy's repositories, and it had almost all hardware GPU acceleration options enabled (except for 2D Canvas), which made it super fast. But this Chromium build here is pure CPU and super slow. :)
Edit: You can see it in chrome://gpu
Well if you want to, you can change the respective settings in flags and settings.

But I doubt it really used hardware acceleration. There is no hardware acceleration because AFAIK Chromium doesn't use OpenGL ES. The only other hardware acceleration present is scrolling.

Anyways, for me, this version feels faster than the older version. At least it works well for surfing and is very stable. At least, that's what I think.
There are 10 types of people: those who understand binary and those who don't.

User avatar
fruitoftheloom
Posts: 14966
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: Guide: Chromium 45 on Raspbian Jessie

Thu Oct 08, 2015 8:18 pm

kusti8 wrote:
coding wrote:Hey, this Chromium doesn't have any hardware acceleration anymore! A day before under Wheezy I tried Chromium 22 which is in Wheezy's repositories, and it had almost all hardware GPU acceleration options enabled (except for 2D Canvas), which made it super fast. But this Chromium build here is pure CPU and super slow. :)
Edit: You can see it in chrome://gpu
Well if you want to, you can change the respective settings in flags and settings.

But I doubt it really used hardware acceleration. There is no hardware acceleration because AFAIK Chromium doesn't use OpenGL ES. The only other hardware acceleration present is scrolling.

Anyways, for me, this version feels faster than the older version. At least it works well for surfing and is very stable. At least, that's what I think.
Chromium Switch shows under MAC and Linux GL ES is not supported:

--use-gl

Select which implementation of GL the GPU process should use. Options are:
desktop: whatever desktop OpenGL the user has installed (Linux and Mac default).
egl: whatever EGL / GLES2 the user has installed (Windows default - actually ANGLE).
osmesa: The OSMesa software renderer.


http://peter.sh/experiments/chromium-co ... e-switches
Last edited by fruitoftheloom on Thu Oct 08, 2015 8:20 pm, edited 1 time in total.
My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !
Rockchip Quad-Core RK3288C SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Guide: Chromium 45 on Raspbian Jessie

Thu Oct 08, 2015 8:20 pm

Interesting. I'll have to play with that.
There are 10 types of people: those who understand binary and those who don't.

User avatar
fruitoftheloom
Posts: 14966
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: Guide: Chromium 45 on Raspbian Jessie

Thu Oct 08, 2015 8:43 pm

kusti8 wrote:Interesting. I'll have to play with that.
http://www.webupd8.org/2014/01/enable-h ... hrome.html
My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !
Rockchip Quad-Core RK3288C SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC

qqq123
Posts: 1
Joined: Fri Oct 09, 2015 7:17 pm

Re: Guide: Chromium 45 on Raspbian Jessie

Fri Oct 09, 2015 7:26 pm

I got some problem

Code: Select all

pi@raspberrypi ~ $ sudo dpkg -i chromium-browser-l10n_45.0.2454.85-0ubuntu0.15.04.1.1181_all.deb chromium-browser_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb

(Reading database ... 117426 files and directories currently installed.)
Preparing to unpack chromium-browser-l10n_45.0.2454.85-0ubuntu0.15.04.1.1181_all.deb ...
Unpacking chromium-browser-l10n (45.0.2454.85-0ubuntu0.15.04.1.1181) over (45.0.2454.85-0ubuntu0.15.04.1.1181) ...
Preparing to unpack chromium-browser_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb ...
Unpacking chromium-browser (45.0.2454.85-0ubuntu0.15.04.1.1181) ...
dpkg-deb (subprocess): cannot copy archive member from 'chromium-browser_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive chromium-browser_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb (--install):
 cannot copy extracted data for './usr/lib/chromium-browser/natives_blob.bin' to '/usr/lib/chromium-browser/natives_blob.bin.dpkg-new': unexpected end of file or stream
dpkg: dependency problems prevent configuration of chromium-browser-l10n:
 chromium-browser-l10n depends on chromium-browser (>= 45.0.2454.85-0ubuntu0.15.04.1.1181); however:
  Package chromium-browser is not installed.
 chromium-browser-l10n depends on chromium-browser (<< 45.0.2454.85-0ubuntu0.15.04.1.1181.1~); however:
  Package chromium-browser is not installed.

dpkg: error processing package chromium-browser-l10n (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 chromium-browser_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb
 chromium-browser-l10n
It seems that I didn´t install chromium-browser. But when I tried to fix it by ¨apt-get install chromium-browser¨, it also failed.

Code: Select all

pi@raspberrypi ~ $ 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
However the following packages replace it:
  chromium-codecs-ffmpeg-extra chromium-browser-l10n

E: Package 'chromium-browser' has no installation candidate
How can I do?

Return to “General discussion”

Who is online

Users browsing this forum: W. H. Heydt, Yahoo [Bot] and 39 guests