Getting started
Installing omnipackage-agent
Agent is responsible for building packages. You'll need it to build packages locally. There are multiple ways to install it:
- OmniPackage repositories web.omnipackage.org/oleg/omnipackage-agent
- Source code. Reasonably recent version of Ruby required. Executables located in
exe/
directory
Test your installation
Agent requires podman
or docker
as well as few other common Linux programs. It will check their availability upon start and report if anything is missing.
Building example project locally
- Clone examples repository
cd examples
omnipackage build c_makefile
Now you can install the resulting package. For example, Debian 12:
sudo dpkg -i /tmp/omnipackage-headless-build/omnipackage-example-c-debian_12/output/omnipackage-example-c_0.0.1-0_amd64.deb
Building and publishing example project to repositories
- Go to web.omnipackage.org and create a new project
- Specify sources location - path to Github repo
{{ examples_url }}
and sub-directory -c_makefile
because the examples repo contains multiple projects in one repo and you want to build only one located in subdir - Save, go to project page and click build now
- After the build and publishing is done you can find instructions how to instll the package on public download page
Now your package is hosted in repositories, signed by a generated GPG key (you can upload your own key), and can be installed using native package managers.