LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-24-2014, 04:30 PM   #1
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Rep: Reputation: 3
How to run chrome on Slack installation?


How do you run chrome, the google browser on slackware 14.0 ?

I just installed this package using:

upgradepkg --install -new /tmp/google-chrome-39.0.2171.95-x86_64-1.txz


This above was what I did as a result of following directions
on

http://docs.slackware.com/howtos:software:google-chrome

These directions got me to this point which I just told you about.:

upgradepkg --install -new /tmp/google-chrome-39.0.2171.95-x86_64-1.txz


I did that above, actually a couple times, because the first
time I did it, I was not able to run the browser chrome. So
I did it a second time.

It gave me this message:
+==============================================================================
| Skipping package google-chrome-39.0.2171.95-x86_64-1 (already installed)
+==============================================================================

So I figured it was installed. Actually I figured it was
the first time I did it, seeing no error messages etc.
and of course it must have been installed since I got
that message above the second time I tried it.

My problem is I don't know how to run the program.
Is this some sort of classified military secret,
how to run it ?

I tried various methods like entering commands
at a terminal command prompt like:

bash-4.2# chrome

System tells me: chrome: command not found

So, anyone know how to actually run this program?

By the way, chrome shows up on the gui menu
of my Xfce x-windows interface, but when you
click it nothing happens.

Last edited by EldonCool; 12-24-2014 at 05:56 PM.
 
Old 12-24-2014, 04:53 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657
Try running upgradepkg --reinstall /tmp/google-chrome-39.0.2171.95-x86_64-1.txz. Also, just to note, the command calls for --install-new not --install -new (note the lack of space in the first one).
 
Old 12-24-2014, 05:39 PM   #3
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
Well, I gave it a shot, and it seemed to be cooperating, as shown by
this screen capture:
Quote:
bash-4.2# upgradepkg --reinstall /tmp/google-chrome-39.0.2171.95-x86_64-1.txz

+==============================================================================
| Upgrading google-chrome-39.0.2171.95-x86_64-1 package using /tmp/google-chrome-39.0.2171.95-x86_64-1.txz
+==============================================================================

Pre-installing package google-chrome-39.0.2171.95-x86_64-1...

Removing package /var/log/packages/google-chrome-39.0.2171.95-x86_64-1-upgraded-2014-12-24,15:34:28...

Verifying package google-chrome-39.0.2171.95-x86_64-1.txz.
Installing package google-chrome-39.0.2171.95-x86_64-1.txz:
PACKAGE DESCRIPTION:
Executing install script for google-chrome-39.0.2171.95-x86_64-1.txz.
Package google-chrome-39.0.2171.95-x86_64-1.txz installed.

Package google-chrome-39.0.2171.95-x86_64-1 upgraded with new package /tmp/google-chrome-39.0.2171.95-x86_64-1.txz.
Still nothing when I enter chrome on command line or select if from the gui menu.
I will try a reboot and see if things get rectified, but left this post so I
would lose nothing in error messages etc.

---------------------
Well, did the reboot, and now editing this post to update.

No change cannot get the gui to run chrome and cannot get
it to run entering "chrome" on the command line.

Last edited by EldonCool; 12-24-2014 at 05:51 PM. Reason: add inforrmation
 
Old 12-24-2014, 05:51 PM   #4
Buumi
Member
 
Registered: Dec 2010
Location: Finland
Distribution: Slackware 14.1
Posts: 61

Rep: Reputation: 10
Does it start when you run
$ /opt/google/chrome/chrome

