1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/apx.md

38 lines
950 B
Markdown
Raw Normal View History

2022-11-09 15:51:01 +05:30
# apx
> Package management utility.
> Install packages inside managed containers from multiple sources (`apx` supports --aur,--dnf, --apk flags in all commands).
2022-11-09 15:51:01 +05:30
> More information: <https://github.com/Vanilla-OS/apx>.
- Initialize or reinitialize a specific container:
2022-11-09 15:51:01 +05:30
`apx init`
2022-11-09 15:51:01 +05:30
- Install specific packages in the container:
2022-11-09 15:51:01 +05:30
`apx install {{package1 package2 ...}}`
2022-11-09 15:51:01 +05:30
- 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 15:51:01 +05:30
`apx remove {{package1 package2 ...}}`
2022-11-09 15:51:01 +05:30
- Search for specific packages:
2022-11-09 15:51:01 +05:30
`apx search {{package1 package2 ...}}`
2022-11-09 15:51:01 +05:30
- Enter the managed container shell to execute commands (type `exit` to exit the container):
2022-11-09 15:51:01 +05:30
`apx enter`
2022-11-09 15:51:01 +05:30
- Update the list of available packages in the container:
2022-11-09 15:51:01 +05:30
`apx update`
2022-11-09 15:51:01 +05:30
- Upgrade all installed packages in the container to their newest available version:
2022-11-09 15:51:01 +05:30
`apx upgrade`