Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] handbrake installs without error but "command not found" (Read 737 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] handbrake installs without error but "command not found"

I have installed handbrake. Installation was went fine and without any error. However, when I type "handbrake" I get the following,

Code: [Select]
~~> 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:

Code: [Select]
~~> which handbrake
handbrake not found

Could someone shed some light on how to troubleshoot and fix this issue.
My installation trace is

Code: [Select]
~~> 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...
Andromedan

Re: handbrake installs without error but "command not found"

Reply #1
The executable is /usr/bin/ghb.  :)
HTH.

Best regards.
We should try to be kind to everyone.....we are all fighting some sort of battle.

Re: handbrake installs without error but "command not found"

Reply #2
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:
Code: [Select]
pacman -Ql <package>

In your case, you are looking for "bin" folder and "handbrake" package
Code: [Select]
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


 

Re: handbrake installs without error but "command not found"

Reply #4
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:
Code: [Select]
pacman -Ql <package>

In your case, you are looking for "bin" folder and "handbrake" package
Code: [Select]
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
Thanks mate :)
Andromedan