![](apx-logo.png)
Apx (/à·peks/) is the default package manager in Vanilla OS. It is a wrapper around multiple package managers to install packages and run commands inside a managed container.
Special thanks to distrobox for making this possible.Apx is a package manager with support for multiple sources allowing you to install packages in a managed container.
Usage:
apx [command]
Available Commands:
autoremove Remove all unused packages automatically
clean Clean the apx package manager cache
completion Generate the autocompletion script for the specified shell
enter Enter in the container shell
export Export/Recreate a program's desktop entry from a managed container
help Help about any command
init Initialize the managed container
install Install packages inside a managed container
list List installed packages.
purge Purge packages inside a managed container
remove Remove packages inside a managed container.
run Run a program inside a managed container.
search Search for packages in a managed container.
show Show details about a package
unexport Unexport/Remove a program's desktop entry from a managed container
update Update the list of available packages
upgrade Upgrade the system by installing/upgrading available packages.
Global Flags:
--apk Install packages from the Alpine repository.
--apt Install packages from the Ubuntu repository.
--aur Install packages from the AUR (Arch User Repository).
--dnf Install packages from the Fedora's DNF (Dandified YUM) repository.
--zypper Install packages from the openSUSE repository.
--xbps Install packages from the Void (Linux) repository.
-h, --help help for apx
-n, --name string Create or use custom container with this name.
-v, --version version for apx
Use "apx [command] --help" for more information about a command.
The official documentation and manpage for apx
are available at https://documentation.vanillaos.org/docs/apx/.
Please consider to keep the project name as
apx
to avoid confusion for users.
To use with another package manager, re-compile editing the config.json
file
to point to the desired package manger and image.
To add new dependencies, use go get
as usual, then run go mod tidy
and finally go mod vendor
before
committing code.
To test translations made in the .yml
file locally, perform go build
first in the correct directory then execute this command LANG=<language_code> ./apx man > man/<language_code>/apx.1
(i.e LANG=sv ./apx man > man/sv/apx.1
).