LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-02-2014, 09:24 AM   #1
dragonprasad
Member
 
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80
Blog Entries: 3

Rep: Reputation: Disabled
Exclamation BLFS - what to do of packages


hello guys!

After finishing the LFS book just shifted to BLFS book but it is very big. And my basic goal is for GUI so can i directly jump to X-windows system and then going to GNOME OR KDE.

And in BLFS do we need to follow the same instruction as given for LFS chapter 5 & 6, extract, install and then delete the package.

please required immediate help required......
 
Old 03-02-2014, 01:07 PM   #2
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 615

Rep: Reputation: 180Reputation: 180
Quote:
Originally Posted by dragonprasad

And in BLFS do we need to follow the same instruction as given for LFS chapter 5 & 6, extract, install and then delete the package.
As you obviously already know, the BLFS book is not followed linearly from beginning to end like the LFS book. You pick and choose what to install. And there usually is a lot of jumping around in the book to pick up packages required by other packages. And so on. But to answer the question literally, yes you still generally do the routine of extract, install, and delete the build directory. In the Xorg section there are several subsections that run scripts that do everything including downloading the packages, untarring, installing, and deleting the build directories.

Quote:
Originally Posted by dragonprasad

And my basic goal is for GUI so can i directly jump to X-windows system...
You can do that, but there are some other things to do and consider first, IMO. I recommend not building in chroot from here on. Once the LFS system boots and runs independently, I like to install Lynx (a text browser) and GPM (mouse daemon) so I can copy and paste from the book (in Lynx with a mouse cursor) to another tty console (the final chapter of the LFS book mentions these things). Next, I recommend doing at least the chapter three stuff for all those startup files and to create an ordinary user. I also like to setup the firewall right after that. Then, I usually move on to Xorg. But this is all just my opinion and routine.

Quote:
Originally Posted by dragonprasad

...and then going to GNOME OR KDE.
The Gnome desktop has been dropped from the BLFS book due to its Systemd requirements. But there still are a bunch of Gnome applications in the book. The KDE desktop is in the book.
 
1 members found this post helpful.
Old 03-02-2014, 02:25 PM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,444
Blog Entries: 15

Rep: Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013
Basically, here's a good tip:

Chapter 3 > Chapter 24 > Chapter 32 > Chapter 33

This will give you a system that's more ready-to-use with Xfce for a balanced desktop environment, X, and re-tune the Console to be easier to manage. You'll probably want the full set of GNOME Icon themes as well for Xfce.

If you followed the LFS book recommendations at the last sections (LFS-9.3-Rebooting), you should have the following:

sudo
gpm
wget
dhcpcd or dchp-client
openssl
openssh
lynx

With all dependencies resolved for each respectively.
 
1 members found this post helpful.
Old 03-03-2014, 11:45 AM   #4
dragonprasad
Member
 
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
Thank you stoat & ReaperX for your replies it helped me a lot.

But actually i have started the BLFS book and just go through chapter 1 > chapter 2 > chapter 3> chapter 24.

But after completing the chapter 24 i will directly shift to chapter 3 and start in the sequence as you mentioned.

And is this mandatory to do BLFS we need to boot in LFS and follow BLFS book over their since i am still using chroot to build BLFS on my HOST OS.

Last edited by dragonprasad; 03-03-2014 at 11:47 AM.
 
Old 03-03-2014, 10:32 PM   #5
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 615

Rep: Reputation: 180Reputation: 180
Quote:
Originally Posted by dragonprasad

And is this mandatory to do BLFS we need to boot in LFS and follow BLFS book over their since i am still using chroot to build BLFS on my HOST OS.
No, it is not strictly mandatory to boot into the LFS system to build BLFS packages. You can continue building BLFS packages in the chroot environment. It will work, but it's just not considered the best way by most people around here. As I said above, I recommend not doing that. The idea is to get free of the host as soon as possible. And working in the running LFS system also reduces the risk of accidental damage to the host system. I do have to admit though, if you are not used to a text-based browser such as Lynx (for reading and copying from the book in a tty console), then there might be a period of learning and adjustment for that. For me, I like working that way, and I switch to building in the LFS system as soon as it can boot and run.
 
1 members found this post helpful.
Old 03-03-2014, 10:41 PM   #6
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,444
Blog Entries: 15

Rep: Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013
BLFS is not mandatory, but Chapter 3 by all accounts of the people who have built LFS, is recommended at minimum.
 
1 members found this post helpful.
Old 03-04-2014, 09:50 AM   #7
dragonprasad
Member
 
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
Exclamation

Quote:
Originally Posted by ReaperX7 View Post
BLFS is not mandatory, but Chapter 3 by all accounts of the people who have built LFS, is recommended at minimum.
hey if you are saying only for
II. Post LFS Configuration and Extra Software
3. After LFS Configuration Issues
then i have done only this section and directly jumped to
VI. X + Window Managers
24. X Window System Environment
and will do all the chapters of this unit.

please correct me if i am going wrong.
 
Old 03-04-2014, 07:41 PM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,444
Blog Entries: 15

Rep: Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013
More or less... yes.
 
1 members found this post helpful.
Old 04-07-2014, 04:01 AM   #9
stefan1959
Member
 
Registered: Feb 2006
Posts: 34

Rep: Reputation: 1
Quote:
Originally Posted by dragonprasad View Post
Thank you stoat & ReaperX for your replies it helped me a lot.

But actually i have started the BLFS book and just go through chapter 1 > chapter 2 > chapter 3> chapter 24.

But after completing the chapter 24 i will directly shift to chapter 3 and start in the sequence as you mentioned.

And is this mandatory to do BLFS we need to boot in LFS and follow BLFS book over their since i am still using chroot to build BLFS on my HOST OS.
I like to get SSH going asap in BLFS and then use putty to login (so a working network card), copy paste is very easy then (BTW I'm using a VM as well)
My 2 cents worth

Steve
 
Old 04-07-2014, 09:48 PM   #10
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,444
Blog Entries: 15

Rep: Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013
One recommendation I have...

Install BLFS through the chroot up until you complete installing X. After you get the basic twm window manager installed, switch to LFS. You'll need at least all the packages, with the exception of parted and a choice of dhcpcd or dhclient(recommended), listed in the Rebooting chapter of LFS to have a working internet capable system as well.

After you install X, you're good to go inside LFS full time. This way with twm you can use lynx beside xterm and enter command sequences more easily.
 
  


Reply

Tags
blfs, insatllation


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
Verifying GPG signatures of BLFS packages stoat Linux From Scratch 0 09-14-2013 03:45 AM
Distro that provides all need packages from repo's....confused LFS vs BLFs dwmolyneux Linux From Scratch 5 06-02-2012 06:39 AM
[SOLVED] re-install packages in blfs devilboy09 Linux From Scratch 6 11-20-2011 02:17 PM
BLFS - to download X-window packages. just.srad Linux From Scratch 2 09-24-2008 08:09 AM
BLFS packages dsider Linux From Scratch 2 10-15-2005 03:18 PM

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

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