I have installed handbrake. Installation was went fine and without any error. However, when I type "handbrake" I get the following,
~~> handbrake
zsh: command not found: handbrake
I have searched in '/usr/bin/, /bin, /usr/local/bin' but didn't find the command and also "which" yielded the following:
~~> which handbrake
handbrake not found
Could someone shed some light on how to troubleshoot and fix this issue.
My installation trace is
~~> sudo pacman -Sy handbrake
:: Synchronizing package databases...
system is up to date
world is up to date
galaxy is up to date
universe is up to date
extra is up to date
community is up to date
resolving dependencies...
looking for conflicting packages...
Packages (2) numactl-2.0.14-1 handbrake-1.4.2-2
Total Installed Size: 54.67 MiB
:: Proceed with installation? [Y/n]
(2/2) checking keys in keyring [#############################################] 100%
(2/2) checking package integrity [#############################################] 100%
(2/2) loading package files [#############################################] 100%
(2/2) checking for file conflicts [#############################################] 100%
(2/2) checking available disk space [#############################################] 100%
:: Processing package changes...
(1/2) installing numactl [#############################################] 100%
(2/2) installing handbrake [#############################################] 100%
Optional dependencies for handbrake
gst-plugins-good: for video previews
gst-libav: for video previews
intel-media-sdk: Intel QuickSync support [installed]
libdvdcss: for decoding encrypted DVDs [installed]
:: Running post-transaction hooks...
(1/2) Updating icon theme caches...
(2/2) Updating the desktop file MIME type cache...
The executable is /usr/bin/ghb. :)
HTH.
Best regards.
For the future, you can check the list of files installed by the package and find the binaries and other things which it provides.
To check the list of installed files from a package:
pacman -Ql <package>
In your case, you are looking for "bin" folder and "handbrake" package
pacman -Ql handbrake | grep bin
For not installed packages, you can use "pacman -F".
For more information check pacman entry at archwiki.
For example:
https://wiki.archlinux.org/title/Pacman#Querying_package_databases
https://wiki.archlinux.org/title/Pacman#Search_for_a_package_that_contains_a_specific_file
Also pkgfile (https://wiki.archlinux.org/title/Pkgfile) can be used:
pkgfile -l some_package