lost and found ( for me ? )

Showing posts with label install Google Chrome. Show all posts
Showing posts with label install Google Chrome. Show all posts

Scientific Linux 6.1 32bit : how to install Google Chrome


# uname -r
2.6.32-131.6.1.el6.i686

# cat /etc/redhat-release
Scientific Linux release 6.1 (Carbon)

install the following RPMs which is needed for Google Chrome , if you have not installed these RPMs.
redhat-lsb.i686                  4.0-3.el6                @sl
redhat-lsb.i686                  4.0-3.el6                @sl

# yum install redhat-lsb.i686 libcurl.i686


add Google Chrome repository
# cat /etc/yum.repos.d/google-chrome.repo
[google-chrome-32bit]
name= Google Chrome for 32bit Users
baseurl=http://dl.google.com/linux/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

# yum install google-chrome-stable.i386 -y


When you try to start Chrom as root user , you will see the following error and will not start Chrome.
“Google Chrome can not be run as root”


To solve this , create the following shell script.
# cat my_icon/chrome.sh
#!/bin/bash
xhost +
su -l abc /opt/google/chrome/google-chrome
xhost -


su -l non-root user

make Chrome icon for convenience.




thank you for reading.