Version 2 (modified by johnnyg, 13 years ago) (diff)

changed installing from source link

Installing Deluge

  1. Installing on Linux
  2. Installing on Windows
  3. Installing From Source
  4. Installing on FreeBSD

There are various options for installing Deluge. You can either install the appropriate packaged release or executable for your operating system, or you can build Deluge from source code. Generally, if a package is available for your system it is best to use it rather than build from source.

Installing on Linux

To install Deluge on Linux, head to the downloads page and select the distribution you use. Some distributions (such as Ubuntu) may have packages available for multiple versions. For example, if you select Ubuntu you may see packages for 7.10 Gutsy Gibbon, 8.04 Hardy Heron and 8.10 Intrepid Ibex. Be sure to select the package which corresponds to the version you have installed.

If you are using a 32 bit computer and operating system, you will need to select the package for i386 systems.

If you are using a 64 bit computer and operating system, select the package for x86_64 systems.

Once you have found the correct package for your system, download it to a convenient location on your computer. On most systems you can install the package simply by double-clicking on the downloaded file to open it with your distribution's package management software and following the on-screen instructions.

Installing on Windows

To install Deluge on Windows, head to the downloads page and select Windows from the list of download options. You will be presented with the option to download Deluge for 32-bit or 64-bit versions of Windows.

If you are unsure which version you need, you can find out by right-clicking the My Computer icon and selecting Properties. Under the System section of the General tab, you will see your Windows version. If this includes x64 Edition you will need to download the 64-bit version of Deluge, otherwise download the 32-bit version. If you are still unsure, download the 32-bit version.

Installing From Source

Installing Deluge from Source

Installing 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

or

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:

cd deluge

Then build:

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.