Difference between revisions of "RPi Chromium"

From eLinux.org
Jump to: navigation, search
(Alternative method)
(Installing the software)
 
(37 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[Category:RaspberryPi]]
 
[[Category:RaspberryPi]]
 
Back to [[RPi Guides]].
 
Back to [[RPi Guides]].
 
  
 
'''Adding Chromium web browser to a Raspberry Pi'''
 
'''Adding Chromium web browser to a Raspberry Pi'''
Line 7: Line 6:
 
=What does it do?=
 
=What does it do?=
  
This guide shows you how to install a Chromium web browser, which should be faster than the standard Debian web browser.
 
  
These instructions will show you how to install a software from the command line. This is a very important skill if you wish to progress further with Linux.
+
'''Warning: This guide may not work for the "wheezy" version of Debian'''
 +
You may try the instructions from Hexxeh: [http://hexxeh.net/?p=328117859]
 +
 
 +
 
 +
This guide shows you how to install a Chromium web browser, which should be faster and more reliable than the standard Debian web browser.
  
 
=What do you need?=
 
=What do you need?=
  
 
*A Raspberry Pi, model B.
 
*A Raspberry Pi, model B.
*A boot SD card for the Raspberry Pi.
+
*A Debian Squeeze SD card for the Raspberry Pi, size should be 2GB or larger.
 
*A network connection (Ethernet or WiFi).
 
*A network connection (Ethernet or WiFi).
 +
Note: currently Chromium only works on the older Debian Squeeze image. It is not supported uptream for Debian Wheezy. Midori is still recommended for Wheezy.
  
 
=What skill level is required?=
 
=What skill level is required?=
Line 21: Line 24:
 
Suitable for absolute beginners. No Linux knowledge is needed.
 
Suitable for absolute beginners. No Linux knowledge is needed.
  
=Overview of this project=
+
It is assumed that you have used a computer before, for example a Windows PC.
 +
 
 +
=Overview of this guide=
 
You need to
 
You need to
 
*Install Chromium software on the Raspberry Pi
 
*Install Chromium software on the Raspberry Pi
 
*Start the Chromium web browser
 
*Start the Chromium web browser
 
If you are really scared of entering commands, there are alternative instructions at the end. This shows you how to install software without using any commands. Note that it is MUCH easier to use the command line, but you may find it useful to see the two methods described.
 
  
 
=Installing the software=
 
=Installing the software=
Insert a Debian SD card in the Raspberry Pi.
+
Follow the instructions in [[RPi Install software]], using the command
 
+
'''sudo apt-get install chromium-browser'''
Connect the Ethernet cable from your Raspberry Pi to a modem or other internet service. You may also use a WiFi device, but you may need help to get this working.
 
  
Log in with your username and password.
+
In order to have a better display you can also install MC core fonts using
 
+
  '''sudo apt-get install ttf-mscorefonts-installer'''
To check if your internet connection is working, enter the following command and press enter at the end.
 
host www.raspberrypi.org
 
 
 
If your internet connection is working, you should see a response like the following
 
www.raspberrypi.org has address xxx.xxx.xxx.xxx
 
 
 
If you get an error message instead, you have a problem with your internet connection. You must ask somebody to help fix this problem before you can proceed.
 
 
 
Enter the following command and press enter at the end.
 
  sudo apt-get install chromium-browser
 
You will be asked for your password. Enter your password and press enter. Note that you will not be able to see your password.
 
 
 
You will be asked for permission (yes/no) to install new software. Press the 'y' key and enter to continue.
 
 
 
Wait for the installation to complete.
 
  
 
=Opening the Chromium web browser=
 
=Opening the Chromium web browser=
 
Enter the following command and press enter at the end.
 
Enter the following command and press enter at the end.
  startx
+
  '''startx'''
 
Wait for the desktop to finish loading.
 
Wait for the desktop to finish loading.
  
Line 60: Line 47:
 
Move your mouse to point to "Internet".
 
Move your mouse to point to "Internet".
  
Click on "Chromium".
+
Click on "Chromium Web Browser".
  
 
The Chromium web browser will open.
 
The Chromium web browser will open.
  
=Alternative method: Installing the software without using commands=
+
[[File:RPiChromiumMenu.jpg]]
Insert a Debian SD card in the Raspberry Pi.
 
 
 
Connect the Ethernet cable from your Raspberry Pi to a modem or other internet service. You may also use a WiFi device, but you may need help to get this working.
 
 
 
Log in with your username and password.
 
 
 
Enter the following command and press enter at the end.
 
startx
 
You will be asked for your password. Enter your password and press enter. Note that you will not be able to see your password.
 
 
 
You will be asked for permission (yes/no) to install new software. Press the 'y' key and enter to continue.
 
 
 
Wait for the installation to complete.
 

Latest revision as of 14:31, 30 March 2013

Back to RPi Guides.

Adding Chromium web browser to a Raspberry Pi

What does it do?

Warning: This guide may not work for the "wheezy" version of Debian You may try the instructions from Hexxeh: [1]


This guide shows you how to install a Chromium web browser, which should be faster and more reliable than the standard Debian web browser.

What do you need?

  • A Raspberry Pi, model B.
  • A Debian Squeeze SD card for the Raspberry Pi, size should be 2GB or larger.
  • A network connection (Ethernet or WiFi).

Note: currently Chromium only works on the older Debian Squeeze image. It is not supported uptream for Debian Wheezy. Midori is still recommended for Wheezy.

What skill level is required?

Suitable for absolute beginners. No Linux knowledge is needed.

It is assumed that you have used a computer before, for example a Windows PC.

Overview of this guide

You need to

  • Install Chromium software on the Raspberry Pi
  • Start the Chromium web browser

Installing the software

Follow the instructions in RPi Install software, using the command

sudo apt-get install chromium-browser

In order to have a better display you can also install MC core fonts using

sudo apt-get install ttf-mscorefonts-installer

Opening the Chromium web browser

Enter the following command and press enter at the end.

startx

Wait for the desktop to finish loading.

Click on the LXDE icon (the strange X) in the bottom-left corner of the screen.

Move your mouse to point to "Internet".

Click on "Chromium Web Browser".

The Chromium web browser will open.

RPiChromiumMenu.jpg