Note on LFS packages
Hi all,
I just want to note something that might help others who are using LFS. Ony of my main concerns in a linux distro is package management... I've tried many PMs for LFS.. (eg, paco, etc...), and each one was missing something in its own way.. Some packaged well, but had limited package browsing. Others were just plain confusing. I'm a Slackware user myself, and when i noticed how both LFS and Slackware follow the FHS standards as much as they can, i decided to give pkgtool (Slack's PM) a try. pkgtool can be downloaded from here http://slackware.com/pb/searchpkg.ph...ent&string=pkg It works like a charm.. although i do get this warning message for some reason Code:
WARNING: pkgtools are unstable with tar > 1.13. The thing is pkgtool just lists the packages for you and gives you a choice to remove them or not. What i also need is a program to actually make packages for me... My first try, checkinstall. It was hell getting it to work, and it only did for a short while before ruining the doinst script and removing the destination paths resulting in everything installed into / After searching around, i noticed pkgtool comes with makepkg. While searching for a guide on how to use it, (and i'm sure its easy to use, but i searched anyway), i found a mate that made a script which will compile and use makepkg to create the package for you http://www.linuxquestions.org/questi...23#post1602923 Tried it, works like a charm. I can create .tgz packages in moments, and install them with Code:
installpkg mypackage.tgz I haven't tried Slacware's packages yet, but i bet you they'll safely work. (I'd first test the simple apps, before moving into something as heavy as Xorg or KDE) Anyway, i hope this helps anyone. |
All times are GMT -5. The time now is 12:02 AM. |