SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Installed Google-Chrome following https://slackbuilds.org/mirror/slack...-chrome/README. There was a problem with the SlackBuild script but I found a fix for that. Everything installed to /opt/google/chrome: an executable script google-chrome, an executable chrome and also a subdirectory cron which contains another (different) executable script google-chrome.
If I type google-chrome in /opt/google/chrome, I get: command not found.
If I type google-chrome in /opt/google/chrome/cron, I get: command not found.
The original instructions for installing google-chrome said I needed libraries for something called PAM. This thread: http://www.linuxquestions.org/questi...am-4175483168/ said that PAM is not needed in Slackware 14.1 which I am using.
PS I am no expert but I have managed to get my printer and video problems under control with Slackware and I don't want to give up now. The only reason I want google-chrome is to watch reruns of "The Americans" on Amazon Prime. Maybe there is an easier way?
Installed Google-Chrome following https://slackbuilds.org/mirror/slack...-chrome/README. There was a problem with the SlackBuild script but I found a fix for that. Everything installed to /opt/google/chrome: an executable script google-chrome, an executable chrome and also a subdirectory cron which contains another (different) executable script google-chrome.
If I type google-chrome in /opt/google/chrome, I get: command not found.
If I type google-chrome in /opt/google/chrome/cron, I get: command not found.
The original instructions for installing google-chrome said I needed libraries for something called PAM. This thread: http://www.linuxquestions.org/questi...am-4175483168/ said that PAM is not needed in Slackware 14.1 which I am using.
If you are running Slackware 14.1 why are you using instructions from 14.0? That package and its instructions is severely outdated. There is a similar directory for Slackware 14.1: http://bear.alienbase.nl/mirrors/sla...google-chrome/
In case of a re-packaging of 3rd party binaries you could even try the script in Slackware-current: http://bear.alienbase.nl/mirrors/sla...google-chrome/ ... that one is even more recent than the one for Slackware 14.1.
Did you perhaps install a 64bit Chrome on a 32bit Slackware OS, or vice-versa?
Quote:
PS I am no expert but I have managed to get my printer and video problems under control with Slackware and I don't want to give up now. The only reason I want google-chrome is to watch reruns of "The Americans" on Amazon Prime. Maybe there is an easier way?
Note that Google decided to stop distributing 32bit versions of Chrome. Are you on 64bit or on 32bit?
In case of a 64bit OS you can also pick Chromium and its widevine and pepperflash plugins from my repository. I do also have a 32bit Chromium package but there will not be new 32bit versions of these plugins (again, because Google has ceased distributing those).
You could save yourself some trouble with it and just use ruario's latest-chrome script. It will download the latest version, turn it into a Slackware package, and, optionally, install it.
As for your post, did you manually move the google-chrome.SlackBuild to /usr/local/? Because there's no reason for it to be there...
You could save yourself some trouble with it and just use ruario's latest-chrome script. It will download the latest version, turn it into a Slackware package, and, optionally, install it.
As for your post, did you manually move the google-chrome.SlackBuild to /usr/local/? Because there's no reason for it to be there...
When I download application packages, where should I put them and why? Never could figure that one out.
With his script, you don't need to download anything. Just run the script and it will go to Google, get the latest version of Chrome and package it in /tmp/. There is an optional -i option that will install/upgrade it after the package is created.
If you're wondering about where to place his script, that's up to you. Just either right-click on the raw button and select "Save link as" (or your browser's equivalent) and save it to a folder, or you can "Copy link location" and use wget to download it. Once you have it downloaded, use sh /location/to/latest-chrome to run it. If you want to use the -i option, you would need to run the script as root.
With his script, you don't need to download anything. Just run the script and it will go to Google, get the latest version of Chrome and package it in /tmp/. There is an optional -i option that will install/upgrade it after the package is created.
If you're wondering about where to place his script, that's up to you. Just either right-click on the raw button and select "Save link as" (or your browser's equivalent) and save it to a folder, or you can "Copy link location" and use wget to download it. Once you have it downloaded, use sh /location/to/latest-chrome to run it. If you want to use the -i option, you would need to run the script as root.
Finally got around to trying this.
1. Downloaded unzipped latest-chrome.sh from https://gist.github.com/ruario/9672759.
2. Made it executable with chmod ugo+x latest-chrome.sh
3. Logged in as root
4. sh latest-chrome.sh -i
5. Tried:
./google-chrome
./Google-Chrome
./Google-chrome
./google-Chrome
the same without ./
everything gives command not found.
7. started X and tried the same commands on xterm.
6. Restarted and repeated 1-4 getting:
Google Chrome (51.0.2704.103) is already installed; exiting.
You don't want the "./" in front of the command. That means you're trying to launch an executable from within your current folder (which that executable wouldn't exist there as it's installed elsewhere on the system). In checking the script, it looks like ruario has chosen to have the program called google-chrome-stable (probably so you could have both the stable and developer versions installed side-by-side -- he's a developer for the Vivaldi browser, so he tests the other browsers frequently, which is why he created this nifty script) and it is stored in /usr/bin/. If you run that from the commandline, it should start right up.
But, he also added menu entries, and I know Chrome will be listed under KDE's Internet submenu.
You don't want the "./" in front of the command. That means you're trying to launch an executable from within your current folder (which that executable wouldn't exist there as it's installed elsewhere on the system). In checking the script, it looks like ruario has chosen to have the program called google-chrome-stable (probably so you could have both the stable and developer versions installed side-by-side -- he's a developer for the Vivaldi browser, so he tests the other browsers frequently, which is why he created this nifty script) and it is stored in /usr/bin/. If you run that from the commandline, it should start right up.
But, he also added menu entries, and I know Chrome will be listed under KDE's Internet submenu.
google-chrome-stable gives
[1:1:0622/203453:ERROR:nacl_fork_delegate_linux.cc(315)] Bad NaCl helper startup ack (0 bytes)
Same result under X using xterm.
I seem to be living under a black cloud for the last year.
Last edited by skippy1729; 06-22-2016 at 03:57 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.