expac
linux
A data extraction tool for alpm databases, offering printf-like flexibility for pacman-based utilities. See also: `pacman`.
More info →Options (6)
-S, --syncbooleanList the dependencies of a package
Example:
expac {{[-S|--sync]}} '%D' {{package}}-H, --humansizebooleanList the download size of packages in MiB
Example:
expac {{[-S|--sync]}} {{[-H|--humansize]}} M '%k\t%n' {{package1 package2 ...}}booleanList packages marked for upgrade with their download size
Example:
expac {{[-S|--sync]}} {{[-H|--humansize]}} M '%k\t%n' $(pacman -Qqu) | sort {{[-sh|--sort --human-numeric-sort]}}-d, --delimbooleanList explicitly-installed packages with their optional dependencies
Example:
expac {{[-d|--delim]}} '\n\n' {{[-l|--listdelim]}} '\n\t' {{[-Q|--query]}} '%n\n\t%O' $(pacman -Qeq)-l, --listdelimbooleanList explicitly-installed packages with their optional dependencies
Example:
expac {{[-d|--delim]}} '\n\n' {{[-l|--listdelim]}} '\n\t' {{[-Q|--query]}} '%n\n\t%O' $(pacman -Qeq)-Q, --querybooleanList explicitly-installed packages with their optional dependencies
Example:
expac {{[-d|--delim]}} '\n\n' {{[-l|--listdelim]}} '\n\t' {{[-Q|--query]}} '%n\n\t%O' $(pacman -Qeq)Examples (5)
List the dependencies of a package
expac [-S|--sync] '%D' packageList the optional dependencies of a package
expac [-S|--sync] "%o" packageList the download size of packages in MiB
expac [-S|--sync] [-H|--humansize] M '%k\t%n' package1 package2 ...List packages marked for upgrade with their download size
List explicitly-installed packages with their optional dependencies
expac [-d|--delim] '\n\n' [-l|--listdelim] '\n\t' [-Q|--query] '%n\n\t%O' $(pacman -Qeq)made by @shridhargupta | data from tldr-pages