apx: add page (#9501)

This commit is contained in:
K.B.Dharun Krishna
2022-11-09 15:51:01 +05:30
committed by GitHub
parent 8cd6567f44
commit d3203a1699

33
pages/linux/apx.md Normal file
View File

@@ -0,0 +1,33 @@
# apx
> Package management utility for Vanilla OS.
> Install packages inside managed containers or directly inside the host.
> More information: <https://github.com/Vanilla-OS/apx>.
- Install a package in the system and initialize the container:
`sudo apx install --sys {{package}} && apx init`
- Install package(s) in the system or install AUR package(s) inside a container:
`sudo apx install --{{sys|aur}} {{package1 package2 ...}}`
- Run an installed package from AUR:
`apx --aur run {{package}}`
- Update the list of available packages in the system:
`sudo apx --sys update`
- Upgrade all installed packages in the system to their newest available version:
`sudo apx --sys upgrade`
- Remove package(s) in the system or from the AUR container:
`sudo apx --{{sys|aur}} remove {{package1 package2 ...}}`
- Enter the container to install packages using `apt` (Use `exit` inside the container to exit it):
`apx enter`