📦 🐳 0-dependency Container-based Package Manager
Go to file
Fredrik Lönnegren 556e46daeb
Print all not-found packages (#304)
* Print all not-found packages

When trying to install several packages that are not found luet will now
print all packages that are not found, instead of only first one.

* changes to some failing tests
2022-07-20 00:29:24 +02:00
.github 📓 Add docs alongside 2022-01-30 22:04:36 +01:00
cmd ⬆️ Tag 0.32.5 2022-06-08 00:13:36 +02:00
contrib/config Finalizer envs (#242) 2021-08-11 11:18:16 +02:00
docs ⚙️ Add support for subpackages during buildtime 2022-04-27 23:33:49 +02:00
pkg Print all not-found packages (#304) 2022-07-20 00:29:24 +02:00
tests 🐛 Bail out when no packages are found with default solvers (#296) 2022-05-24 23:01:56 +02:00
vendor 🎨 Swap toposort implementation 2022-06-08 00:13:36 +02:00
.gitignore 📓 Add docs alongside 2022-01-30 22:04:36 +01:00
.gitmodules 📓 Add docs alongside 2022-01-30 22:04:36 +01:00
.goreleaser.yml Use goreleaser to build and release (#244) 2021-08-11 08:30:55 +02:00
CONTRIBUTING.md 📒 Update CONTRIBUTING 2021-12-04 21:35:59 +01:00
Dockerfile 🐳 Drop upx build from Dockerfile 2022-01-20 13:59:44 +01:00
go.mod 🎨 Swap toposort implementation 2022-06-08 00:13:36 +02:00
go.sum 🎨 Swap toposort implementation 2022-06-08 00:13:36 +02:00
LICENSE Add copy of LICENSE 2019-11-04 11:01:41 +01:00
main.go Add cmd/ and main.go 2019-10-31 12:38:58 +01:00
Makefile 🎨 Add test-integration-docker target 2022-06-06 17:39:16 +02:00
README.md 📓 Add docs alongside 2022-01-30 22:04:36 +01:00

luet - Container-based Package manager

Docker Repository on Quay Build and release on push GoDoc codecov

Luet is a multi-platform Package Manager based off from containers - it uses Docker (and others) to build packages. It has zero dependencies and it is well suitable for "from scratch" environments. It can also version entire rootfs and enables delivery of OTA-alike updates, making it a perfect fit for the Edge computing era and IoT embedded devices.

It offers a simple specfile format in YAML notation to define both packages and rootfs. As it is based on containers, it can be also used to build stages for Linux From Scratch installations and it can build and track updates for those systems.

It is written entirely in Golang and where used as package manager, it can run in from scratch environment, with zero dependencies.

asciicast

In a glance

Install

To install luet, you can grab a release on the Release page or to install it in your system:

$ curl https://luet.io/install.sh | sudo sh
$ luet search ...
$ luet install ..
$ luet --help

Build from source

$ git clone https://github.com/mudler/luet.git
$ cd luet
$ make build

Documentation

Documentation is available, or run luet --help, any subcommand is documented as well, try e.g.: luet build --help.

Dependency solving

Luet uses SAT and Reinforcement learning engine for dependency solving. It encodes the package requirements into a SAT problem, using gophersat to solve the dependency tree and give a concrete model as result.

SAT encoding

Each package and its constraints are encoded and built around OPIUM. Additionally, Luet treats also selectors seamlessly while building the model, adding ALO ( At least one ) and AMO ( At most one ) rules to guarantee coherence within the installed system.

Reinforcement learning

Luet also implements a small and portable qlearning agent that will try to solve conflict on your behalf when they arises while trying to validate your queries against the system model.

To leverage it, simply pass --solver-type qlearning to the subcommands that supports it ( you can check out by invoking --help ).

Authors

Luet is here thanks to our amazing contributors!.

Luet was originally created by Ettore Di Giacinto, mudler@sabayon.org, mudler@gentoo.org.

License

Luet is distributed under the terms of GPLv3, check out the LICENSE file.