(That's where it installs it for me by default).
If not, post here if it gives some other message this time. If it works and if it just doesn't work from GUI menu, you could then check at least /usr/share/applications/google-chrome.desktop file that it's correct.

Last edited by Buumi; 12-24-2014 at 05:55 PM.
 
Old 12-24-2014, 08:24 PM   #5
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
this command /opt/google/chrome/chrome

gives this message

/opt/google/chrome/chrome: /usr/lib64/seamonkey/libnss3.so: version
/ `NSS_3.14.3' not found (required by /opt/google/chrome/chrome)


So it looks like the program is looking for file NSS_3.14.3 and
cannot find it.

I did a search for any file starting with NSS_3 and did not find
any with a starting directory of /usr so I guess I am missing
this file for some reason.


The file google-chrome.desktop is there
in directory /usr/share/applications/

One thing that bothers me is the /usr/lib64/seamonkey/libnss3.so:
in the above capture. Why would chrome be looking for a file
in a seamonkey directory? Why in the world would chrome programmers
put files into a directory that was built for a different browser,
seamonkey in this case?

Looks like this is not going to work. Maybe I should try the
32 bit version after removing this package. Any thoughts?

Last edited by EldonCool; 12-24-2014 at 08:25 PM.
 
Old 12-24-2014, 09:11 PM   #6
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,568

Rep: Reputation: 8624Reputation: 8624Reputation: 8624Reputation: 8624Reputation: 8624Reputation: 8624Reputation: 8624Reputation: 8624Reputation: 8624Reputation: 8624Reputation: 8624
Quote:
Originally Posted by EldonCool View Post
Looks like this is not going to work. Maybe I should try the
32 bit version after removing this package. Any thoughts?
Yes. First, stick with the x86_64 version you have now. It's almost working. Next, make sure that you have all of the patches (such as mozilla-nss) installed from Slackware 14.0's /patches directory. Then, edit your /etc/ld.so.conf and add these two lines to the TOP of the file:

Code:
/lib64
/usr/lib64
Then run ldconfig. Hopefully it'll work after that.
 
1 members found this post helpful.
Old 12-25-2014, 01:04 PM   #7
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
The only thing in my patches directory on distribution DVD is:

CHECKSUMS.md5 CHECKSUMS.md5.asc FILE_LIST MANIFEST.bz2 PACKAGES.TXT

This web site--> http://slackbuilds.org/mirror/slackw...ches/packages/

has a bunch of slack 14.0 patches, Here are three with similar names to
what may be a clue, and I downloaded these files, but have not done
anything with them.

mozilla-nss-3.16.5-i486-1_slack14.0.txz
seamonkey-2.31-i486-1_slack14.0.txz
seamonkey-solibs-2.31-i486-1_slack14.0.txz


I have no idea if they even apply to my 64 bit installation,
not sure of the significance of the i486 in the file names.

Do you think any of these might be worth some effort?

Last edited by EldonCool; 12-25-2014 at 01:05 PM.
 
Old 12-25-2014, 03:00 PM   #8
Buumi
Member
 
Registered: Dec 2010
Location: Finland
Distribution: Slackware 14.1
Posts: 61

Rep: Reputation: 10
Quote:
Originally Posted by EldonCool View Post
The only thing in my patches directory on distribution DVD is:

CHECKSUMS.md5 CHECKSUMS.md5.asc FILE_LIST MANIFEST.bz2 PACKAGES.TXT

This web site--> http://slackbuilds.org/mirror/slackw...ches/packages/

has a bunch of slack 14.0 patches, Here are three with similar names to
what may be a clue, and I downloaded these files, but have not done
anything with them.

mozilla-nss-3.16.5-i486-1_slack14.0.txz
seamonkey-2.31-i486-1_slack14.0.txz
seamonkey-solibs-2.31-i486-1_slack14.0.txz


I have no idea if they even apply to my 64 bit installation,
not sure of the significance of the i486 in the file names.

Do you think any of these might be worth some effort?
You can find those packages for 64 bit installation from http://slackbuilds.org/mirror/slackw...ches/packages/
You shouldn't install those i486 packages on 64 bit system. Download the 64 bit packages ("x86_64") and upgrade to them using upgradepkg command. After that do what volkerdi told you.
 
Old 12-25-2014, 04:46 PM   #9
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
I will give a shot and see what happens. Probably will get around to
it within the next day. Thanks for the effort, will give you a report
when I get there.
 
Old 12-25-2014, 05:46 PM   #10
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
I found the site and downloaded three files for the 64 bit version:

1564 mozilla-nss-3.16.5-x86_64-1_slack14.0.tx
1288 seamonkey-solibs-2.31-x86_64-1_slack14.0.txz
40604 seamonkey-2.31-x86_64-1_slack14.0.txz

I first installed the mozilla-nss one, no help chrome still did not run.

Next I chose the seamonkey-solibs-2.31-x86_64-1_slack14.0.txz
because it had that so and libs stuff in there.

Chrome now runs, makes no sense to me that a file is needed
that appears to be for an entirely different browser, but
such is life sometimes.

thanks for the help, SUCCESS!

Last edited by EldonCool; 12-25-2014 at 07:57 PM.
 
Old 12-25-2014, 06:26 PM   #11
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
Even though it works, it only works with ease using
the gui by clicking on it.
To get it to run with a command line entry I have to use:

/opt/google/chrome/google-chrome

Looks like I got to make some sort of link, something like /usr/bin/chome
that points to /opt/google/chrome/google-chrome


update:
yep, I logged in as root, cd to /usr/bin
and entered this command:

ln -s /opt/google/chrome/google-chrome chrome

Now I can type chrome on a command line and run it.

Last edited by EldonCool; 12-25-2014 at 06:35 PM.
 
Old 12-25-2014, 06:42 PM   #12
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,273

Rep: Reputation: 5341Reputation: 5341Reputation: 5341Reputation: 5341Reputation: 5341Reputation: 5341Reputation: 5341Reputation: 5341Reputation: 5341Reputation: 5341Reputation: 5341
This just hasn't matched my experiences. If I use the slackbuild in /extra to install google-chrome, then I get a google-chrome-stable executable in my path.

Last edited by dugan; 12-25-2014 at 06:44 PM.
 
1 members found this post helpful.
Old 12-26-2014, 09:44 AM   #13
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
Looks like a nice page you built there with installation info:
Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i run Google-Chrome as user? fir0n Linux - Software 5 01-20-2014 12:04 PM
Chrome does not run as root vbgaikwad04 Linux - Software 1 06-15-2013 05:26 AM
[SOLVED] how run google chrome as root? markluocanada Slackware 15 04-30-2012 11:57 AM
LXer: How to Run Chrome OS the Easy Way LXer Syndicated Linux News 0 06-30-2010 12:21 AM
Google Chrome 64 bit on Slack 13/64 nguyenthanhvuh Slackware 34 12-10-2009 12:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration