Categories: Give Feedback :

How do I install Chrome on Gentoo or Slackware?

Showing 1-5 of 5 messages
How do I install Chrome on Gentoo or Slackware? Drone4four 12/26/09 4:02 PM
As the topic suggests: When is Google going to support other distros like Slackware and Gentoo.  An ebuild would be useful.  Support for Google Desktop Linux for other distros would be nice too.

Operating System:  Gentoo, Slackware
Re: How do I install Chrome on Gentoo or Slackware? Bapabooiee 12/26/09 4:20 PM
There's just too many distros to support out there, so Google will only distribute the binaries for a select few distros (namely Ubuntu/Debian and openSuSE). You'll have to depend on whoever maintains the distro and its package system (whatever it may be for your distro) to provide you with the Chromium software.

But thankful, Gentoo has an official ebuild for Chromium. Try entering the following commands in a terminal (assuming you have an x86 CPU), and make sure you're logged-in as root:

export ACCEPT_KEYWORDS="~x86"
emerge -av www-client/chromium

It shall also be noted you could also use an alternative ebuild called www-client/chromium-bin, which downloads/installs Chromium binaries, rather than downloading/compiling/installing from source.

Hope this helps
Re: How do I install Chrome on Gentoo or Slackware? Bapabooiee 3/5/10 11:55 PM
Also, to any souls who may end-up stumbling upon this thread, I've gotten Chrome to work on Slackware (just started using this distro about a week ago).

You can get pre-compiled binaries of Chrome in either 32-bit or 64-bit format from SlackBuilds.org. 

First, read SlackBuild.org's HOWTO, here: 


Note: Before reading further, I'd recommend you run the command:
export ARCH=X

... where X is your CPU architecture, such as i486, i686, or x86_64 (if your CPU is 64-bit). I'll explain why this is relevant in just a little bit.


Now, get the files you need to build a Google Chrome Slackware package here:
Some step-by-step instructions, to those interested:

* Download `google-chrome.tar.gz', and then extract it using `tar xzvf google-chrome.tar.gz' from the command-line.

* Then download either the 32-bit or 64-bit source .deb files from the same page, and save it into the directory that was created from the previous step. Do not extract the file.

* Run the command `sudo google-chrome.SlackBuild'

It should work its magic, and you should have a shiny new Slackware package now sitting in the /tmp directory.

***


Note 1: I know, for sure, that Chrome has runtime dependencies on ORBit and GConf (kinda weird considering GConf is a GNOME-specific service. Go figure), so you'll need to install them before Chrome will run.

Since GConf depends on ORBit, you'll need to install ORBit first:

and then GConf:

Repeat the same steps you did for Chrome (extracting the SlackBuild files, placing the compressed source files into that directory, and running the *.SlackBuild script).

Once those are both installed, you should be able to get Chrome up-and-running. If you get an error when trying to run Chrome, do a quick search on SlackBuilds.org (http://slackbuilds.org/), and compile/install whatever you may need - or if available using `slackpkg', use that instead.


Note 2: The reason I recommend you run the command `export ARCH=X' (where, again, X is your CPU architecture) earlier is because the SlackBuild script -- which builds most Slackware packages from source -- needs to know what kind of binaries to tell gcc/g++ to build. If you don't have an `ARCH' environment variable defined, it defaults to i486 (or sometimes i686). And since I use a 64-bit CPU, for example, the script would fail since I use a pure 64-bit glibc and gcc/g++ that cannot run or output 32-bit binaries.

So, to fix it, I would either have to open a SlackScript in a text editor and change the `ARCH' line to x86_64 for every single SlackScript I download. Or, I could simply just set (export) the `ARCH' environment variable to x86_64.

I would recommend setting this variable in ~/.bashrc.

***

Hope this helps!
Re: How do I install Chrome on Gentoo or Slackware? Slero 4/25/10 5:26 AM
Just to add something: being on a Slackware 13.0 64-bit architecture, tried to install first ORBit 2.0, and next GConf as described above.

When executing GConf.SlackBuild script, got a message like that:

******

No package 'ORBit-2.0' found.

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

******

Apparently, it was a configuration issue. After doing some investigations, came to a solution. It appeared that after ORBit2.SlackBuild execution, ORBit 2.0 package is located in /usr/lib64/pkgconfig directory rather than /usr/lib/pkgconfig. So I executed following command:

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib64/pkgconfig/

and checked if /usr/lib64/pkgconfig was added - well, it was.

After that, GConf.SlackBuild ran smoothly and GConf was installed.

Hope this will save you some time.
Re: How do I install Chrome on Gentoo or Slackware? Black Rift 4/14/11 8:12 PM
My ORBit2 was in /usr/local/lib/pkgconfig

If you are having trouble with this, you can try to do
find / -name 'ORB*'

and look for where it is in pkgconfig then do the same export comand but with the path to the .pc file is