|Version 2 (modified by EasyTarget, 5 years ago) (diff)|
Installing Deluge On FreeBSD
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.
Deluge (1.1.9) is available in ports, with dependencies correctly identified and also stable. For this author the following command correctly installed both the UI and Daemon components on FreeBSD 7.2 (installing the python/boost dependencies as required).
cd /usr/ports/net-p2p/deluge && make install clean
It should also be available as a package:
pkg_add -r deluge