LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Package management? (https://www.linuxquestions.org/questions/linux-from-scratch-13/package-management-176283/)

darkRoom 04-30-2004 06:10 AM

Package management?
 
Hey all
I'm just interested to know what package managers/package management you are all using with LFS ?

thanks

apax 04-30-2004 08:30 AM

I used swaret and slapt-get on my time inte slackware. But gentoo's portage system is the best I've tried ever...

dawizman 04-30-2004 09:02 AM

well, with LFS I use the universal package system. Installation from source.

darkRoom 04-30-2004 09:38 AM

Thanks for the replies. But for those from source installers like dawizman, do you have no desire for a package manager at all, and why ?

At the moment i am without a package manager but I tried using RPM (just to see how well it worked) and have been recently been looking at GIT
http://linuxfromscratch.mirror.ac.uk..._with_git.txt.

dawizman 04-30-2004 10:06 AM

I really dont have any desire for package management. I want to know what gets installed and where it gets installed to. I mean, that is the whole point of running LFS, is it not?

darkRoom 05-01-2004 06:56 AM

I hear your point but I do miss the organisation that package managers bring. With Slackwares pkgtool I can see the path for every file contained in a package. I might not be able to control where a package is installed but at least i know where it is. Im not sure if im ready to let package managers go, for me LFS is about having a system that contains only what i require and a package manager just brings an extra level of control.

NonSumPisces 05-30-2004 02:56 PM

Wouldn't it be a fairly simple task for a programmer to modify pkgtool so that one can edit the paths?

TheOneAndOnlySM 06-02-2004 04:03 PM

here is a compromise between organization and source install: checkinstall

with that tool, you build from source, then wherever you would do make install, just do checkinstall which will create a .tgz-slackware-like package so you know where your programs are installing

sio 06-03-2004 04:31 PM

mkdir /buildpkg
cp /home/user/mypackage.tgz /buildpkg
cd /buildpkg
explodepkg mypackage.tgz

change what you want

cd /buildpkg
makepkg mypackage.tgz

Hope that clarifies a few things :D

[edit]
also alternatively to checkinstall you could simply compile with the option

prefix=/buildpkg

if thats where you build your packages, then after its finished run your

make install
cd /buildpkg

I think everyone can handle it from here :D

NonSumPisces 06-04-2004 10:00 AM

That's really quite usefull :)

Thx for sharing it :D


All times are GMT -5. The time now is 05:46 AM.