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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-15-2009, 08:48 AM
|
#1
|
|
Member
Registered: Jun 2009
Posts: 67
Rep:
|
Need help coming up with a package management system
Now, this is my problem. I've gotten to chapter 6, where the building of the real system begins, and it tells you to adopt a package management system. The best one seems to be the "fakeroot" approach, described here. But I've stumped on the details on how to use it. The text does a general description, but it doesn't point out the specific methods and steps to implement it.
So does anybody know some step-by-step tutorial for just one installation, to help me understand the procedures and advantages/disavdantages of this approach? I know that I'm supposed to do my own research, but Google hasn't been helpful so far and I don't have a clue on how to do this.
|
|
|
|
06-15-2009, 10:52 AM
|
#2
|
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware, Cross Linux from Scratch, Gentoo
Posts: 2,663
Rep: 
|
Did you read the fakeroot hint?
|
|
|
|
06-15-2009, 11:01 AM
|
#3
|
|
Member
Registered: Jun 2009
Posts: 67
Original Poster
Rep:
|
Yes, sorry, the "described here" was meant to be a link. I read it, and though it describes the general picture, I've no idea on how to implement this.
|
|
|
|
06-15-2009, 01:21 PM
|
#4
|
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware, Cross Linux from Scratch, Gentoo
Posts: 2,663
Rep: 
|
What, exactly, do you not understand? The steps for this method are described near the middle of the hint. Look for the paragraph beginning with, "The steps to installing a package with this approach are as follows."
|
|
|
|
06-15-2009, 02:10 PM
|
#5
|
|
Member
Registered: Jun 2009
Posts: 67
Original Poster
Rep:
|
The hint says to do "the appropiate maintenance" and "post install configuration". On what cases would this be needed?
It also says that the method is good for cases when a package would collide with something already installed. But how would I know if it does?
|
|
|
|
06-15-2009, 02:36 PM
|
#6
|
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware, Cross Linux from Scratch, Gentoo
Posts: 2,663
Rep: 
|
Take a look at http://www.linuxfromscratch.org/blfs...r/postfix.html. The stuff about /etc/aliases would be post install configuration.
After you install the package in your fakeroot, you can see what files are installed. Compare this to existing files. If there are files installed in the same directory with the same name as files already installed, you can move them, rename them, whatever you need while they are in your fakeroot and before you create a tarball. Then, when you unpack the tarball into /, the existing files won't be overwritten. This would be appropriate maintenance.
|
|
|
|
06-15-2009, 03:04 PM
|
#7
|
|
Member
Registered: Jun 2009
Posts: 67
Original Poster
Rep:
|
Thanks for the advice. I understand the uses of post-installation configuration, but just one thing: I don't understand why the fakeroot system would make this any easier. It doesn't put a magical "Configure me" button on packages.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:01 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|