glaucus
glaucus copied to clipboard
[Request] Consider adding `dbin` to the system
Hi, could you consider the addition of dbin to the system? It is a package manager that uses static binaries, meaning: we have +2610 statically linked binaries in the repos that Just Work™ in both Musl & Glibc, this includes binutils, collections of system utilities, text editors, development tools, web browsers (elinks, elinks_lite and most recently, self-contained appimages), etc.
Thanks! I really hope it contributes to making Glaucus a bit more usable, and hopefully, an OS that we can boot bare-metal and use for real work :)
NOTE: dbin is a zero-pollution solution, no files other than the binaries that the user chooses to install and the "tracker file" are created.
NOTE N. 2: The "tracker file" just saves the version of a program preffered by the user, because, for example, if the user has previously installed vim/vi, and later runs dbin update, we need to ensure that we don't end up replacing vim/vi with busybox/vi, and so on for the suites of system utilities, and programs which share a name.
]@ dbin --help
Copyright (c) 2024: xplshn and contributors
For more details refer to https://github.com/xplshn/dbin
Synopsis
dbin [-v|-h] [list|install|remove|update|run|info|search|tldr] <-args->
Description:
The easy to use, easy to get, software distribution system
Options:
-h, --help Show this help message
-v, --version Show the version number
Commands:
list List all available binaries
install, add Install a binary
remove, del Remove a binary
update Update binaries, by checking their SHA against the repo's SHA
run Run a specified binary from cache
info Show information about a specific binary OR display installed binaries
search Search for a binary - (not all binaries have metadata. Use list to see all binaries)
tldr Equivalent to "run --transparent --silent tlrc"
Variables:
DBIN_CACHEDIR If present, it must contain a valid directory path
DBIN_INSTALL_DIR If present, it must contain a valid directory path
DBIN_NOTRUNCATION If present, and set to ONE (1), string truncation will be disabled
DBIN_TRACKERFILE If present, it must point to a valid file path, in an existing directory
Examples:
dbin search editor
dbin install micro.upx
dbin install lux kakoune aretext shfmt
dbin --silent install bed && echo "[bed] was installed to $INSTALL_DIR/bed"
dbin del bed
dbin del orbiton tgpt lux
dbin info
dbin info jq
dbin list --described
dbin tldr gum
dbin --verbose run curl -qsfSL "https://raw.githubusercontent.com/xplshn/dbin/master/stubdl" | sh -
dbin --silent run elinks -no-home "https://fatbuffalo.neocities.org/def"
dbin --silent run --transparent micro ~/.profile
dbin run btop
]@