Size: 3377
Comment:
|
Size: 3929
Comment: Mark-ups added (commands etc.); some further fixes; reformatting. TODO: Change order of first enumeration! (*First* choose src or bin, then proceed with the [appropriate] rest.)
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= Quick Download and Install Guide = | = Quick Download and Installation Guide = |
Line 5: | Line 5: |
1. Determine your operating system. (Windows, Linux, Mac OS X, Solaris, etc.) | 1. Determine your operating system. (Windows, Linux, MacOS X, Solaris, etc.) |
Line 7: | Line 7: |
1. Determine your CPU type. (32-bit, [[http://www.stata.com/support/faqs/win/64bit.html|64-bit]] or "atom" for Linux and Intel or PowerPC for MacOS) | 1. Determine your CPU type (32-bit, [[http://www.stata.com/support/faqs/win/64bit.html|64-bit]] or "atom" for Linux and [[32-64-bit-MacOS|Intel or PowerPC for MacOS]]). In case you are running a 32-bit operating system on a 64-bit CPU, choose the 32-bit version. |
Line 9: | Line 9: |
1. Do you want a source or binary distribution? Even if you want to do development, a precompiled version of Sage (binary release) can be used for that purpose. The source distribution is mostly needed if you want to see the sources of the Sage packages, also known as [[spkg|SPKGs]]. | 1. Do you want a source or binary distribution? Even if you want to do development, a precompiled version of Sage (binary release) can be used for that purpose. The source distribution is mostly needed if you want to see the sources of the Sage packages, also known as [[spkg|SPKGs]], too. Another advantage of compiling Sage from source is that the generated code may make better use of your specific CPU. |
Line 13: | Line 13: |
1. Follow the [[http://www.sagemath.org/doc/installation/binary.html|binary installation guide]] to actually install a pre-compiled version of Sage. The [[http://www.sagemath.org/doc/installation/source.html|source installation guide]] contains more detailed information on compiling Sage from source. | 1. Follow the [[http://www.sagemath.org/doc/installation/binary.html|binary installation guide]] to actually install a precompiled version of Sage. The [[http://www.sagemath.org/doc/installation/source.html|source installation guide]] contains more detailed information on compiling Sage from source. |
Line 17: | Line 17: |
[[http://www.metalinker.org/|Metalinks]] ([[http://en.wikipedia.org/wiki/Metalink|Wikipedia]], [[http://www.freesoftwaremagazine.com/articles/using_metalinks|FSM]]) are XML files that contain multiple download sources and various checksums. Use them with a download manager below, if you want to make sure that your download works properly, automatically selects a fast mirror, recovers in case of a download server failure, if you want to pause and resume a download later or check'n'repair a broken file. | [[http://www.metalinker.org/|Metalinks]] ([[http://en.wikipedia.org/wiki/Metalink|Wikipedia]], [[http://www.freesoftwaremagazine.com/articles/using_metalinks|FSM]]) are XML files that contain multiple download sources and various checksums. Use them with a download manager below, if you want to * make sure that your download works properly, * automatically select a fast mirror, * recover in case of a download server failure, or * pause and resume a download later, or * check and repair a broken file. |
Line 19: | Line 24: |
There are various Clients supporting this: | There are various clients supporting this: |
Line 22: | Line 27: |
* Linux: sudo apt-get install aria2 (command-line client) * MacOSX: [[http://www.yazsoft.com/|Speed Download]] |
* Linux: {{{sudo apt-get install aria2}}} (a command-line client) * MacOS X: [[http://www.yazsoft.com/|Speed Download]] |
Line 28: | Line 33: |
1. If no binary version is available for your system, download the source version. Note that Sage compiles on a wide variety of systems, but does not compile on every system. | 1. If no binary version is available for your system, download the source version. Note that Sage compiles on a wide variety of systems, but does not compile on ''every'' system. |
Line 30: | Line 35: |
1. If you are not sure how to unpack the compressed file or it's ending looks different: * *.tar.gz or *.tgz use: tar xzf *.tar.gz * *.tar.bzip2 or *.tar.bz2 use: tar xjf *.tar.bzip2 * *.tar.lzma use: tar --lzma -xf *.tar.lzma * If the file ending is different, the Linux command "find" gives you information about the archive type. (file filename.ext) |
1. If you are not sure how to unpack the compressed file or its ending looks different: * {{{*.tar.gz}}} or {{{*.tgz}}}: Use {{{tar xzf *.tar.gz}}} * {{{*.tar.bzip2}}} or {{{*.tar.bz2}}}: Use {{{tar xjf *.tar.bzip2}}} * {{{*.tar.lzma}}}: Use {{{tar --lzma -xf *.tar.lzma}}} * No {{{lzma}}}? Perhaps you have {{{xz}}}, that is compatible with {{{lzma}}}. There might also be {{{-J}}} in {{{tar -xJf *.tar.lzma}}} or you need to install an lzma or xz-utils package. * If the file ending is different, the Linux command {{{file}}} gives you information about the archive type. (Type {{{file filename.ext}}} at the command prompt.) |
Line 36: | Line 42: |
1. (((rhx: That should go to the troubleshooting section of the [[http://www.sagemath.org/doc/installation/|Installation Guide]] or (even better) the error message related to sage-flags.txt should change.))) You might run into the [[http://groups.google.com/group/sage-devel/browse_thread/thread/53ae33d0324d44|following issue]] with a binary release due to different features of your system and the system on which Sage was compiled. | 1. You might run into the [[http://groups.google.com/group/sage-devel/browse_thread/thread/53ae33d0324d44|following issue]] with a binary release due to different features of your system and the system on which Sage was compiled. (((rhx: That should go to the troubleshooting section of the [[http://www.sagemath.org/doc/installation/|Installation Guide]] or (even better) the error message related to {{{sage-flags.txt}}} should change.))) |
Quick Download and Installation Guide
Not sure what to download? This short guide should get you started. A longer version of this guide is also available.
- Determine your operating system. (Windows, Linux, MacOS X, Solaris, etc.)
Determine your CPU type (32-bit, 64-bit or "atom" for Linux and Intel or PowerPC for MacOS). In case you are running a 32-bit operating system on a 64-bit CPU, choose the 32-bit version.
Do you want a source or binary distribution? Even if you want to do development, a precompiled version of Sage (binary release) can be used for that purpose. The source distribution is mostly needed if you want to see the sources of the Sage packages, also known as SPKGs, too. Another advantage of compiling Sage from source is that the generated code may make better use of your specific CPU.
If available, choose the appropriate binary version from one of the download mirrors.
Follow the binary installation guide to actually install a precompiled version of Sage. The source installation guide contains more detailed information on compiling Sage from source.
Metalink
Metalinks (Wikipedia, FSM) are XML files that contain multiple download sources and various checksums. Use them with a download manager below, if you want to
- make sure that your download works properly,
- automatically select a fast mirror,
- recover in case of a download server failure, or
- pause and resume a download later, or
- check and repair a broken file.
There are various clients supporting this:
Cross-Platform: DownThemAll Firefox Extension, JDownloader (Java App)
Windows: Free Download Manager, GetRight, Orbit, ...
Linux: sudo apt-get install aria2 (a command-line client)
MacOS X: Speed Download
... and many more
Troubleshooting
If no binary version is available for your system, download the source version. Note that Sage compiles on a wide variety of systems, but does not compile on every system.
- If you are not sure how to unpack the compressed file or its ending looks different:
*.tar.gz or *.tgz: Use tar xzf *.tar.gz
*.tar.bzip2 or *.tar.bz2: Use tar xjf *.tar.bzip2
*.tar.lzma: Use tar --lzma -xf *.tar.lzma
No lzma? Perhaps you have xz, that is compatible with lzma. There might also be -J in tar -xJf *.tar.lzma or you need to install an lzma or xz-utils package.
If the file ending is different, the Linux command file gives you information about the archive type. (Type file filename.ext at the command prompt.)
You might run into the following issue with a binary release due to different features of your system and the system on which Sage was compiled.
(((rhx: That should go to the troubleshooting section of the Installation Guide or (even better) the error message related to sage-flags.txt should change.)))
Ask for help on the sage-support mailing list.