Skip to content

Installing the toolkit on Linux

Pouria Pirhadi edited this page Apr 14, 2023 · 2 revisions

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:

ffmpeg

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

yt-dlp

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 own yt-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 the yt-dlp that is already there.

Clone this wiki locally