Installing Deluge On FreeBSD
Deluge (1.3.x) is available in Freshports, with dependencies correctly identified and also stable.
pkg_add -r deluge
Install from Ports
cd /usr/ports/net-p2p/deluge && make install clean
Or using portmaster
Note: For this author the above commands correctly installed both the UI and Daemon components on FreeBSD 7.2, installing the Python/Boost dependencies as required.
Manual installation (Outdated v1.1.x)
To install Deluge in FreeBSD it is similar to doing it from source. This example will be pulling from the 1.1.0_RC branch. First you need subversion for svn access:
cd /usr/ports/devel/subversion; make install clean
Before you get other dependencies, you need to compile boost with python support. Do not use devel/boost-python, for some reason this doesn't work. We will compile boost manually like this:
cd /usr/ports/devel/boost; make -DWITH_PYTHON install clean
Note that "-DWITH_PYTHON" is essential here.
There are several other dependencies that need to be met as well including Python and other libraries. If you have the portinstall package installed you can do:
portinstall python25 py-setuptools py-xdg py-gobject py-gtk2 librsvg2
cd /usr/ports/devel/python25; make install clean; cd /usr/ports/devel/py-setuptools; make install clean; cd /usr/ports/devel/py-xdg; make install clean; cd /usr/ports/devel/py-gobject; make install clean; cd /usr/ports/x11-toolkits/py-gtk2; make install clean; cd /usr/ports/graphics/librsvg2; make install clean;
Note that this will install dependencies for these packages as well. This is normal. This is the only time you will need to worry about all of these packages. You can upgrade Deluge without having to touch these. Also note that when you install librsvg2, you do NOT want to enable Mozilla support unless you are using Firefox 2.x.
After the dependencies are met, you can get Deluge from the svn. This will copy Deluge from the svn to a directory called deluge.
svn co http://svn.deluge-torrent.org/branches/1.1.0_RC deluge
Once that finishes, just:
python setup.py build
Then either su or sudo:
python setup.py install
And that's it. Drop back to a regular user and start having fun with Deluge! If I missed something regarding a FreeBSD install, please contact AlmightyOatmeal on Freenode.