Arch: find package for specific command
The problem is: How do you find the package for a given command? Two solutions are presented.
- Use the program
pkgfile
. - Use
pacman
.- Update database:
$ sudo pacman -Fy
- Searching:
$ pacman -Fs $cmd
- Update database:
Source: stackexchange.com