LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 05-04-2005, 03:55 AM   #1
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
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.
         You should provide a "tar-1.13" in your $PATH.
But i'm using tar 1.15.1 on my Slack OS, and it works fine... After testing on LFS, it also works.

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
It's automatically displayed in pkgtool.

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.
 
  


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
LFS all packages? blackzone Linux From Scratch 3 08-23-2004 12:25 AM
Create binary packages of LFS 5.0 pengStudent Linux From Scratch 7 11-16-2003 04:36 PM
LFS 3.2 book, but LFS packages 3.0 CragStar Linux From Scratch 2 04-07-2002 03:15 PM
LFS packages not installing correctly... Chijtska Linux From Scratch 2 02-11-2002 04:41 PM
Latest LFS packages ca9mbu Linux From Scratch 6 01-23-2002 02:26 PM


All times are GMT -5. The time now is 07:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration