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 06-07-2018, 07:52 AM   #1
jamasoo
Member
 
Registered: Jan 2007
Posts: 69

Rep: Reputation: 15
Google-Chrome.SlackBuild


Hello,

After installing Slackware 14.2, i have spent a week trying to install Chrome with no success, although i followed every step of the README.


Quote:
Google Chrome (Open Source Web Browser)
---------------------------------------

Here's how to install Google Chrome on Slackware.


First, go to the Google Chrome site:

http://www.google.com/chrome

Click the download button, and select either:

< > 32 bit .deb (for Debian/Ubuntu)
OR
< > 64 bit .deb (for Debian/Ubuntu)


Read and accept the license terms, and download the .deb package.


Then, with the google-chrome-stable_current_i386.deb or
google-chrome-stable_current_amd64.deb package in the same directory
as the google-chrome.SlackBuild script, run the script as root to
convert the .deb to a Slackware .txz:

I followed the instructions so far but when i try to:

./google-chrome.SlackBuild

I get a confusion of characters in the terminal that is unreadable.

My Ls -l:

Quote:
ls -l

total 51312

-rw-r--r-- 1 mario users 52532020 Jun 4 14:02 google-chrome stable_current_amd64.deb
-rwxrwxrwx 1 root root 4049 Jun 7 09:12 google-chrome.SlackBuild
Thanks in advance for your help.

JMS
 
Old 06-07-2018, 08:45 AM   #2
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware
Posts: 5,539

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Did you make the slackbuild script executable?

chmod +x google-chrome.SlackBuild

Edit: Added later. I just created a google-chrome package for Google Chrome 67 using the 64bit .deb download. It worked as expected.

Last edited by hitest; 06-07-2018 at 09:24 AM.
 
Old 06-07-2018, 09:45 AM   #3
jamasoo
Member
 
Registered: Jan 2007
Posts: 69

Original Poster
Rep: Reputation: 15
Hitest,

Yes, and since you ask, i tried also:

chmod 777 -R /tmp/google-chrome/google-chrome.SlackBuild
chmod 755 google-chrome.SlackBuild
 
Old 06-07-2018, 09:54 AM   #4
jamasoo
Member
 
Registered: Jan 2007
Posts: 69

Original Poster
Rep: Reputation: 15
Even an ignorant as myself knew that you shouldn't chmod 777, for security reasons, but i found it on some web site and i just wanted to install chrome so bad...
 
Old 06-07-2018, 11:11 AM   #5
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 467

Rep: Reputation: 149Reputation: 149
You don't need to chmod if you use sh before the SlackBuild "sh google-chrome.SlackBuild"
Maybe i am lazy but i never chmod a onetime script.
If it doesn't work then what errors does it output?
What SlackBuild script do you use?
 
Old 06-07-2018, 12:28 PM   #6
jamasoo
Member
 
Registered: Jan 2007
Posts: 69

Original Poster
Rep: Reputation: 15
Hi Nile,

After ./google-chrome.Slackbuild i got this:

mxz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now


I am using /linux/slackware/slackware64-14.2/extra/google-chrome/google-chrome.SlackBuild.

JMS
 
Old 06-07-2018, 12:41 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
Code:
wget https://gist.githubusercontent.com/ruario/9672759/raw/fc8e2952e7b5d10d64331a0105941cc0f5c2db55/latest-chrome.sh
bash latest-chrome.sh
 
1 members found this post helpful.
Old 06-07-2018, 02:01 PM   #8
SpiderTux
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware64 14.2
Posts: 28

Rep: Reputation: 13
Quote:
Originally Posted by jamasoo View Post
Hi Nile,

After ./google-chrome.Slackbuild i got this:

mxz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now


I am using /linux/slackware/slackware64-14.2/extra/google-chrome/google-chrome.SlackBuild.

JMS
I think you don't have slack-desc file in same dir of slackbuild
 
Old 06-07-2018, 03:57 PM   #9
jamasoo
Member
 
Registered: Jan 2007
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ruario View Post
Code:
wget https://gist.githubusercontent.com/ruario/9672759/raw/fc8e2952e7b5d10d64331a0105941cc0f5c2db55/latest-chrome.sh
bash latest-chrome.sh
It created a google-chrome-67.0.3396.79-x86_64-1ro.tgz file in /tmp.

I did installpkg <package-name.tgz

Quote:
Originally Posted by trickykid View Post
And in most cases tgz files are specifically for Slackware systems using the pkgtools to install, remove and upgrade packages.

If you installing a tgz on your Slackware system you can just download or obtain the package and do this to install it as root:

installpkg <package-name.tgz>
I see /opt/google/chrome/chrome now, after a reboot.

But the icon dies out after a second. Looks like something halts the process?

JMS
 
Old 06-07-2018, 04:09 PM   #10
jamasoo
Member
 
Registered: Jan 2007
Posts: 69

Original Poster
Rep: Reputation: 15
bash-4.3$ /opt/google/chrome/google-chrome

Fontconfig warning: "/etc/fonts/fonts.conf", line 162: blank doesn't take any effect anymore. please remove it from your fonts.conf

