Giter Site home page Giter Site logo

raspberry-deluge's Introduction

Deluge torrent client for Raspberry Pi (debian)

Install

Install method 1 (simpleton):

Just run install script with sudo and follow the instructions. There is a known issue. If you enabled movies and series separator, after install you need to enable labelPlus plugin manually in deluge options.

sudo sh ./install.sh

Install method 2 (for advanced users):

Libtorrent

First of all, we need to install libtorrent with dpkg:

sudo dpkg -i ./libtorrent/libtorrent*

Deluge

If libtorrent has been installed, we can go to the next step, install deluge.

First of all, install deluge build dependencies:

sudo apt-get install libboost-all-dev python python-twisted python-openssl python-setuptools intltool python-xdg python-chardet geoip-database python-libtorrent python-notify python-pygame python-glade2 librsvg2-common xdg-utils python-mako

Then go to the deluge folder:

cd ./deluge

Building and Installing Deluge

If you have run the build before, ensure you have a clean build environment:

python setup.py clean -a

Extract the source tarball and in the extracted folder run the build command:

python setup.py build

Install the package to your system:

sudo python setup.py install

For Linux Desktop systems an extra step is required due to an installer ​bug not copying data files, such as deluge.desktop:

sudo python setup.py install_data

Setup linux daemon:

Go back to the package folder:

cd ..

Then copy the service file to linux services folder, then make it runnable:

sudo cp ./daemon/deluge /etc/init.d/deluge && sudo chmod a+x /etc/init.d/deluge

Now open the service file and edit the user who will run the deluge:

sudo nano /etc/init.d/deluge

In this file search the USER=YOUR_USERNAME line and edit them, for example if you use osmc, change the user to osmc (USER=osmc)

To run deluge daemon at startup type this:

sudo update-rc.d deluge defaults

Finally restart the raspberry and enjoy deluge. Note: The deluge config file will be created to the user_that_you_wrote_in_deluge_daemon_file/.config/deluge

Setup (optional)

Remote access

First of all you need to stop the deluge service:

sudo service deluge stop

Then you need to config the username and password in ~/.config/deluge/auth. Default this file contains the auth data. Add a new line to the auth file and type your auth data the following format: username:password:10 then enable remote access in ~/.config/deluge/core.conf file, with the following option: "allow_remote": true.

After all you can start the deluge service:

sudo service deluge start

Deluge-web connect localhost automatically

Default the deluge-web not connect the local daemon automatically.

First of all, you need to stop deluge service:

sudo service deluge stop

Than edit the ~/.config/deluge/web.conf and set an option that name default_daemon and the parameter is the following: "127.0.0.1:58846".

Finally, start the deluge service:

sudo service deluge start

raspberry-deluge's People

Contributors

nfjodor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.