Skip to content

Step by Step Installation (RaspberryPi)

GammaC0de edited this page Feb 9, 2023 · 3 revisions

Installing pyLoad on a Raspberry Pi with Raspbian Bullseye

In the following, I assume that you are running a Raspberry Pi with a recent version of Raspbian.
At the point of writing this means you are running some version of Debian Bullseye.

We will install the pyLoad using pip.

First we are going to create a system user for running pyLoad.

sudo adduser --system pyload

Next we are installing some dependencies for pyLoad.

Then we update our package list and install the dependencies.

sudo apt-get update
sudo apt install python3 python3-pip python3-pil python3-openssl libcurl4-openssl-dev libssl-dev p7zip ffmpeg tesseract-ocr

Now we install pyLoad.

sudo pip3 install --pre pyload-ng[all]

For more information about this command see: https://pypi.org/project/pyload-ng/

pyLoad will be installed in: /usr/local/bin/pyload

Test pyload with calling pyload as user pyload.

runuser -u pyload -- pyload

pyLoad will start on localhost:8000.

You can access the web UI from your local raspberry browser only since it is bound to localhost.

In the web UI use user pyload and password pyload to do the configuration.

If you are running headless and need to access the web UI from another host in your local network edit the file: /home/pyload/.pyload/settings/pyload.cfg

In this file under the section webui - "Web Interface": you will find:

ip host : "IP address" = localhost

change this to:

ip host : "IP address" = <your local ip>

Then start

runuser -u pyload -- pyload

You should be able to access the web UI now from any host on your local network with this <your local ip>:8000.

If you want to start pyLoad at every reboot you can create a systemd service file for that. Just create a new file

sudo nano /etc/systemd/system/pyload.service

and dump the following code in there.

[Unit]
Description=pyLoad Downloader
After=network-online.target nss-lookup.target local-fs.target remote-fs.target

[Service]
User=pyload
ExecStart=/usr/local/bin/pyload

[Install]
WantedBy=multi-user.target

Now we need to activate this rule with systemd:

sudo systemctl enable pyload.service

You can test the service by calling:

sudo systemctl start pyload

And verify the start with:

sudo systemctl status pyload

After a reboot, this should automatically be executed, and you can see the status of the service with

sudo systemctl status pyload

To keep your installation up-to-date, issue the command:

sudo pip install --pre pyload-ng[all] -U
Clone this wiki locally