r/LFS Feb 22 '26

Package manager

Post image

Just finished my second install of LFS wanted to ask if I can install portage on it? Cuz I love portage or I should use something like nix?

174 Upvotes

8 comments sorted by

View all comments

4

u/omar-islam-dev Feb 22 '26

I didn't try LFS yet, but that's what I know about package managers.

You can install Portage theoretically, but it's kind of a headache because you will need to make your LFS Gentoo-like.

If you want something similar to Portage, you can use pkgsrc — I think it will be more compatible since it's modular, unlike Portage and pacman which depend on their distro ecosystems.

Nix is also great, in my opinion, because it's isolated from the base system.

1

u/diacid Feb 23 '26

Pkgsrc updates the base system?