Ubuntu Linux Tutorials

This tutorial explains how to install Chrome web browser in Ubuntu Linux from Ubuntu Software Center and command prompt including how to run chrome from root user account in Ubuntu.

We can install chrome form Ubuntu software center or manually.

In this article we would install chrome from software center. Check our next article to install manually

To install chrome form software center follow these steps.

Open software center

ubuntu software center

Search for chrome

ubuntu software center search chrome

Select chrome from list and click on install button

ubuntu software center chrome list

Installation required root privilege. Authenticate with super user password. Super user is the user which we create during the installation.

ubuntu chrome authenticate

Installation process would take few minutes.

ubuntu chrome manual installed

Once installation finished close the software center.

To use chrome clicks on dash home button.

ubuntu enable sound dash home

Search for chrome and click on chrome icon

ubuntu chrome launch

Chrome browse will be ready to use.

ubuntu chrome running as normal user

Installing Chrome from command prompt

In this article we will install chrome in Ubuntu. Chrome is the powerful web browser.

We can install chrome form Ubuntu software center or manually.

In this article we would install chrome manually. Check our previous article if you want to install chrome from Ubuntu software center.

To install chrome manually follow these steps

Go to the official download page of chrome and click on download

ubuntu download link of chrome

Select appropriate version of chrome and click on Accept and install

ubuntu download chrome accept and install

Save file

ubuntu download chrome save file

Open the containing folder once the downloading complete

Select file and do right click. From right click options click on Open with software center

ubuntu download chrome open with

Click on install

ubuntu chrome install manual

Installation required root privilege. Authenticate with super user password. Super user is the user which we create during the installation.

ubuntu chrome authenticate

Installation process would take few minutes.

ubuntu chrome manual installed

Once installation finished close the software center.

To use chrome clicks on dash home button.

ubuntu enable sound dash home

Search for chrome and click on chrome icon

ubuntu chrome launch

Chrome browse will be ready to use.

ubuntu chrome running as normal user

Running Chrome from root user account

By default google-chrome will run as under the normal user. You would get following error if you run chrome as root user

Google Chrome can not be run as root.
Please start Google Chrome as a normal user.
run as root, you must specify an alternate
--user-data-dir for storage of profile information.

ubuntu chrome run as root error

To run chrome as root user follow these steps

Open /opt/google/chrome folder

open google-chrome file

ubuntu chrome run as root file location

Append last line of file with '--user-data-dir $HOME'

Actual line

exec -a "$0" "$HERE/chrome" "$@"

Appended line

exec -a "$0" "$HERE/chrome" "$@" --user-data-dir $HOME

Save and close the file

ubuntu chrome run as root modified file

Now run chrome as root user also.

ubuntu chrome running as root user