Changeset ca660a5 in trunk


Ignore:
Timestamp:
2010-03-05T01:30:04Z (15 years ago)
Author:
jacob <jacob@…>
Branches:
master
Children:
d346e085
Parents:
babbdf9
Message:

Debian documentation update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified docs/debian.txt

    rbabbdf9 rca660a5  
    1111
    1212One convenient way to install Tahoe-LAFS is with debian packages.
     13This document attempts to explain how to complete a desert island build for
     14people in a hurry. It also attempts to explain more about our Debian packaging
     15for those willing to read beyond the simple pragmatic packaging exercises.
    1316
    1417== TL;DR supporting package building instructions ==
    1518
    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
     19There are only four supporting packages that are currently not available from
     20the debian apt repositories in Debian Lenny:
     21
     22    python-foolscap python-zfec argparse zbase32
    1823
    1924First, we'll install some common packages for development:
    2025
    21     apt-get install -y build-essential debhelper cdbs python-central \
     26    sudo apt-get install -y build-essential debhelper cdbs python-central \
    2227                    python-setuptools python python-dev python-twisted-core \
    2328                    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
    2532
    2633
    2734To create packages for Lenny, we'll also install stdeb:   
    2835
    29     apt-get install python-all-dev
    30     STDEB_VERSION="0.3.2"
    31     http://pypi.python.org/packages/source/s/stdeb/stdeb-$STDEB_VERSION.tar.gz
     36    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
    3239    tar xzf stdeb-$STDEB_VERSION.tar.gz
    3340    cd stdeb-$STDEB_VERSION
     
    5663We also need to install argparse and zbase32:
    5764
    58     easy_install argparse
    59     easy_install zbase32
     65    sudo easy_install argparse # argparse won't install with stdeb (!) :-(
     66    sudo easy_install zbase32 # XXX TODO: package with stdeb
    6067
    6168Finally, we'll fetch, unpack, build and install foolscap:
     
    8895
    8996You should now have a functional desert island build of Tahoe with all of the
    90 supported libraries as .deb packages.
     97supported 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
     99stored in /var/lib/tahoelafsd/ and Tahoe runs as the 'tahoelafsd' user.
    91100
    92101== Building Debian Packages ==
Note: See TracChangeset for help on using the changeset viewer.