download.mdwn 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. Here's how to get Rel4tion software in its various forms: directly from the
  2. source repository, as distributed tarballs or as distro packages.
  3. When Rel4tion was born, most of the components were written in C++. Later,
  4. there was a move to Haskell. The C++ projects are inactive, but perhaps they
  5. can still be useful to someone and be developer further.
  6. # Source Repository
  7. Rel4tion uses mainly the Darcs version control system, but there are also a few
  8. Git repositories. See [[/servers]] page for links. Each project has its own
  9. build instructions, but they're mostly very similar. The inactive C++ projects
  10. are stored in Git repositories, and the Haskell projects are stored in Darcs
  11. repositories.
  12. For example:
  13. For the (now inactive) C++ projects stored in Git repositories:
  14. $ git clone git://git.rel4tion.org/sif.git
  15. $ cd sif
  16. $ ./autogen.sh
  17. $ make
  18. $ su
  19. # make install
  20. For the Haskell projects stored in Darcs repositories:
  21. $ darcs get http://darcs.rel4tion.org/repos/smaoin
  22. $ cd smaoin
  23. $ cabal configure
  24. $ cabal install --dependencies-only
  25. $ cabal build
  26. $ cabal install
  27. # Tarballs
  28. Releases are made in the form of tarballs. These are compressed archives which
  29. contain the sources and some build files like the configure script. You'll find
  30. full instructions inside the tarballs and explanation about verification on
  31. this wiki and in the FTP server's README file. Tarballs can also be downloaded
  32. using [[/torrents]].
  33. The Haskell tarballs are currently just being distributed to Hackage, and can
  34. be downloaded from there using cabal-install.
  35. Here's a basic example that uses FTP to download a C++ project:
  36. $ wget ftp://files.rel4tion.org/sources/sif/0.1/sif-0.1.0.tar.lz
  37. $ wget ftp://files.rel4tion.org/sources/sif/0.1/sif-0.1.0.tar.lz.sig
  38. $ gpg --recv-keys 63E5E57D
  39. $ gpg --verify sif-0.1.0.tar.lz.sig
  40. $ tar xvf sif-0.1.0.tar.lz
  41. $ cd sif-0.1.0
  42. $ ./configure
  43. $ make
  44. $ su
  45. # make install
  46. For a Haskell project, just use cabal-install:
  47. $ cabal install smaoin
  48. # Distribution Packages
  49. None at the moment, but it's possible to create packages at least for some of
  50. the C++ projects using a tool like `checkinstall`. When anything gets into the
  51. distros, this page will be updated to mention it.
  52. The primary targets for packaging the Haskell projects are going to be GuixSD
  53. and Trisquel.