How to install pyLoad under Ubuntu 20.04
1. Adding Key Server
gpg --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 16126D3A3E5C1192
2. Installaing packeges and dependencies
sudo add-apt-repository ppa:launchpad/ppa && sudo apt-get update
apt-get install -y python python-crypto python3-pycurl python-openssl tesseract-ocr libmozjs-68-0 libmozjs-68-dev
sudo apt-get install -f
3. Download and install pyLoad
wget https://github.com/pyload/pyload/releases/download/v0.4.20/pyload-cli_0.4.20_all.deb
sudo dpkg -i pyload-cli_0.4.20_all.deb
You can restart configuration over cli with:
sudo python /usr/share/pyload/pyLoadCore.py -s
Start pyLoad
sudo pyLoadCore
or with sudo python /usr/share/pyload/pyLoadCore.py
Run PyLoad in Background
nohup python /usr/share/pyload/pyLoadCore.py &
Start pyLoad as Service
Edit:
sudo nano /etc/systemd/system/pyload.service
Add/Replace with following lines:
[Unit]
Description=pyLoadCore Download Manager
After=network.target
[Service]
ExecStart=/usr/bin/python /usr/share/pyload/pyLoadCore.py --config=/root/.pyload
WorkingDirectory=/opt/pyload
Restart=always
User=root
Group=root
[Install]
WantedBy=default.target
systemctl
sudo systemctl daemon-reload # Reload systemd to apply the changes
sudo systemctl start pyload # Start the pyload service
sudo systemctl enable pyload # Optional: Enable on boot
sudo systemctl status pyload # Check status
Adding new user
sudo python /usr/share/pyload/pyLoadCore.py -u
Config Files Location
/root/.pyload
PyLoad Path:
/opt/pyload