README.BUILDOPTS 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Sage uses specific versions of a number of software components (i.e.
  2. R, gap, gp, ipython, maxima, mwrank, hg, python, singular, etc.). Each
  3. of thes components will be compiled during the build process and
  4. installed to a local tree (/opt/sage). The sage directory will be
  5. placed in /opt, however it should be portable enough to be moved to any
  6. location.
  7. SlackBuild Options:
  8. SAGEROOT=/install/path [Default:/opt/sage]
  9. By default, sage will be installed to /opt/sage. However, the sage
  10. folder is portable and can be installed to any location of your
  11. choosing. The final destination for SAGE_ROOT can be specified
  12. by passing a value for SAGEROOT to the slackbuild. The final install
  13. will be >2GB, so you may need to point SAGEROOT to a different
  14. partition if your /opt partition is not large enough. The sage tree
  15. can also be moved after installation, however you will need to update
  16. the sage.* scripts in /etc/profile.d to point to the new SAGE_ROOT.
  17. Example: to install sage to your home directory do the following
  18. SAGEROOT=/home/user/opt/sage ./sage.SlackBuild
  19. TEST={yes|no} [Default:no]
  20. All examples in the documentation (over 93,000 lines of input) can be
  21. tested after Sage has been built with the following (Note: it is not
  22. uncommon for this to produce 2 or 3 errors)
  23. TEST=yes ./sage.SlackBuild
  24. INSTALLSCRIPTS={yes|no} [Default:no]
  25. Sage's local versions of R, gap, gp, ipython, maxima, mwrank, hg, and
  26. singular can be used independently of Sage by placing scripts for each
  27. in the PATH. This can be enabled with the following (Note: the scripts
  28. will be installed to the location SAGEROOT/bin)
  29. INSTALLSCRIPTS=yes ./sage.SlackBuild
  30. PDFDOC={yes|no} [Default:no]
  31. By default, only the html version of the documentation will be built.
  32. The pdf version can be built with the following (Note: this requires
  33. LaTeX to be installed):
  34. PDFDOC=yes ./sage.Slackbuild
  35. OPTIONALSPKG={package1|"package1 package2 ..."|no} [Default:no]
  36. There are a number of optional .spkg files (packages) that can be
  37. be installed after sage has been built. These packages are downloaded
  38. from a sage server before they are installed, therefore you will need a
  39. network connection for this to work. A list of the available optional
  40. packages and a description of each can be found at
  41. http://www.sagemath.org/packages/optional
  42. These packages can be installed with the following (Note: it is not
  43. necessary to give the full version number of the package you are
  44. installing, simply giving the base name is sufficient):
  45. OPTIONALSPKG="package1 package2 package3 ..." ./sage.SlackBuild
  46. The upstream developers "highly recommend" the database_gap package,
  47. which would be installed with
  48. OPTIONALSPKG="database_gap" ./sage.SlackBuild
  49. To install multiple packages, i.e. the database_gap package and the
  50. sage-mode package do the following:
  51. OPTIONALSPKG="database_gap sage-mode" ./sage.SlackBuild