Wednesday, May 30, 2012

how to install google chrome in linux/unix

before you read this posting i will give you know if this not my experience because i try to search this articles and i try to write whit other language. and pardon me if my language is bad. be cause i wanna be learn. 

at this time browser that on stretcher by google (google chrome or also chrominium) form browser that  
proper you try, possible if you using platform windows nothing a problem for installation. and also intense
many link downloads in the internet, now discuss only the process installation and too setting on the linux,
good for ubuntu linux, debian, linux mintand backtrack 5 too (backtrack 5 need a add setting).
if you install on ubuntu linux, debian, mint or other debian generation that the user not as root. so you enough run first ways only, so process installation finished. and actually it is also applies for all other distro linux
if you only install ordinary google chrome only, whit choice package format that appropriate whit your distro
on first ways (example deb. or rmp). 

  singgle step
on this step we will try install google chrome / chrominium on the linux whit two ways, and you can choice
one of.first step whit downloads it used to be software google-chrome or direct install through the terminal
ok direct only to first step.

first step:
if you not have internet connection, and only can to downloads on the warnet so this step that can you use
, please downloads it used to be software in this link disini . and then downloads the format package that
.deb. and if you use the 32 bit backtrack so downloads only 32 bit only.
 after that put the file downloaded before in the desktop or anywhere that easy to installation. and then open terminal on Aplication -> accessoris -> terminal and then type command following:
# cd Desktop //this if file installation on desktop
# sudo dpkg -i --force-depends *.deb //for install all file whit extension .deb
 
Note, to # do not type on the terminal and also in side right token //also not need to type, that only the comment. withing a moment and finished, akses google chrome on Aplication -> internet -> google chrome. enough to first step.
second step :
if your laptop or computer can to connect whit internet more prevalent using this second ways, namely
through linux terminal, and some command so will direct to download and install, the way first-first open first your terminal on Aplication -> accessoris -> terminal and then type the following command line:
# sudo add-apt-repository ppa:chromium-daily/stable // to add the repository
# sudo apt-get update
# sudo apt-get install chromium-browser
this token # do not type, so the installation processing anything finished if nothing interference whit your internet connection, and code above form command that use for installation on debian distro linux generation  (ubuntu,mint,backtrack etc).


Second step
if you using linux distro that the user root, then this step not need you follow, however this apply if your distro using root, example suppose that whit default from distro backtrack 5 that the user is root, or for you
that was often whit root, and you want to browsing on the user root and need this browser google chrome.
 for security reason so google chrome set in default for can't to running on the root mode, if you run so will
there will be a error message like following picture: Cara Install Chromium (Google Chrome) di Linux dan Jalankan Dalam Mode Root di Backtrack 5
the first way to be able to  run in state of the as root is whit change configuration on /usr/bin whit help editor from hexedit, this exactly the same if you want to install vlc in root mode, about the ways same too, 
second step :
#cd /usr/bin //comin to bin directory
#sudo gedit chromium-browser //browser that use chrome or this
#sudo gedit google-chrome //browser that used google chrome

on the gedit window looking for code this following :
exec $LIBDIR/$APPNAME $CHROMIUM_FLAGS "$@"
and add this code --user-data-dir on the end of line about it, so will be :
exec $LIBDIR/$APPNAME $CHROMIUM_FLAGS "$@" --user-data-dir

like this following picture that whit red background print:
Cara Install Chromium (Google Chrome) di Linux dan Jalankan Dalam Mode Root di Backtrack 5
after you save and try run again the chrome or google-chrome, if not success notice again possible there that false ways, enough my post.




Recent Posts