LinuxQuestions.org
Visit Jeremy's Blog.
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, 09:57 AM   #1
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS, CloudLinux
Posts: 377

Rep: Reputation: 10
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 10:00 AM.
 
Old 12-01-2011, 10:54 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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, 11:19 AM   #3
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS, CloudLinux
Posts: 377

Original Poster
Rep: Reputation: 10
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 11:45 AM.
 
Old 12-01-2011, 12:32 PM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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, 12:40 PM   #5
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS, CloudLinux
Posts: 377

Original Poster
Rep: Reputation: 10
tanX
 
Old 12-01-2011, 04:04 PM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

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

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

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