-
Notifications
You must be signed in to change notification settings - Fork 2
Installing the toolkit on Linux
You can download the latest version of the Linux toolkit from here: https://github.com/pouriap/Grabby-Toolkit/releases/latest
There is an install.sh
script in the package that should take care of setting up the native application on your computer.
I highly recommend that you perform the following tests before using grabby to make sure the required tools are working correctly:
The Linux toolkit does not come with ffpmeg
executable. If you don't have ffmpeg
already installed you should install it because it is needed by yt-dlp
to convert downloaded videos. It needs to be installed in such a way that ffmpeg
command is available from shell.
How to test
1- Open a terminal and go to ~/.mozilla/native-messaging-hosts
2- Type ffmpeg -version
3- If you see an output then ffmpeg
is installed on your system and accessible by Grabby
Grabby needs an executable named yt-dlp
to be present in ~/.mozilla/native-messaging-hosts
.
The package already includes one but if it doesn't work for you then you have to install it yourself.
How to test
1- Open a terminal and go to ~/.mozilla/native-messaging-hosts
2- Type ./yt-dlp --version
3- If you see a version number then yt-dlp
is correctly working on your system. If you see any errors then you need to install yt-dlp
yourself. Instructions can be found on their github page.
For people who install their own yt-dlp
:
As already mentioned your yt-dlp
executable should be located in ~/.mozilla/native-messaging-hosts
.
If it is installed elsewhere you have to create a bash script with the name yt-dlp
and place it in ~/.mozilla/native-messaging-hosts
(i.e. replace the yt-dlp
executable that is already there). Here is how:
-
In the zip package you downloaded there is a file named
sample.sh
-
Open this file and replace
YOUR_YT_DLP_COMMAND
with the path to your ownyt-dlp
and then save the file (For example/usr/bin/yt-dlp
) -
Rename the file to
yt-dlp
(with no extensions) -
Copy this new
yt-dlp
file to~/.mozilla/native-messaging-hosts
and replace theyt-dlp
that is already there.