mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-07 20:00:20 +00:00
re-re-factored the download and install instructions
Now the instructions about how to download debian packages live on a separate page of the wiki instead of on the front page or in the README. The README is only about building from source. The front page contains pointers to those two other pages (the debiandownloadpage and the README).
This commit is contained in:
parent
6c295337b7
commit
d41e944beb
64
README
64
README
@ -8,6 +8,11 @@ majority of the nodes are no longer available.
|
|||||||
The interface to the storage grid allows you to store and fetch files, either
|
The interface to the storage grid allows you to store and fetch files, either
|
||||||
by self-authenticating cryptographic identifier or by filename and path.
|
by self-authenticating cryptographic identifier or by filename and path.
|
||||||
|
|
||||||
|
See the web site for all kinds of information, news, and community
|
||||||
|
contributions, including prebuilt packages for Debian-like systems:
|
||||||
|
|
||||||
|
http://allmydata.org
|
||||||
|
|
||||||
|
|
||||||
LICENCE:
|
LICENCE:
|
||||||
|
|
||||||
@ -17,44 +22,25 @@ LICENCE:
|
|||||||
this obligation for up to 12 months. See the COPYING file for details.
|
this obligation for up to 12 months. See the COPYING file for details.
|
||||||
|
|
||||||
|
|
||||||
GETTING PRECOMPILED PACKAGES FOR DEBIAN-LIKE SYSTEMS:
|
GETTING THE SOURCE CODE:
|
||||||
|
|
||||||
At this time, precompiled packages are available only for Debian-like
|
The code is available via darcs by running the following command:
|
||||||
systems.
|
|
||||||
|
|
||||||
To install debian packages for etch, dapper, edgy, or feisty, add the
|
darcs get http://allmydata.org/source/tahoe/trunk tahoe
|
||||||
following lines to your /etc/apt/sources.list, replacing the word DIST with
|
|
||||||
etch, dapper, edgy, or feisty as appropriate:
|
|
||||||
|
|
||||||
deb http://allmydata.org/debian/ DIST main tahoe
|
Tarballs of sources are available at:
|
||||||
deb-src http://allmydata.org/debian/ DIST main tahoe
|
|
||||||
|
|
||||||
Then update and install the allmydata-tahoe package. These packages are
|
http://allmydata.org/source/tahoe/
|
||||||
generated each time the code is changed, and represent the most up-to-date
|
|
||||||
(read "unstable") version available. The usual warnings about no guarantees
|
|
||||||
apply: it might cause your computer to catch fire, might steal your dog,
|
|
||||||
etc.
|
|
||||||
|
|
||||||
|
|
||||||
BUILDING FROM SOURCE:
|
DEPENDENCIES:
|
||||||
|
|
||||||
* getting the source code:
|
Note: All of the following dependencies can probably be installed through
|
||||||
|
your standard package management tool if you are running on a modern Unix
|
||||||
|
operating system.
|
||||||
|
|
||||||
The code is available via darcs by running the following command:
|
For example, on an debian-like system, you can do "sudo apt-get install
|
||||||
|
gcc make python-dev python-twisted python-nevow python-pyopenssl".
|
||||||
darcs get http://allmydata.org/source/tahoe/trunk tahoe
|
|
||||||
|
|
||||||
See http://allmydata.org for all kinds of information, news, and community
|
|
||||||
contributions.
|
|
||||||
|
|
||||||
* dependencies:
|
|
||||||
|
|
||||||
Note: All of the following dependencies can probably be installed through
|
|
||||||
your standard package management tool if you are running on a modern Unix
|
|
||||||
operating system.
|
|
||||||
|
|
||||||
For example, on an debian-like system, you can do "sudo apt-get install
|
|
||||||
gcc make python-dev python-twisted python-nevow python-pyopenssl".
|
|
||||||
|
|
||||||
+ a C compiler (language)
|
+ a C compiler (language)
|
||||||
|
|
||||||
@ -124,8 +110,13 @@ BUILDING:
|
|||||||
|
|
||||||
INSTALLING:
|
INSTALLING:
|
||||||
|
|
||||||
|
There are three ways to do it. Choose one:
|
||||||
|
|
||||||
The Debian Way:
|
The Debian Way:
|
||||||
|
|
||||||
|
The Debian Way is to build .deb files which you can then install with
|
||||||
|
"dpkg".
|
||||||
|
|
||||||
This requires the debian packages build-essential, fakeroot, devscripts,
|
This requires the debian packages build-essential, fakeroot, devscripts,
|
||||||
and the packages listed as "Build-Depends" in the DIST/debian/control in
|
and the packages listed as "Build-Depends" in the DIST/debian/control in
|
||||||
the top-level tahoe directory, replacing the word DIST with etch, dapper,
|
the top-level tahoe directory, replacing the word DIST with etch, dapper,
|
||||||
@ -139,9 +130,11 @@ INSTALLING:
|
|||||||
|
|
||||||
The Python Way:
|
The Python Way:
|
||||||
|
|
||||||
You'll need to run four separate install steps, one for each of the four
|
The Python Way is to execute "setup.py install" for each Python package.
|
||||||
subpackages (allmydata, allmydata.Crypto, foolscap, and zfec). If you use
|
|
||||||
GNU stow, add the options "--prefix=." and
|
You'll need to run "setup.py install" four separate times, one for each of
|
||||||
|
the four subpackages (allmydata, allmydata.Crypto, foolscap, and zfec). If
|
||||||
|
you use GNU stow, add the options "--prefix=." and
|
||||||
"--root=/usr/local/stow/${PACKAGE}" to the "setup.py install" command.
|
"--root=/usr/local/stow/${PACKAGE}" to the "setup.py install" command.
|
||||||
|
|
||||||
for PACKAGE in zfec Crypto foolscap ; do
|
for PACKAGE in zfec Crypto foolscap ; do
|
||||||
@ -154,6 +147,8 @@ INSTALLING:
|
|||||||
|
|
||||||
The Running-In-Place Way:
|
The Running-In-Place Way:
|
||||||
|
|
||||||
|
The Running-In-Place Way is to add a directory to your PYTHONPATH.
|
||||||
|
|
||||||
To run from a source tree (without installing first), type 'make', which
|
To run from a source tree (without installing first), type 'make', which
|
||||||
will put all the necessary libraries into a local directory named
|
will put all the necessary libraries into a local directory named
|
||||||
"./instdir/lib", which you can then add to your PYTHONPATH . (It will put
|
"./instdir/lib", which you can then add to your PYTHONPATH . (It will put
|
||||||
@ -163,7 +158,8 @@ INSTALLING:
|
|||||||
TESTING THAT IT IS PROPERLY INSTALLED
|
TESTING THAT IT IS PROPERLY INSTALLED
|
||||||
|
|
||||||
To test that all the modules got installed properly, start a python
|
To test that all the modules got installed properly, start a python
|
||||||
interpreter and import modules as follows:
|
interpreter and import modules as follows. If each one imports successfully
|
||||||
|
instead of raising ImportError then it is correctly installed.
|
||||||
|
|
||||||
% python
|
% python
|
||||||
Python 2.4.4 (#2, Jan 13 2007, 17:50:26)
|
Python 2.4.4 (#2, Jan 13 2007, 17:50:26)
|
||||||
|
1
setup.py
1
setup.py
@ -30,6 +30,7 @@ trove_classifiers=[
|
|||||||
"Environment :: Console",
|
"Environment :: Console",
|
||||||
"Environment :: Web Environment",
|
"Environment :: Web Environment",
|
||||||
"License :: OSI Approved :: GNU General Public License (GPL)",
|
"License :: OSI Approved :: GNU General Public License (GPL)",
|
||||||
|
"License :: DFSG approved",
|
||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
"Intended Audience :: End Users/Desktop",
|
"Intended Audience :: End Users/Desktop",
|
||||||
"Intended Audience :: System Administrators",
|
"Intended Audience :: System Administrators",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user