borg/docs/installation.rst

41 lines
916 B
ReStructuredText
Raw Normal View History

2013-06-30 19:30:17 +00:00
.. include:: global.rst.inc
.. _installation:
Installation
=============
2013-07-03 20:38:07 +00:00
|project_name| requires Python_ 3.2 or above to work. Even though Python 3 is
not the default Python version on most Linux distributions it is usually
2013-06-30 19:30:17 +00:00
available as an optional install.
Other dependencies:
* `msgpack-python`_ >= 0.1.10
* OpenSSL_ >= 1.0.0
2013-07-30 11:54:04 +00:00
The OpenSSL version bundled with Mac OS X and FreeBSD is most likey too old.
Newer versions are available from homebrew_ on OS X and from FreeBSD ports.
2013-06-30 19:30:17 +00:00
Installing from PyPI using pip
------------------------------
::
2013-07-08 21:38:27 +00:00
$ pip install Attic
2013-06-30 19:30:17 +00:00
Installing from source tarballs
-------------------------------
2013-07-08 19:19:50 +00:00
.. parsed-literal::
2013-06-30 19:30:17 +00:00
2013-07-08 19:19:50 +00:00
$ curl -O |package_url|
2013-07-08 21:38:27 +00:00
$ tar -xvzf |package_filename|
2013-07-08 19:19:50 +00:00
$ cd |package_dirname|
2013-06-30 19:30:17 +00:00
$ python setup.py install
Installing from git
-------------------
2013-07-08 21:38:27 +00:00
.. parsed-literal::
2013-06-30 19:30:17 +00:00
2013-07-08 21:38:27 +00:00
$ git clone |git_url|
$ cd attic
2013-06-30 19:30:17 +00:00
$ python setup.py install