The DPlatform's Package Manager
- easy install, modification and backup of the applications
- support a wide range of systems (UN*Xes, x86, ARM) - distribution agnostic
- can use systemd or OpenRC for system services
- independent of your system's package manager
For now only the x86-64 architecture is available. An issue is open to support armhf
and aarch64
.
Get the helper:
wget https://raw.githubusercontent.com/DFabric/apps-static/master/helper.sh -O /tmp/helper.sh
or curl -SL https://raw.githubusercontent.com/DFabric/apps-static/master/helper.sh -o /tmp/helper.sh
Download dppm
:
sh /tmp/helper.sh dppm-static
The binary is bin/dppm
on the directory. Place it wherever you want (e.g. /usr/local/bin
)
Get the pre-compiled binary called dppm-static_*
, and extract it.
To show the help:
dppm --help
To list available packages (applications and libraries):
dppm list
A typical installation can be:
dppm install [application] prefix=/opt owner=myapp # install a new application in /opt as `myapp`
dppm service [application] run true # start the service
dppm service [application] boot true # auto start the service at boot
The user and group used by the application here is myapp
. Read more about security recommendations
Note that install
will build
the package, and then add
it to the system.
Root execution is needed to add a system service (systemd or OpenRC)
Intall dependencies:
shards install
Build a dppm
executable:
crystal build src/dppm.cr -o dppm
Run it
./dppm --help
For more informations, see the official docs
Copyright (c) 2018 Julien Reichardt - ISC License