by oddbyte on
I wanted to make a package manager that would support as many linux environments as possible, including embedded devices, or containers where you cannot get root.
curl -sSL opm.oddbyte.dev/opminstall.sh > opminstall.sh && sh opminstall.sh
You can use bash
, sh
, or even busybox ash
for the installer. Just replace sh
with your desired shell.
opm@oddbyte:~$ opm help
=====================================
OPM Package Manager
By Oddbyte
=====================================
Usage:
opm [command] [options]
Commands:
help Show this help message
install | add | i [pkg] Install a package
remove | uninstall | delete | rm Remove a package
repos List configured repositories
addrepo [repo_url] Add a repository
rmrepo [repo_url] Remove a repository
list List all package names
search [query] Search packages
reinstall [package] Reinstalls the package, deleting all data
upgrade [package1] [package2]... Reinstalls packages, keeps config data
update Update OPM
upgradecheck Check for package updates
show | info [package] Show info about package
postinstall [package] Run post-install script for a package
start [package] Start the package's service
doctor | diagnose Run system diagnostics
Options:
-y, --yes Automatic yes to prompts
-p, --parallel Enable parallel installation
-j, --jobs [n] Set number of parallel jobs (default: 4)
--debug Enable debug messages
--nocolor Disable colored output
Check out opm's webpage at opm.oddbyte.dev