LinuxQuestions.org
Review your favorite Linux distribution.
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 01-02-2005, 04:51 PM   #1
g3neration
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Rep: Reputation: 0
Reinstalling LFS For Every New Package?


Hi, I'm a linux newbie. I know most of the basic commands I guess, and I've read the LFS 6.0 book and even built it multiple times. ( YAY me ) Now after I have my brand spanking new LFS system running ( which I'm pretty proud of ), I start reading the BLFS book. To my surprise ( a rather bad one ), it is recommended that LFS be rebuilt if there is a minor upgrade to the toolchain package. I'm not too sure how fast these upgrades are released but I'm kind of zoned out hearing it. So lets say now I start reading/learning/installing various package from BLFS, and 3-4 months down the line, I have it configured how I want, using it how I want and then a new upgrade for a package comes out. It is ( highly? ) recommended that I rebuild the LFS system. Which probably means all the other things I installed, I need to reinstall too. I'm kind of tired of reinstalling stuff over and over ( did it when I was crazier but kind of settled down ). I've also read the package management system, but I figured if I had to rebuild LFS, the package management system would probably do me squat anyway.

So I guess my question would be, is there any way to just install on top of the existing packages? Sort of like how M$ just overwrites a new patch/version over the existing one. Or would that break the system? Any hints, suggestion, expierences?
 
Old 01-02-2005, 06:42 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Well, most things you can overwrite without many problems (but its not guaranteed). The things you will likely want to upgrade often, such as kde and gnome, install in prefix /opt. that way when you want to remove them, just delete /opt/kde or /opt/gnome and rebuild the packages and install. As for package management, I've always used the slackware tools and checkinstall. Other than that, the base should be good for a while with glibc-2.3.4 and gcc-3.4.1.
 
Old 01-04-2005, 02:51 AM   #3
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
I prefer the package archive sort of installation. I just DESTDIR the make install into some temp directory strip and bzip2 any man/info files and then make a tar.bz2 of it and then install it. There's some packages you have to watch out for though, like the gnome packages, since make install does some extra stuff like install schemas.
 
  


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
Has anyone tried to use package management conary to build LFS? jery_wang2002 Linux From Scratch 1 05-31-2005 06:30 PM
reinstalling a package Cyric Slackware 4 10-02-2004 12:01 PM
LFS and package management michaely Linux From Scratch 7 07-02-2004 12:57 AM
LFS package management aes12 Linux From Scratch 4 05-09-2003 09:46 AM
Package management in LFS CragStar Linux From Scratch 7 11-04-2002 02:58 AM

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

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