LinuxQuestions.org
Register a domain and help support LQ
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 12-01-2011, 08:57 AM   #1
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS
Posts: 351

Rep: Reputation: 7
installing X


well, finally i'm installing X.i'm reading chapter 23 and i have some questions i like to ask.all my questions is about the introduction page.

1.there's a script in the beginning of this page.what's the name of this script? i mean in what name should i save it?

2.the book says i should create a directory for installing Xorg, named xc.where should i create it?

3.XORG_PREFIX="<PREFIX>" : which value should i set to this env: /usr or /usr/X11

4.because i'm not familiar with X in detail, i probably should install all the packages in chapter 23,24 and 25.am i right?

Last edited by devilboy09; 12-01-2011 at 09:00 AM.
 
Old 12-01-2011, 09:54 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,744
Blog Entries: 1

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by devilboy09 View Post
1.there's a script in the beginning of this page.what's the name of this script? i mean in what name should i save it?
Name it whatever you want to name it.

Quote:
Originally Posted by devilboy09 View Post
2.the book says i should create a directory for installing Xorg, named xc.where should i create it?
It doesn't say a directory for installing Xorg, it says a working directory. Create it wherever you want. I usually create it in my non-privileged user's $HOME directory.

Quote:
Originally Posted by devilboy09 View Post
3.XORG_PREFIX="<PREFIX>" : which value should i set to this env: /usr or /usr/X11
Did you read the paragraph preceding this? Make a decision.

Quote:
Originally Posted by devilboy09 View Post
4.because i'm not familiar with X in detail, i probably should install all the packages in chapter 23,24 and 25.am i right?
No. Chapter 23 will leave you with a working X environment using TWM as your window manager. Where you go from there is up to you. Could go Fluxbox, Blackbox, Openbox, VTWM, icewm, Gnome, LXDE, XFCE, KDE, etc. That choice will determine what else needs to be installed.
 
Old 12-01-2011, 10:19 AM   #3
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS
Posts: 351

Original Poster
Rep: Reputation: 7
Code:
Did you read the paragraph preceding this? Make a decision.
i did read it, but i want to make the best choice.i mean which location is better? is there any differences?

i want to install Gnome.
Code:
No. Chapter 23 will leave you with a working X environment using TWM as your window manager. Where you go from there is up to you. Could go Fluxbox, Blackbox, Openbox, VTWM, icewm, Gnome, LXDE, XFCE, KDE, etc. That choice will determine what else needs to be installed.
so, you mean after chapter 23(installing all the packages?) i should skip to the installation of gnome?
what about chapter 24.there are alot of X libraries. i'm a little bit confused

Last edited by devilboy09; 12-01-2011 at 10:45 AM.
 
Old 12-01-2011, 11:32 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,
Quote:
Originally Posted by devilboy09 View Post
so, you mean after chapter 23(installing all the packages?) i should skip to the installation of gnome?
what about chapter 24.there are alot of X libraries. i'm a little bit confused
Nope. If you want to install gnome you do all of chapter 23 and then skip to the Gnome section (IX. GNOME).

The mentioned libraries (24. X Libraries) are installed when/if needed, other packages depend on them.

Hope this helps.
 
Old 12-01-2011, 11:40 AM   #5
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS
Posts: 351

Original Poster
Rep: Reputation: 7
tanX
 
Old 12-01-2011, 03:04 PM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,744
Blog Entries: 1

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by devilboy09 View Post
i did read it, but i want to make the best choice.i mean which location is better? is there any differences?
I make a link /usr/X11 --> /usr and then install to /usr; that is, I set XORG_PREFIX=/usr. Sometimes some software only looks in /usr/X11 to find X libraries. Neither /usr or /usr/X11 is necessarily better.
 
  


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
installing aurora linux in sun blade 150----not installing? kingston Linux - General 1 01-14-2010 07:10 AM
Installing Simplescalar: Problem installing simpleutils yy_current_buffer’ undeclared niteshg Linux - Software 1 07-03-2009 04:09 PM
Toshiba Satellite 110CS installing pdf reader, installing linux nappy501 Linux - Laptop and Netbook 3 10-11-2008 10:45 AM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 02:44 PM
Installing Mandriva 2006 - Hangs installing hard drive controller nvidia mcp04 sata DanielJPayne Mandriva 7 01-19-2006 02:15 AM


All times are GMT -5. The time now is 03:27 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration