Installing Deluge On FreeBSD
Posted: Sat Apr 24, 2010 1:52 pm
At FreeBSD Ports is old version of Deluge
I have written a little guide to install a fresh version.
This guide includes package only for the kernel and web GUI of deluge.
All actions done by root.
Uninstall old version of deluge and libtarrent. Then back up old config files.
Install dependencies for deluge core:
Then build libtorrent from tarball: (with 0.15.0 i have funny bug, so i use 0.14.10)
Install dependencies for deluge Web GUI:
Then build deluge from tarball:
If building succeeds - trying to run and connect to Web GUI
Init Scripts
If you want to remove it all:
-remove libtorrent
-remove deluge (not use this commands if deluge installed from ports!)
P.S. If you have problems, check the path of packages. They may be changed or may be changed make scripts of the packages(if this is true - then you need shaman drum to build deluge
).
I have written a little guide to install a fresh version.
This guide includes package only for the kernel and web GUI of deluge.
All actions done by root.
Uninstall old version of deluge and libtarrent. Then back up old config files.
Install dependencies for deluge core:
Code: Select all
#cd /usr/ports/devel/boost-libs; make install clean
#cd /usr/ports/devel/boost-pyste; make install clean
#cd /usr/ports/lang/python26; make install clean
#cd /usr/ports/devel/py-twisted; make install clean
#cd /usr/ports/security/py-openssl; make install clean
#cd /usr/ports/devel/py-setuptools; make install clean
#cd /usr/ports/devel/gettext; make install clean
#cd /usr/ports/devel/py-xdg; make install clean
Code: Select all
#cd /root/
#fetch http://libtorrent.googlecode.com/files/libtorrent-rasterbar-0.14.10.tar.gz
#tar -jxf ./libtorrent-rasterbar-0.15.0.tar.gz
#cd ./libtorrent-rasterbar-0.15.0
#./configure CPPFLAGS=-I/usr/local/include/python2.6 LDFLAGS=-L/usr/local/lib/python2.6 --disable-debug --enable-python-binding --with-boost-system=boost_system --with-boost-python=boost_python --with-boost-filesystem=boost_filesystem --with-boost-thread=boost_thread --with-boost-regex=boost_regex --with-boost-program-options=boost_program_options --with-asio=shipped --with-dht=on --with-encryption=on --with-libgeoip --with-zlib=system
#make
#make check
#make install
Code: Select all
#cd /usr/ports/textproc/py-mako; make install clean
#cd /usr/ports/textproc/py-chardet; make install clean
Code: Select all
#cd /root/
#fetch http://download.deluge-torrent.org/source/deluge-1.2.3.tar.bz2
#tar -jxf deluge-1.2.3.tar.bz2
#cd ./deluge-1.2.3
#python setup.py clean -a
#python setup.py build
#python setup.py install
Code: Select all
#deluged -L debug -l <logfile> & deluge-web
If you want to remove it all:
-remove libtorrent
Code: Select all
#cd /root/libtorrent-rasterbar-0.15.0
#make uninstall
Code: Select all
#rm -r /usr/local/lib/python2.6/site-packages/deluge*
#rm -r /usr/local/bin/deluge*
