1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 00:15:26 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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`