LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 06-05-2016, 09:39 PM   #16
dk_
LQ Newbie
 
Registered: May 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by kcirick View Post
Yes, that's basically what I have and it's been working great for me.

FYI this is also essentially Slackware's build code for Google Chrome (http://mirrors1.kernel.org/slackware...ome.SlackBuild)
When I run this the terminal prints out a bunch of icons that look like they are from the Matrix, and nothing is happening in that directory.
 
Old 06-06-2016, 08:03 AM   #17
kcirick
Member
 
Registered: Dec 2006
Distribution: Slackware 14.1; LFS 7.9-Systemd; Debian Jessie
Posts: 169

Rep: Reputation: 55
so there are two little things wrong with the line you posted. The process is fine, just two minor details:

1. it should be 'tar Jx' not 'tar xz' after the pipe, because the data archive you extracted before the pipe has *.tar.xz format.
2. Make sure you have permission to write to /tmp folder. You can overcome this by either doing 'sudo tar' after the pipe, or extract to somewhere in your home directory (eg ~/.tmp)

As an example, I just put the following in my command line and it worked (after making sure that /tmp/google-chrome exists):
Code:
ar -p google-chrome-stable_current_amd64.deb data.tar.xz | sudo tar Jx -C /tmp/google-chrome/
 
Old 06-06-2016, 12:21 PM   #18
dk_
LQ Newbie
 
Registered: May 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kcirick View Post
so there are two little things wrong with the line you posted. The process is fine, just two minor details:

1. it should be 'tar Jx' not 'tar xz' after the pipe, because the data archive you extracted before the pipe has *.tar.xz format.
2. Make sure you have permission to write to /tmp folder. You can overcome this by either doing 'sudo tar' after the pipe, or extract to somewhere in your home directory (eg ~/.tmp)

As an example, I just put the following in my command line and it worked (after making sure that /tmp/google-chrome exists):
Code:
ar -p google-chrome-stable_current_amd64.deb data.tar.xz | sudo tar Jx -C /tmp/google-chrome/
I ran your command and it worked. So now I see three folders in /tmp/google-chrome/. Etc, opt, and usr. So do I just copy the folders to where they should be in /?
 
Old 06-06-2016, 12:43 PM   #19
kcirick
Member
 
Registered: Dec 2006
Distribution: Slackware 14.1; LFS 7.9-Systemd; Debian Jessie
Posts: 169

Rep: Reputation: 55
Quote:
Originally Posted by dk_ View Post
I ran your command and it worked. So now I see three folders in /tmp/google-chrome/. Etc, opt, and usr. So do I just copy the folders to where they should be in /?
Yes, the reason why I put it in /tmp/google-chrome is for packaging/archiving purposes (This is how slackpkg works), also to audit the files to see if everything looks fine. If you don't care about it you could just do:

Code:
ar -p google-chrome-stable_current_amd64.deb data.tar.xz | sudo tar Jx -C /
and it would extract the files into the root directory.
 
1 members found this post helpful.
Old 06-06-2016, 12:46 PM   #20
dk_
LQ Newbie
 
Registered: May 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kcirick View Post
Yes, the reason why I put it in /tmp/google-chrome is for packaging/archiving purposes (This is how slackpkg works), also to audit the files to see if everything looks fine. If you don't care about it you could just do:

Code:
ar -p google-chrome-stable_current_amd64.deb data.tar.xz | sudo tar Jx -C /
and it would extract the files into the root directory.
How would I know the what applications I need for the program?
 
Old 06-06-2016, 12:50 PM   #21
kcirick
Member
 
Registered: Dec 2006
Distribution: Slackware 14.1; LFS 7.9-Systemd; Debian Jessie
Posts: 169

Rep: Reputation: 55
Quote:
Originally Posted by dk_ View Post
How would I know the what applications I need for the program?
I'm not sure what you mean? When you extract the files to root directory it's all in place. Google Chrome executable is /usr/bin/google-chrome-stable, which is a symlink to /opt/google/chrome/google-chrome
 
Old 06-06-2016, 12:55 PM   #22
dk_
LQ Newbie
 