ATTENTION: default value of option force_s3tc_enable overridden by environment.
[3424:3424:0607/200802.396725:ERROR:sandbox_linux.cc(378)] InitializeSandbox() called with multiple threads in process gpu-process.
[3385:3416:0607/200802.404733:FATAL:nss_util.cc(638)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required. Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer.
Aborted
 
Old 06-07-2018, 04:18 PM   #11
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 467

Rep: Reputation: 149Reputation: 149
What does "file google-chrome-stable_current_amd64.deb" output?
How did you download the file?
Could you delete the old deb chrome package you and download it again with "wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
As of right now i got "md5sum google-chrome-stable_current_amd64.deb" "7f5cdcf7961e04b9c988ae0712614fa1" but this can change any time.
Did you do a full install of slackware?
Slackware 14.2 has mozilla-nss-3.23 when you install but if you update it you will get the mozilla-nss-3.31 from patches so please update the available updates for 14.2

Last edited by Nille_kungen; 06-07-2018 at 04:28 PM.
 
Old 06-07-2018, 05:16 PM   #12
jamasoo
Member
 
Registered: Jan 2007
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Nille_kungen View Post
What does "file google-chrome-stable_current_amd64.deb" output?
How did you download the file?
Could you delete the old deb chrome package you and download it again with "wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
As of right now i got "md5sum google-chrome-stable_current_amd64.deb" "7f5cdcf7961e04b9c988ae0712614fa1" but this can change any time.
I actually downloaded the .deb file by clicking on it... but anyway, i did as you said and i now have a new .deb file and a google-chrome.Slackbuild script in /tmp.

After run as root
bash-4.3# ./google-chrome.SlackBuild

I got :./google-chrome.SlackBuild: Permission denied

ls -l
-rw-r--r-- 1 polar users 52529522 Jun 5 23:37 google-chrome-stable_current_amd64.deb

 
Old 06-07-2018, 05:26 PM   #13
jamasoo
Member
 
Registered: Jan 2007
Posts: 69

Original Poster
Rep: Reputation: 15
Forgot to post:

Quote:
bash-4.3$ wget https://dl.google.com/linux/direct/g...table_current_
md64.deb$ wget https://dl.google.com/linux/direct/g...able_current_a
--2018-06-07 20:27:20-- https://dl.google.com/linux/direct/g...rent_amd64.deb
Resolving dl.google.com (dl.google.com)... 172.217.168.174, 2a00:1450:4003:80a::200e
Connecting to dl.google.com (dl.google.com)|172.217.168.174|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 52529522 (50M) [application/x-debian-package]
Saving to: 'google-chrome-stable_current_amd64.deb'

google-chrome-sta 100%[===========>] 50.10M 620KB/s in 58s =

2018-06-07 20:28:21 (882 KB/s) - 'google-chrome-stable_current_amd64.deb' saved [52529522/52529522]

Last edited by jamasoo; 06-07-2018 at 05:28 PM.
 
Old 06-07-2018, 06:29 PM   #14
jamasoo
Member
 
Registered: Jan 2007
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by SpiderTux View Post
I think you don't have slack-desc file in same dir of slackbuild
It wasn't there, but it is now in the same directory:

Quote:
wget https://mirrors.slackware.com/slackw...ome/slack-desc
--2018-06-07 22:20:49-- https://mirrors.slackware.com/slackw...ome/slack-desc
Resolving mirrors.slackware.com (mirrors.slackware.com)... 207.223.116.213
Connecting to mirrors.slackware.com (mirrors.slackware.com)|207.223.116.213|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 844
Saving to: 'slack-desc.1'

slack-desc.1 100%[========================================>] 844 --.-KB/s in 0s

2018-06-07 22:21:29 (69.0 MB/s) - 'slack-desc.1' saved [844/844]
Quote:
bash-4.3# ls -l
total 174228

-rw-r--r-- 1 polar users 52529522 Jun 5 23:37 google-chrome-stable_current_amd64.deb
-rwxr-xr-x 1 polar users 4043 Jun 7 21:40 google-chrome.SlackBuild
-rw-r--r-- 1 root root 844 Mar 22 2011 slack-desc
Sorry for the late answer.
 
Old 06-07-2018, 07:16 PM   #15
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 jamasoo View Post
It created a google-chrome-67.0.3396.79-x86_64-1ro.tgz file in /tmp.

I did installpkg <package-name.tgz



I see /opt/google/chrome/chrome now, after a reboot.

But the icon dies out after a second. Looks like something halts the process?

JMS
What happens if you run google-chrome-stable (or maybe just google-chrome) from the command prompt? Does it spit out any errors?
 
  


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
LXer: Chrome OS is not dead, insists Google veep in charge of Chrome OS LXer Syndicated Linux News 0 10-31-2015 05:11 AM
LXer: Google Releases Chrome 44 Stable for Windows, Mac OS X, Linux, and Chrome OS LXer Syndicated Linux News 0 07-21-2015 07:03 PM
Google Chrome beta SlackBuild errors dr.s Slackware 3 05-18-2015 11:30 PM
Google-chrome Slackbuild under multilib damgar Slackware 5 04-08-2010 09:20 PM
Google Chrome SlackBuild pwc101 Slackware 10 10-03-2009 08:53 AM

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

All times are GMT -5. The time now is 08:18 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