LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-13-2006, 09:39 PM   #1
peok
Member
 
Registered: Aug 2003
Location: CA, USA
Distribution: (Almost) LFS 6.1.1
Posts: 91

Rep: Reputation: 15
considering package managers


Quite some time ago I failed miserably and repeatedly at installing LFS but this time I think it's going to work. I'm currently just about to begin part three (time to chroot into new system and rebuild everything).

I've tinkered with Linux for many years now and picked up on a few concepts, but never became fluent. Just to give you an idea, today I was able to mount a usb drive, deal with generic file operations, switch terminals, etc. But I had to relearn the syntax for extracting a foo.tar.bz2 file, and when I wanted to delete all the *.bmp files scattered throughout subdirectories, I was at a total loss. I found myself reading a bash tutorial and decided I would worry about it later. Why am I telling you this? My hope is that it can help someone make a recommendation as to how (if at all) I manage packages.

After searching google, lfs hints, and here, I have found three possible solutions:

1) Using users to manage packages
http://www.linuxfromscratch.org/hint...nd_pkg_man.txt

2) paco
http://paco.sourceforge.net/

3) slackware's pkgtool

I really like the concept of number one and the reasons as far as keeping the packages' rights limited. honestly though, I wouldn't know what to do if "something went wrong" as I've read can happen with this system. does that make sense?

I almost went with paco, until I read this (url)
Quote:
Originally Posted by spursrule
It's not trivial to extend LFS to use a package manager. paco -lp $PKG "make install" is probably the easiest, where PKG is whatever name you give to the package, but it can't be used for a lot of things... for example, installing an ATI display driver.
and I've heard some ambiguously good things about pkgtool on lfs. that's all I know.

So... What should I use?

Last edited by peok; 07-14-2006 at 06:14 PM.
 
Old 07-15-2006, 10:00 AM   #2
bx.s
LQ Newbie
 
Registered: Jan 2006
Distribution: Ubuntu
Posts: 13

Rep: Reputation: Disabled
I am a n00b at LFS and am not so skilled at linux, but I am trying the first option. I figure that it will help me learn the most about my system and allow me to have control. I admit that I have screwed things up several times, but this is just a toy project for me so I can afford to. The notes walk you through an installation and also tells you of potential problems that will crop up during the remainder of the LFS installation. (Although I ran into more). It is a nice set of training wheels. So I have been able to deal with future problems (although it is not getting a tad annoying.) I don't know about the other options, but that is just my opinion on the first.
 
Old 07-16-2006, 03:01 AM   #3
operator10001
Member
 
Registered: Mar 2006
Distribution: debian sarge
Posts: 222

Rep: Reputation: 30
i recommend aptitude
 
Old 07-27-2006, 05:40 AM   #4
shevegen
Member
 
Registered: May 2004
Distribution: Slackware / GoboLinux / LFS / VoidLinux
Posts: 145

Rep: Reputation: 26
I am using paco. A ruby script handles the creation of the binaries
and paco drops a binary into /Depot/pkg (which is where i store my
binaries)

After I compiled it once, i now have a binary ready to deploy on
other systems.


IF you are experienced enough, I recommend you paco. Because, I am
selfish
I want to see paco being used much more, so that it can improved,
and it could be used to make people independant of bigger vendors
supplying stuff. (Mind you, if you want to be convenient, then
using paco is probably not for you. I, though, do want to know
how things work. I dont want to stand not-knowing about things)
 
Old 07-27-2006, 05:42 AM   #5
shevegen
Member
 
Registered: May 2004
Distribution: Slackware / GoboLinux / LFS / VoidLinux
Posts: 145

Rep: Reputation: 26
Btw
"Using users to manage packages"

Seems like a GOOD choice but a bit extra work...
I think stuff like a sandboxed-install can be achieved in another
way, like building in a chrooted (or whatever) environment.
Nothing will escape there too, so you dont need permission
on users.

I dont think every package should get its own user.
I feel its not really beautiful. :/


But its up to everyone on his own to use what he likes
(and one day I am gonna extend my ruby scripts to
support exactly this, and seriously test it on my own.)
 
  


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
Are all BSD package managers as nice as...? lunarcloud_88 *BSD 2 04-06-2006 05:21 PM
Using multiple package managers B1-66ER Linux - General 2 09-16-2005 09:44 PM
I'm Intrigued is there anycompile from source Package managers? carl0ski Linux - Distributions 3 05-29-2005 08:32 AM
Package managers in different versions of linux solutionseeker Linux - Newbie 18 01-27-2005 11:28 PM
Linux Package Managers a4r0 Linux - Newbie 1 08-17-2004 04:04 PM

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

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