Registered: May 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kcirick View Post
I'm not sure what you mean? When you extract the files to root directory it's all in place. Google Chrome executable is /usr/bin/google-chrome-stable, which is a symlink to /opt/google/chrome/google-chrome
In /tmp/google-chrome/usr/share there is a folder called gnome-control-center and in my /usr/share I don't have a gnome-control-center folder. Also in /tmp/google-chrome/etc there is a folder called cron.daily, which I don't have in my /etc.

What should I do?
 
Old 06-06-2016, 01:04 PM   #23
kcirick
Member
 
Registered: Dec 2006
Distribution: Slackware 14.1; LFS 7.9-Systemd; Debian Jessie
Posts: 169

Rep: Reputation: 55
Quote:
Originally Posted by dk_ View Post
In /tmp/google-chrome/usr/share there is a folder called gnome-control-center and in my /usr/share I don't have a gnome-control-center folder. Also in /tmp/google-chrome/etc there is a folder called cron.daily, which I don't have in my /etc.

What should I do?
Just ignore/delete them. If you don't have Gnome DE, then you're not using gnome-control-center. I believe the files under that directory adds Chrome preference tab in gnome-control-center (Never used it myself). You can safely delete the cron file too. Slackbuilds comment says the cron job is only for Debian/Ubuntu.
 
Old 06-06-2016, 02:49 PM   #24
dk_
LQ Newbie
 
Registered: May 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kcirick View Post
Just ignore/delete them. If you don't have Gnome DE, then you're not using gnome-control-center. I believe the files under that directory adds Chrome preference tab in gnome-control-center (Never used it myself). You can safely delete the cron file too. Slackbuilds comment says the cron job is only for Debian/Ubuntu.
So I deleted the cron.daily folder in /etc and gnome-control-center in /usr/share. When I type google-chrome-stable I get an error saying I need libgconf, but in BLFS there is no libgconf? What do I do?

EDIT: I got Google Chrome running by install GConf for the BLFS list of packages

Last edited by dk_; 06-06-2016 at 02:56 PM.
 
Old 06-06-2016, 07:14 PM   #25
kcirick
Member
 
Registered: Dec 2006
Distribution: Slackware 14.1; LFS 7.9-Systemd; Debian Jessie
Posts: 169

Rep: Reputation: 55
From my own notes, the dependencies of google-chrome is:

Code:
google-chrome
   nss
   gconf 
   libexif
   gtk2
   cups
   alsa-lib
 
Old 06-06-2016, 07:30 PM   #26
dk_
LQ Newbie
 
Registered: May 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kcirick View Post
From my own notes, the dependencies of google-chrome is:

Code:
google-chrome
   nss
   gconf 
   libexif
   gtk2
   cups
   alsa-lib
I got it working by installing gconf.
 
Old 06-08-2016, 07:16 AM   #27
tnut
NuTyX Founder
 
Registered: May 2016
Location: Switzerland
Distribution: NuTyX
Posts: 136

Rep: Reputation: Disabled
Now it's too late but why didn't you go for http://www.linuxfromscratch.org/hint...nd_pkg_man.txt

It's an extremely light concept, actually cannot be more light

In case you change your mind, I recommend you start all over again (yes that's part of the game with LFS) and you give a try to it
 
Old 06-08-2016, 07:32 PM   #28
dk_
LQ Newbie
 
Registered: May 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by tnut View Post
Now it's too late but why didn't you go for http://www.linuxfromscratch.org/hint...nd_pkg_man.txt

It's an extremely light concept, actually cannot be more light

In case you change your mind, I recommend you start all over again (yes that's part of the game with LFS) and you give a try to it
I will once LFS 8 is released :-)
 
  


Reply



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
Package Manager For LFS Keith Hedger Linux From Scratch 12 08-16-2020 01:47 PM
[SOLVED] Package manager for LFS ativg Linux From Scratch 5 12-06-2015 04:31 AM
[SOLVED] How to create package manager for LFS system? Carl_cj Linux - General 10 11-22-2014 02:06 AM
Updated lfspkg LFS/BLFS package manager with dependency management Keith Hedger Linux From Scratch 13 04-21-2014 06:13 AM
Using the Slackware Package Manager in LFS? Seph64 Linux From Scratch 6 10-25-2007 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:56 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
Open Source Consulting | Domain Registration