LinuxQuestions.org
Help answer threads with 0 replies.
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 09-13-2002, 08:35 AM   #1
blackcat
Member
 
Registered: Sep 2002
Location: usa
Posts: 41

Rep: Reputation: 15
Smile Steps to advoid install error!


Both lfs 3.3 and cvs lfs can be installed very smoothly if you follow the right steps. Here are some suggested steps:

1. Although it has not been proven, selecting a base distro which has same apps and of as close as possible version should be considered. I selected redhat 7.3 and it worked fine.

2. The base distro should have "dvips" and "pcre", without them you willl have problem installing gcc/grep/glibc.

3. Read the lfs book VERY carefully since every point you missed could end up in a failed install. Pay particular attention to those places where you are about to change the environment.

4. Pay attention to the ownership and groupship of the sources you are about to install. Wrong own/group may generate a "permission denied" error.

5. Always use a fresh source to do the install. You should keep an extra copy of every source and copy it to the /usr/src when needed. You should use "cp -R" or drag and drop.

6. In case some people may miss this point: the glibc-threads.tar.bz2 has to be opened inside the folder glibc.

7. Here is something of a crude script to help newbie to develop the *tar.bz2 files and save time:

> #!bin/csh
> foreach file ( *.tar.bz2 )
> if ( -e $file ) then
> bzcat $file | tar xv
> endif
> end

run "csh ./scriptname"


Last edited by blackcat; 09-13-2002 at 01:53 PM.
 
Old 09-16-2002, 10:04 PM   #2
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Rep: Reputation: 30
plz i don't understand what is the use of the last command u typed above M.r blackcat
 
Old 09-16-2002, 10:48 PM   #3
blackcat
Member
 
Registered: Sep 2002
Location: usa
Posts: 41

Original Poster
Rep: Reputation: 15
If the name of the script is " myscript" then mvoe it into the source files directory(/usr/src) then type the command:

# csh ./myscript
 
Old 09-17-2002, 01:53 PM   #4
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Rep: Reputation: 30
ok my frined but i meant this one ;;

7. Here is something of a crude script to help newbie to develop the *tar.bz2 files and save time:

> #!bin/csh
> foreach file ( *.tar.bz2 )
> if ( -e $file ) then
> bzcat $file | tar xv
> endif
> end
 
Old 09-17-2002, 02:26 PM   #5
blackcat
Member
 
Registered: Sep 2002
Location: usa
Posts: 41

Original Poster
Rep: Reputation: 15
re: script

What you don't understand? explain.
 
Old 09-17-2002, 04:11 PM   #6
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Rep: Reputation: 30
what is the use of these command
sorry but i am somehow new with commands

is it to exctract any file with ext. .bz2
 
  


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
New video card and monitor - any steps before I install? stunter Linux - Hardware 2 12-25-2004 12:37 AM
phpBB2 install(Doublechecked my steps and still stumped) Mr.Ampersand() Linux - Software 6 09-28-2004 01:22 PM
10 or so easy steps to install gentoo off cd. Nz_Boy_2004 Linux - Software 2 06-16-2004 01:26 AM
steps to install from DSL boot cd duah55 DamnSmallLinux 5 04-15-2004 10:56 AM
New Slack install- recomended 1st steps ocularbob Linux - Distributions 3 03-20-2003 08:57 AM

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

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