2022-11-09 10:21:01 +00:00
|
|
|
# apx
|
|
|
|
|
2023-03-11 06:56:22 +00:00
|
|
|
> Package management utility.
|
|
|
|
> Install packages inside managed containers from multiple sources (`apx` supports --aur,--dnf, --apk flags in all commands).
|
2022-11-09 10:21:01 +00:00
|
|
|
> More information: <https://github.com/Vanilla-OS/apx>.
|
|
|
|
|
2023-03-11 06:56:22 +00:00
|
|
|
- Initialize or reinitialize a specific container:
|
2022-11-09 10:21:01 +00:00
|
|
|
|
2022-12-13 05:44:34 +00:00
|
|
|
`apx init`
|
2022-11-09 10:21:01 +00:00
|
|
|
|
2022-12-13 05:44:34 +00:00
|
|
|
- Install specific packages in the container:
|
2022-11-09 10:21:01 +00:00
|
|
|
|
2022-12-13 05:44:34 +00:00
|
|
|
`apx install {{package1 package2 ...}}`
|
2022-11-09 10:21:01 +00:00
|
|
|
|
2023-03-11 06:56:22 +00:00
|
|
|
- Install a DEB/RPM package inside the container (Use `--dnf` flag for installing RPMs):
|
|
|
|
|
|
|
|
`apx install --sideload {{path/to/package}}`
|
|
|
|
|
2022-12-13 05:44:34 +00:00
|
|
|
- Remove specific packages from the container:
|
2022-11-09 10:21:01 +00:00
|
|
|
|
2022-12-13 05:44:34 +00:00
|
|
|
`apx remove {{package1 package2 ...}}`
|
2022-11-09 10:21:01 +00:00
|
|
|
|
2022-12-13 05:44:34 +00:00
|
|
|
- Search for specific packages:
|
2022-11-09 10:21:01 +00:00
|
|
|
|
2022-12-13 05:44:34 +00:00
|
|
|
`apx search {{package1 package2 ...}}`
|
2022-11-09 10:21:01 +00:00
|
|
|
|
2022-12-13 05:44:34 +00:00
|
|
|
- Enter the managed container shell to execute commands (type `exit` to exit the container):
|
2022-11-09 10:21:01 +00:00
|
|
|
|
2022-12-13 05:44:34 +00:00
|
|
|
`apx enter`
|
2022-11-09 10:21:01 +00:00
|
|
|
|
2022-12-13 05:44:34 +00:00
|
|
|
- Update the list of available packages in the container:
|
2022-11-09 10:21:01 +00:00
|
|
|
|
2022-12-13 05:44:34 +00:00
|
|
|
`apx update`
|
2022-11-09 10:21:01 +00:00
|
|
|
|
2022-12-13 05:44:34 +00:00
|
|
|
- Upgrade all installed packages in the container to their newest available version:
|
2022-11-09 10:21:01 +00:00
|
|
|
|
2022-12-13 05:44:34 +00:00
|
|
|
`apx upgrade`
|