mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
42 lines
701 B
Plaintext
42 lines
701 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, android]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pkg
|
|
|
|
> Package management utility for Termux.
|
|
> More information: <https://wiki.termux.com/wiki/Package_Management>.
|
|
|
|
- Upgrade all installed packages:
|
|
|
|
`pkg {{[up|upgrade]}}`
|
|
|
|
- List currently installed packages:
|
|
|
|
`pkg {{[list-i|list-installed]}}`
|
|
|
|
- Install a package:
|
|
|
|
`pkg {{[i|install]}} {{package}}`
|
|
|
|
- Uninstall a package:
|
|
|
|
`pkg {{[un|uninstall]}} {{package}}`
|
|
|
|
- Reinstall a package:
|
|
|
|
`pkg {{[rei|reinstall]}} {{package}}`
|
|
|
|
- Search for a package:
|
|
|
|
`pkg {{[se|search]}} {{package}}`
|
|
|
|
- Show information about specific package:
|
|
|
|
`pkg {{[sh|show]}} {{package}}`
|
|
|
|
- Display help:
|
|
|
|
`pkg {{[h|help]}}`
|