LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 12-05-2015, 08:40 AM   #1
ativg
LQ Newbie
 
Registered: Nov 2015
Location: Paraguay
Distribution: Deepin
Posts: 6

Rep: Reputation: Disabled
Question Package manager for LFS


I finished building my LFS 7.7 systemd a few weeks ago now I want to install some sort of package manager like yum or apt get is there anyway to do it I want a tool to download the packges from the internet and install them for me, if that exists.

Thanks in advance
 
Old 12-05-2015, 10:00 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
LFS = Linux from Scratch
You must download the source packages for the system.

Gentoo has a package manager.
 
Old 12-05-2015, 10:36 AM   #3
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Rep: Reputation: Disabled
There are a bunch of topics here to add a package manager. Did you build BLFS yet or only the basic system?
 
Old 12-05-2015, 12:14 PM   #4
ativg
LQ Newbie
 
Registered: Nov 2015
Location: Paraguay
Distribution: Deepin
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hendrickxm View Post
There are a bunch of topics here to add a package manager. Did you build BLFS yet or only the basic system?
just the basic one
 
Old 12-05-2015, 12:23 PM   #5
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Rep: Reputation: Disabled
Quote:
Originally Posted by ativg View Post
just the basic one
Well in that case, I would recommend something like pkgutils, pacman or lfspkg and even pkgtools. There has been written enough on them you could use so you could add it to your LFS.
Neither come with prebuilt binaries though. Another option is guix but I have no experience with it.
CRUX uses pkgutils and is very similar to LFS, there are also binaries you can find online in some repos.
Same thing with pacman from Arch, Arch is not that different from LFS. I used binaries from arch on my LFS before. Things can go wrong though.
Slackware uses pkgtools.
I would not update the toolchain and base (basic LFS book) packages. But adding stuff could be possible for most packages, do check the dependencies.
pkgutils is compatible with archlinux binaries if you rename them to packagename#version.tar.*z and to add it to LFS is as easy as adding libarchive and pkgutils itself.
But then again, why would you mainly want to use binaries from CRUX, Arch or Slack if you run LFS. I used it to try out stuff like firefox, libreoffice and other stuff that compiles way too long for my liking.

Last edited by hendrickxm; 12-05-2015 at 12:25 PM.
 
Old 12-06-2015, 04:31 AM   #6
moonfrog
Member
 
Registered: Oct 2008
Location: San Diego County, CA
Distribution: LFS, Gentoo
Posts: 64

Rep: Reputation: 23
I started using the whole suite from CRUX (pkgutils, prt-get, prt-utils, ports) on my four LFS boxes sharing a local ports server.
At my skill level it was a nightmare to get the ports built and working...not done, just working.(fully PM'ed core/wm build running great!)

Anyway, pkgutils works really well with LFS but its prt-get front end gives me 'tech vertigo' (a good thing)

local prioritized ports collection list
+ 'semi-automatic' dep tracking
+ your own custom built ports tree
= the possibility of radically different builds sharing the same tree with easy software version testing

If you just want to try a few apps and easily remove them then collections and dep lists probably don't matter.


Be careful using CRUX Pkgfiles, some try to build multi-lib/static-lib and some call for files that you don't have
..the init is different and there are folders that will bite you
Nutyx has Pkgfiles that are more compatible with LFS but aren't fully compatible with pkgutils.

For difficult builds I've been comparing the two to merge with the LFS instructions and it's got me past some big road blocks

I guess the goal is to master faked root installs...still hoping a new book will come Linux From Ports . . . As for auto-downloading the source files...pkgutils w/wget will do that.

Last edited by moonfrog; 12-06-2015 at 04:49 AM. Reason: formatting again
 
  


Reply



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
Package Manager For LFS Keith Hedger Linux From Scratch 12 08-16-2020 01:47 PM
[SOLVED] How to create package manager for LFS system? Carl_cj Linux - General 10 11-22-2014 02:06 AM
Updated lfspkg LFS/BLFS package manager with dependency management Keith Hedger Linux From Scratch 13 04-21-2014 06:13 AM
Using the Slackware Package Manager in LFS? Seph64 Linux From Scratch 6 10-25-2007 11:16 AM
Poll: Yast Package Manager vs. Smart Package Manager in 10.1 agentchange SUSE / openSUSE 6 06-02-2006 08:29 AM

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

All times are GMT -5. The time now is 11:10 AM.

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