Home > Computer, Computer Usage, Linux Tricks > Install Google Chromium Browser for Ubuntu Linux

Install Google Chromium Browser for Ubuntu Linux

The browser is still in Alpha state but it is reasonable stable for me. So for those who want to try here is to code you can simply copy and paste to your terminal.

In Terminal: (Copy the code of each step into the terminal and press Enter).

Step 1:

# Add the key
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com FBEF0D696DE1C72BA5A835FE5A9BF3BB4E5E17B5

Step 2:

UBUNTUNAME=`cat /etc/apt/sources.list | grep -o -e "/ubuntu/ [a-z]* main restricted$"`
UBUNTUNAME=`echo $UBUNTUNAME | grep -o -e " [hijk][a-z]* " | grep -o -e "[a-z]*"`

# Prepare reposit to be added
REPOCODE="deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu $UBUNTUNAME main"

# Add Chrome repository into /etc/apt/sources.list
SOURCELISTFILE="/etc/apt/sources.list"
ISTHERE=$(cat $SOURCELISTFILE | grep "$REPOCODE")
if [ "$ISTHERE" = "" ]; then
echo "
# For Google Chromium Browser
$REPOCODE" | sudo tee -a "$SOURCELISTFILE" >> /dev/null;
fi

Step 3:

# Update the repository
sudo apt-get update

Step 4: This step may ask you answer “yes” by pressing ‘y’ when prompted.

# Install the chromium
sudo apt-get install chromium-browser

Done!!! You should find the application “Chromium Browser” in the “Internet” menu.

Enjoy!!!

Categories: Computer, Computer Usage, Linux Tricks Tags:
  1. No comments yet.
  1. No trackbacks yet.