installation.rst 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. .. include:: global.rst.inc
  2. .. _installation:
  3. Installation
  4. ============
  5. |project_name| requires Python_ 3.2 or above to work. Even though Python 3 is
  6. not the default Python version on most Linux distributions, it is usually
  7. available as an optional install.
  8. Other dependencies:
  9. * `msgpack-python`_ >= 0.1.10
  10. * OpenSSL_ >= 1.0.0
  11. * libacl_
  12. The OpenSSL version bundled with Mac OS X and FreeBSD is most likey too old.
  13. Newer versions are available from homebrew_ on OS X and from FreeBSD ports.
  14. The llfuse_ python package is also required if you wish to mount an
  15. archive as a FUSE filesystem.
  16. Common compilation pre-requisites
  17. ---------------------------------
  18. The following Debian packages are generally necessary to compile
  19. |project_name|, either through pip, the tarball or git::
  20. $ sudo apt-get install python3 python3-dev python3-msgpack python3-sphinx libssl-dev libacl1-dev
  21. Installing from PyPI using pip
  22. ------------------------------
  23. To install |project_name| system-wide::
  24. $ sudo pip3 install Attic
  25. To install it in a user-specific account::
  26. $ pip3 install --user Attic
  27. Then add ``$HOME/.library/bin`` to your ``$PATH``.
  28. Installing from source tarballs
  29. -------------------------------
  30. .. parsed-literal::
  31. $ curl -O :targz_url:`Attic`
  32. $ tar -xvzf |package_filename|
  33. $ cd |package_dirname|
  34. $ sudo python3 setup.py install
  35. Installing from git
  36. -------------------
  37. .. parsed-literal::
  38. $ git clone |git_url|
  39. $ cd attic
  40. $ sudo python3 setup.py install
  41. Please note that when installing from git, Cython_ is required to generate some files that
  42. are normally bundled with the release tarball.
  43. Packages
  44. --------
  45. |project_name| is also part of the Debian_, Ubuntu_, `Arch Linux`_ and Slackware_
  46. distributions of GNU/Linux.
  47. Standalone binaries
  48. -------------------
  49. Prebuilt standalone binaries that work on
  50. most Linux systems can be found :artifacts:`here <>`.