Changeset ca660a5 in trunk
- Timestamp:
- 2010-03-05T01:30:04Z (15 years ago)
- Branches:
- master
- Children:
- d346e085
- Parents:
- babbdf9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified docs/debian.txt ¶
rbabbdf9 rca660a5 11 11 12 12 One convenient way to install Tahoe-LAFS is with debian packages. 13 This document attempts to explain how to complete a desert island build for 14 people in a hurry. It also attempts to explain more about our Debian packaging 15 for those willing to read beyond the simple pragmatic packaging exercises. 13 16 14 17 == TL;DR supporting package building instructions == 15 18 16 There are only two supporting packages that are currently not available from 17 the debian apt repositories in Debian Lenny: python-foolscap python-zfec 19 There are only four supporting packages that are currently not available from 20 the debian apt repositories in Debian Lenny: 21 22 python-foolscap python-zfec argparse zbase32 18 23 19 24 First, we'll install some common packages for development: 20 25 21 apt-get install -y build-essential debhelper cdbs python-central \26 sudo apt-get install -y build-essential debhelper cdbs python-central \ 22 27 python-setuptools python python-dev python-twisted-core \ 23 28 fakeroot darcs python-twisted python-nevow \ 24 python-simplejson python-pycryptopp devscripts 29 python-simplejson python-pycryptopp devscripts \ 30 apt-file 31 sudo apt-file update 25 32 26 33 27 34 To create packages for Lenny, we'll also install stdeb: 28 35 29 apt-get install python-all-dev30 STDEB_VERSION="0. 3.2"31 http://pypi.python.org/packages/source/s/stdeb/stdeb-$STDEB_VERSION.tar.gz36 sudo apt-get install python-all-dev 37 STDEB_VERSION="0.5.1" 38 wget http://pypi.python.org/packages/source/s/stdeb/stdeb-$STDEB_VERSION.tar.gz 32 39 tar xzf stdeb-$STDEB_VERSION.tar.gz 33 40 cd stdeb-$STDEB_VERSION … … 56 63 We also need to install argparse and zbase32: 57 64 58 easy_install argparse59 easy_install zbase3265 sudo easy_install argparse # argparse won't install with stdeb (!) :-( 66 sudo easy_install zbase32 # XXX TODO: package with stdeb 60 67 61 68 Finally, we'll fetch, unpack, build and install foolscap: … … 88 95 89 96 You should now have a functional desert island build of Tahoe with all of the 90 supported libraries as .deb packages. 97 supported libraries as .deb packages. You'll need to edit the Debian specific 98 /etc/defaults/allmydata-tahoe file to get Tahoe started. Data is by default 99 stored in /var/lib/tahoelafsd/ and Tahoe runs as the 'tahoelafsd' user. 91 100 92 101 == Building Debian Packages ==
Note: See TracChangeset
for help on using the changeset viewer.