LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-02-2015, 11:55 AM   #1
HashNoob
Member
 
Registered: Jun 2015
Posts: 37

Rep: Reputation: Disabled
Can i install x windows on LFS


Is it posible to install x windows on LFS, just for fun of it.
Next - can i uninstall it and not damage the LFS.

I dont wana go through BLFS, just for x windows. I hope for the sake of humanity this is possible.
 
Old 07-02-2015, 12:28 PM   #2
Krejzi
Member
 
Registered: Jan 2015
Posts: 215

Rep: Reputation: Disabled
You may want to read a bit more. Asking a question under a nick that has "noob" as part of it that are already answered in the book is rather rude.

Start by just reading BLFS from the beginning.
 
Old 07-03-2015, 12:24 AM   #3
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Quote:
Next - can i uninstall it and not damage the LFS.
May be but difficult. That's why one should use a package manager.
 
Old 07-03-2015, 04:04 AM   #4
Krejzi
Member
 
Registered: Jan 2015
Posts: 215

Rep: Reputation: Disabled
Quote:
Originally Posted by veerain View Post
May be but difficult. That's why one should use a package manager.
Not really. Just install xorg in its own prefix and you can nuke/replace it later. Its external deps might be a bit different though.
 
Old 07-03-2015, 07:12 AM   #5
HashNoob
Member
 
Registered: Jun 2015
Posts: 37

Original Poster
Rep: Reputation: Disabled
is ok , i test it later on .. thnx

Last edited by HashNoob; 07-03-2015 at 07:30 AM.
 
Old 07-05-2015, 08:24 AM   #6
HashNoob
Member
 
Registered: Jun 2015
Posts: 37

Original Poster
Rep: Reputation: Disabled
I'm trying and thinking on installing LXDE desktop. I'm a bit confused. Does the LXDE desktop installation requires all decencies marked as 'required' need to be installed. What else is needed for LXDE Desktop installation. Can someone give a short answer, no bullshit.
 
Old 07-05-2015, 08:47 AM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
The BLFS book will tell you all about installing X on LFS - http://www.linuxfromscratch.org/blfs...n/x/xorg7.html

If you read through it and follow the instructions you shouldn't have any problems. If reading the LFS and BLFS books are proving to not be helpful, it may be better for you to work up to them - install Gentoo or a similar distro until you feel more confident.
 
Old 07-05-2015, 09:11 AM   #8
nomadoi
LQ Newbie
 
Registered: Jul 2015
Posts: 5

Rep: Reputation: Disabled
del

Last edited by nomadoi; 07-06-2015 at 08:46 PM.
 
Old 07-05-2015, 09:40 AM   #9
HashNoob
Member
 
Registered: Jun 2015
Posts: 37

Original Poster
Rep: Reputation: Disabled
What i meant was, can i install LXDE desktop without the need of the x environment. Do i need to install x environment, all of them for LXDE to work.

Second the LXDE has some depencies during the installation marked as required. Do i need them as well or should i skip them.

Simply what do i need to install for LXDE desktop to work.

Last edited by HashNoob; 07-05-2015 at 09:43 AM.
 
Old 07-05-2015, 10:15 AM   #10
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
X is required for graphics in UNIX. That's why it's called the X-Windows system. LXDE, Xfce, KDE, and GNOME are only Desktop Environments that run on top of X to provide window management, graphical user environments, interfaces, toolkits, and such. Xorg is nothing more than a core set of rendering libraries, DDX and OpenGL drivers, and core APIs to draw graphics in UNIX. You can run other graphical stacks like Wayland and DirectFB that work similar but often these still require parts of, or total installations of Xorg to function properly.
 
Old 07-05-2015, 10:48 AM   #11
HashNoob
Member
 
Registered: Jun 2015
Posts: 37

Original Poster
Rep: Reputation: Disabled
Basically i want to make my LFS like Puppy linux - Small size 100MB!
Installing xorg, depencies and other files, my LFS is gona be like 10gb.
Why is that , how can i build my LFS like Puppy.

This is what is confusing me.
Can the developers of LFS, write a tutorial on how to create puppy LFS(small LFS, with GUI).

NVM, i guess i have to find a program that shrinks the whole LFS to 100MB.

But still i don't get it, how can u shrink a 1GB LINUX to 100mb and still make it work.
Why not instead of shrinking it, write the code smaller so it fits without shrinking.

Just a Theory, on shrinking.
Pipe from 1 PC to Another, or from terminal to terminal, while ur are compiling ,make and install.
Basically First PC does compile and make, second PC does install and shrinks auto.
Or just do auto shrink the whole LFS after ur done with it.

Last edited by HashNoob; 07-05-2015 at 11:46 AM.
 
Old 07-05-2015, 11:28 AM   #12
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Have you read this http://www.linuxfromscratch.org/hint.../small-lfs.txt
 
Old 07-05-2015, 02:46 PM   #13
HashNoob
Member
 
Registered: Jun 2015
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by spiky0011 View Post
That tutorial was made in 2005-07-31.
10 years , i hope there is something better..
 
Old 07-05-2015, 03:01 PM   #14
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
It is prob still relevent, last modified 2013 according to hints page http://www.linuxfromscratch.org/hints/downloads/files/
 
Old 07-05-2015, 04:19 PM   #15
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Once you have built your lfs, programs can be removed, "Puppy linux" or DSL etc dont have the programs like example tar and others, you can also reduce the size of the kernel by removing stuff you dont need, remove man pages as mention in the link

Last edited by spiky0011; 07-05-2015 at 04:29 PM.
 
  


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
[SOLVED] Is LFS in VirtualBox over Windows 8 possible? DavidLee1A Linux From Scratch 4 05-12-2013 09:39 PM
Error with X-windows lfs 7.1 poisoning Linux From Scratch 2 08-10-2012 11:49 AM
[SOLVED] LFS 6.7 : $LFS/sources and $LFS/tools folders missing prakashsince92 Linux From Scratch 5 12-09-2010 02:26 PM
dual booting Windows XP and LFS jgmyshko Linux From Scratch 1 12-23-2006 07:39 AM
Windows, LFS and Slackware... marsques Linux From Scratch 1 02-06-2004 10:33 AM

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

All times are GMT -5. The time now is 09:18 PM.

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