2013-11-08 20:31:08 +00:00
.. -*- coding: utf-8-with-signature -* -
2019-06-23 05:39:21 +00:00
=========================
Debian and Ubuntu Support
=========================
2008-06-17 20:41:32 +00:00
2010-10-15 05:29:13 +00:00
1. `Overview`_
2011-08-01 03:18:57 +00:00
2. `Dependency Packages`_
2010-04-24 12:05:37 +00:00
2010-10-15 05:29:13 +00:00
Overview
========
2010-04-24 12:05:37 +00:00
2017-09-18 05:27:09 +00:00
Tahoe-LAFS is provided as a `` .deb `` package in current Debian (>= `stretch <https://packages.debian.org/source/stretch/tahoe-lafs> `_ ) and Ubuntu (>= lucid) releases. Before official packages were added, the Tahoe
2011-08-01 03:18:57 +00:00
source tree provided support for building unofficial packages for a variety
of popular Debian/Ubuntu versions. The project also ran buildbots to create
`` .debs `` of current trunk for ease of testing.
As of version 1.9, the source tree no longer provides these tools. To
construct a `` .deb `` from current trunk, your best bet is to apply the current
Debian diff from the latest upstream package and invoke the `` debian/rules ``
as usual. Debian's standard `` apt-get `` tool can be used to fetch the current
source package (including the Debian-specific diff): run
"`` apt-get source tahoe-lafs `` ". That will fetch three files: the `` .dsc ``
control file, the main Tahoe tarball, and the Debian-specific
`` .debian.tar.gz `` file. Just unpack the `` .debian.tar.gz `` file inside
your Tahoe source tree, modify the version number in `` debian/changelog `` ,
then run "`` fakeroot ./debian/rules binary `` ", and a new `` .deb `` will be
placed in the parent directory.
Dependency Packages
===================
Tahoe depends upon a number of additional libraries. When building Tahoe from
source, any dependencies that are not already present in the environment will
2016-03-30 07:55:21 +00:00
be downloaded (via `` pip `` and `` easy_install `` ) and installed in the
virtualenv.
2011-08-01 03:18:57 +00:00
The `` .deb `` packages, of course, rely solely upon other `` .deb `` packages.
For reference, here is a list of the debian package names that provide Tahoe's
2019-06-11 22:23:31 +00:00
dependencies as of the 1.14.0 release:
2011-08-01 03:18:57 +00:00
* python
* python-zfec
* python-foolscap
* python-openssl (needed by foolscap)
* python-twisted
* python-nevow
* python-mock
2019-06-11 22:23:31 +00:00
* python-cryptography
2011-08-01 03:18:57 +00:00
* python-simplejson
* python-setuptools
* python-support (for Debian-specific install-time tools)
When building your own Debian packages, a convenient way to get all these
dependencies installed is to first install the official "tahoe-lafs" package,
then uninstall it, leaving the dependencies behind. You may also find it
useful to run "`` apt-get build-dep tahoe-lafs `` " to make sure all the usual
build-essential tools are installed.