Slackware

Slackware
A true linux-distro

Wednesday, May 22, 2013

Post 5: Install Google Chorme on Slackware

Follow the instructions on this link. If that does not help, you could refer to the following steps, which I have merely paraphrased.

If you are using a 32-bit install of Slackware:

1] Download Google-Chrome meant for Debian-32 bit from here.
2] Go to this. Look for the title Download SlackBuilds and download google-chrome.tar.gz.
3] Now, cd to the directory that contains google-chrome.tar.gz and untar it.

For example,

cd /home/<username>/Downloads

untar-ing:
tar -xvf google-chrome.tar.gz

4] Copy the google-chrome... .deb file into google-chrome
cp google-chrome-stable_current_amd64.deb google-chrome/



5] Go into this new directory and run the following command:
sh google-chrome.SlackBuild

For a 64-bit install of slackware, you need to make the following modifications:

1] cd /home/<username>/Downloads/google-chrome

2] Modify the contents of google-chrome.SlackBuild:

- Change the value of ARCH from i368 to x86_64
- Wherever you find google-chrome-beta_current, change it to google-chrome-stable_current. (You would need to change this in only two or three places)

3] Now, run sh google-chrome.SlackBuild, and you should be done.


IMPORTANT: By default, you will not be allowed to run Google Chrome as a super user. To make it so that even as a super user you can run Google Chrome do the following:

1] vim /usr/bin/google-chrome
2] Go to the last line of this file and hit space. Do not go to the next Line.
3] append the last line with --user-data-dir

No comments:

Post a Comment