Installer pyload sur son raspberry
Raspberry Pi: How to install PyLoad downloadmanager
Geschrieben von Elias Porcio in Raspberry Pi/ 7 Kommentare
19 Jun
I have already published some instructions on how to set up Raspbian. Now follows the most used program on my Raspberry Pi. It is called pyLoad and is a, in Python written, downloadmanager with webinterface. How to get it on the Raspberry Pi will be explained hereinafter. We will istall the version of pyLoad without graphical user interface but with webinterface.
Requires Raspbian or a similar Debian-distribut
Step 1
In order to be able to install all packages in step 2 we have to extend the sources.list. We can do so with the editor nano. Just insert the line after the nano command into the end of the file. You can save by pressing CTRL + X (which ends the programm), whereupon you are asked if you want to save before closing.
sudo nano /etc/apt/sources.list
deb-src
http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
At last we update apt.
sudo apt-get update
Step 2
First we need some Packages, so we can install PyLoad. We are mainly talking about Python (already Preinstalled) with some extensions and programs, that are used to unpack downloaded files.
sudo apt-get -y install liblept3
sudo apt-get -y install python python-crypto python-pycurl python-imaging tesseract-ocr python-qt4 spidermonkey-bin zip unzip
sudo apt-get -y build-dep rar unrar-nonfree
Step 3
Afterwards we download the latest .DEB-file of Python of the version cli. As I wrote this tutorial, the version 0.4.9 was up to date. You can get the latest download link at
http://pyload.org/download
wget
http://download.pyload.org/pyload-cli-v0.4.9-all.deb
Step 4
Now we install PyLoad using dpkg and delete the DEB-file afterwards.
sudo dpkg -i pyload-cli-v0.4.9-all.deb
rm pyload-cli-v0.4.9-all.deb
Step 5
Next, we launch PyLoad for the first time. Some questions to the set up will be asked.
cd /usr/share/pyload
./pyLoadCore.py
Step 6 (optional)
We can start PyLoad as Deamon, so we do not always have to leave the terminal open to run the downloadmanager.
pyLoadCore --daemon
Step 7 (optional; start on boot)
If we want to make PyLoad start together with the Raspberry Pi, we will create a crontab entry for the start of the Deamon. We insert the following line into the end of the file and save using CTRL + X and the confirmation, that we want to save.
crontab -e
@reboot pyLoadCore --daemon
Done! The PyLoad downloadmanager has been installed and is now set up. If you have activated the webinterface during the installation, you will be able to open IP:8000 (IP has to be replaced by the IP of the Raspberry Pi) in your browser and you can start downloading!