PyLoad
Jump to navigation
Jump to search
Installing pyLoad on Debian Stretch
Then we update our package list and install the dependencies.
sudo apt-get update sudo apt-get -y install git liblept5 python python-crypto python-pycurl python-imaging tesseract-ocr zip unzip python-openssl libmozjs-24-bin
Get unrar
wget http://www.rarlab.com/rar/unrarsrc-5.2.1.tar.gz gunzip unrarsrc-5.2.1.tar.gz tar xfv unrarsrc-5.2.1.tar cd pyload make -f makefile install -v -m755 unrar /usr/bin
To get libmozjs running with pyLoad we need to create a symlink.
cd /usr/bin ln -s js24 js
One last dependency
sudo apt-get install pyqt4-dev-tools
Now we can download the current version of pyLoad and install that. We are using the current git version which is usually a bit newer that the latest release.
cd /opt sudo git clone -b stable https://github.com/pyload/pyload.git cd pyload sudo python pyLoadCore.py
The last line should start the configuration wizard of pyload and create an initial setup. Just follow the on-screen instructions. If everything went well you should have a running pyLoad instance.
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=Python Downloader After=network.target [Service] User=root ExecStart=/usr/bin/python /opt/pyload/pyLoadCore.py [Install] WantedBy=multi-user.target
Now we need to activate this rule with systemd.
sudo systemctl enable pyload.service
reboot