mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
expac: add page (#15925)
This commit is contained in:
parent
138da1285a
commit
017916d8bb
1 changed files with 25 additions and 0 deletions
25
pages/linux/expac.md
Normal file
25
pages/linux/expac.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# expac
|
||||
|
||||
> A data extraction tool for alpm databases, offering printf-like flexibility for pacman-based utilities.
|
||||
> See also: `pacman`.
|
||||
> More information: <https://github.com/falconindy/expac>.
|
||||
|
||||
- List the dependencies of a package:
|
||||
|
||||
`expac -S '%D' {{package}}`
|
||||
|
||||
- List the optional dependencies of a package:
|
||||
|
||||
`expac -S "%o" {{package}}`
|
||||
|
||||
- List the download size of packages in MiB:
|
||||
|
||||
`expac -S -H M '%k\t%n' {{package1 package2 ...}}`
|
||||
|
||||
- List packages marked for upgrade with their download size:
|
||||
|
||||
`expac -S -H M '%k\t%n' $(pacman -Qqu) | sort -sh`
|
||||
|
||||
- List explicitly-installed packages with their optional dependencies:
|
||||
|
||||
`expac -d '\n\n' -l '\n\t' -Q '%n\n\t%O' $(pacman -Qeq)`
|
Loading…
Add table
Reference in a new issue