LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-10-2016, 10:43 AM   #1
dsotm
Member
 
Registered: Mar 2012
Distribution: Slackware64-current
Posts: 89

Rep: Reputation: 2
latest-chrome.sh problem (ruario)


It's telling me it can't work out the current stable version of Chrome, I'd try and fix the script myself but I have no idea how... still working for anyone else?
 
Old 03-10-2016, 11:40 AM   #2
kazzan
LQ Newbie
 
Registered: Oct 2010
Distribution: Gentoo Linux, Slackware ARM
Posts: 23

Rep: Reputation: 21
Hi, I believe Chrome 32-bit is no longer supported on Linux.
If you're using a 64-bit system you could apply this patch:

Code:
--- latest-chrome	2016-03-10 18:26:35.923064578 +0100
+++ latest-chrome-fix	2016-03-10 18:27:26.114068079 +0100
@@ -56,7 +56,7 @@
 fi
 
 # Work out the latest stable Google Chrome if VERSION is unset
-VERSION=${VERSION:-$(wget -qO- https://dl.google.com/linux/direct/google-chrome-stable_current_i386.rpm | head -c96 | strings | rev | awk -F"[:-]" '/emorhc/ { print $1 "-" $2 }' | rev)}
+VERSION=${VERSION:-$(wget -qO- https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm | head -c96 | strings | rev | awk -F"[:-]" '/emorhc/ { print $1 "-" $2 }' | rev)}
 
 # Error out if $VERISON is unset, e.g. because previous command failed
 if [ -z $VERSION ]; then
 
2 members found this post helpful.
Old 03-10-2016, 02:22 PM   #3
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,336

Rep: Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380
Sorry, fixed now. Also thanks kazzan for helping out.
 
3 members found this post helpful.
Old 03-10-2016, 02:34 PM   #4
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,336

Rep: Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380
I must admit, I never use the script myself as I only need Chrome for comparison with Vivaldi (or in the past Opera). Normally, I just grab the latest and run it in place like this:

Code:
$ wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
$ mkdir chrome
$ bsdtar xf google-chrome-stable_current_x86_64.rpm -C chrome
$ chrome/opt/google/chrome/chrome --user-data-dir=chrome/profile&
Then I delete chrome directory when I am done testing, which in turn removes the preferences/settings (stored as a subdirectory) and returns my system to a clean state.

On Windows and Mac I do a variant of the same, so I never really have Chrome "installed" on any of my systems.

Last edited by ruario; 03-10-2016 at 02:49 PM.
 
3 members found this post helpful.
Old 03-10-2016, 03:56 PM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,350

Rep: Reputation: 3104Reputation: 3104Reputation: 3104Reputation: 3104Reputation: 3104Reputation: 3104Reputation: 3104Reputation: 3104Reputation: 3104Reputation: 3104Reputation: 3104
Well, for those of us who do install Chrome, we do really appreciate your script(s). It has saved a great amount of time!
 
1 members found this post helpful.
Old 03-10-2016, 04:18 PM   #6
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,336

Rep: Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380
It sometimes amuses me that my only two (very minor) contributions to the Slackware community are scripts that simplify fetching and repacking Firefox and Chrome into Slackware format, while the entire time I have been active on these forums I have worked for either Opera or Vivaldi.
 
2 members found this post helpful.
Old 03-10-2016, 04:21 PM   #7
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,336

Rep: Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380
I see I am also still listed as a contributor to the Archlinux Google Chrome PKGBUILD as well.

https://aur.archlinux.org/cgit/aur.g...=google-chrome

In case you are curious, that snippet in the comments near the top for checking the versions is me, i.e.:

Code:
curl -s https://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/other.xml.gz | zcat | awk -F\" '/pkgid/{ sub(".*-","",$4); print $4": "$10 }'
I worked that out back in 2012 and suggested it shortly after. Nice to see I am still a "contributor", despite this tiny effort.

Last edited by ruario; 03-10-2016 at 04:31 PM.
 
1 members found this post helpful.
Old 03-10-2016, 09:49 PM   #8
dsotm
Member
 
Registered: Mar 2012
Distribution: Slackware64-current
Posts: 89

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by ruario View Post
It sometimes amuses me that my only two (very minor) contributions to the Slackware community are scripts that simplify fetching and repacking Firefox and Chrome into Slackware format, while the entire time I have been active on these forums I have worked for either Opera or Vivaldi.
More than I can do myself and quite appreciated
 
Old 03-10-2016, 09:51 PM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,350

Rep: Reputation: 3104Reputation: 3104Reputation: 3104Reputation: 3104Reputation: 3104Reputation: 3104Reputation: 3104Reputation: 3104Reputation: 3104Reputation: 3104Reputation: 3104
Quote:
Originally Posted by ruario View Post
It sometimes amuses me that my only two (very minor) contributions to the Slackware community are scripts that simplify fetching and repacking Firefox and Chrome into Slackware format, while the entire time I have been active on these forums I have worked for either Opera or Vivaldi.
There's plenty of other contributions you've done in this forum. Just because those two scripts are common downloaded things doesn't negate your other help provided on the forum (and likely elsewhere, although, I'm just not aware of it).
 
  


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
Ruario's latest-firefox error esteeven Slackware 30 12-22-2015 12:23 AM
Install Chrome on latest Debian hawkiboy Linux - Newbie 5 06-25-2015 04:46 PM
Problems running ruario's latest-chrome dsotm Slackware 3 01-19-2014 10:53 AM
[SOLVED] Firefox 21 and Ruario's latest-firefox script neymac Slackware 14 12-19-2013 10:25 PM

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

All times are GMT -5. The time now is 08:42 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration