tldr/pages/linux/apx.md

38 lines
950 B
Markdown
Raw Normal View History

2022-11-09 10:21:01 +00:00
# apx
> 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>.
- Initialize or reinitialize a specific container:
2022-11-09 10:21:01 +00:00
`apx init`
2022-11-09 10:21:01 +00:00
- Install specific packages in the container:
2022-11-09 10:21:01 +00:00
`apx install {{package1 package2 ...}}`
2022-11-09 10:21:01 +00:00
- Install a DEB/RPM package inside the container (Use `--dnf` flag for installing RPMs):
`apx install --sideload {{path/to/package}}`
- Remove specific packages from the container:
2022-11-09 10:21:01 +00:00
`apx remove {{package1 package2 ...}}`
2022-11-09 10:21:01 +00:00
- Search for specific packages:
2022-11-09 10:21:01 +00:00
`apx search {{package1 package2 ...}}`
2022-11-09 10:21:01 +00:00
- Enter the managed container shell to execute commands (type `exit` to exit the container):
2022-11-09 10:21:01 +00:00
`apx enter`
2022-11-09 10:21:01 +00:00
- Update the list of available packages in the container:
2022-11-09 10:21:01 +00:00
`apx update`
2022-11-09 10:21:01 +00:00
- Upgrade all installed packages in the container to their newest available version:
2022-11-09 10:21:01 +00:00
`apx upgrade`