{"id":17360691,"url":"https://github.com/certik/sage_scripts","last_synced_at":"2026-01-06T22:47:43.627Z","repository":{"id":546459,"uuid":"176524","full_name":"certik/sage_scripts","owner":"certik","description":"modified sage_scripts for SPD","archived":false,"fork":false,"pushed_at":"2009-04-15T12:10:56.000Z","size":364,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-01T20:13:25.860Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/certik.png","metadata":{"files":{"readme":"README.txt","changelog":"HISTORY.txt","contributing":null,"funding":null,"license":"COPYING.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-04-15T10:27:11.000Z","updated_at":"2019-08-13T14:18:07.000Z","dependencies_parsed_at":"2022-07-07T23:21:14.157Z","dependency_job_id":null,"html_url":"https://github.com/certik/sage_scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/certik%2Fsage_scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/certik%2Fsage_scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/certik%2Fsage_scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/certik%2Fsage_scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/certik","download_url":"https://codeload.github.com/certik/sage_scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245881524,"owners_count":20687738,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T19:27:31.993Z","updated_at":"2026-01-06T22:47:43.600Z","avatar_url":"https://github.com/certik.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Hello,\n\nThis README.txt describes build instruction for Sage. If you downloaded\na binary, you do not need to do anything, just execute\n\n ./sage \n\nfrom the command line and you are good to go. If you download the sources,\nplease read below on how to build Sage and work around common issues. \n\n----------------------------------------------------------------\n\nVERY QUICK INSTRUCTIONS TO BUILD FROM SOURCE:\n   1. Make sure you have the dependencies.\n\n     LINUX (install these using your package manager):\n          gcc, g++, make, m4, perl, ranlib, and tar.\n\n     OSX: XCode.  WARNING: If \"gcc -v\" outputs 4.0.0, you \n          *must* upgrade XCode (free from Apple), since that\n          version of GCC is very broken. \n\n     NOTE: On some operating systems it might be necessary\n     to install gas/as, gld/ld, gnm/nm, but on most these\n     are automatically installed when you install the \n     programs listed above.  Only OS X \u003e= 10.4.x and certain\n     Linux distributions are officially supported.  See below\n     for a complete list. \n \n   2. Extract the tarball:\n          tar xvf sage-*.tar\n\n   3. cd into the sage directory and type make:\n          cd sage-*\n          make\n \n     That's it!  Everything is automatic and non-interactive.\n\nNOTE:  On Linux if you get this error message: \n  \" restore segment prot after reloc: Permission denied \"\nthe problem is probably related to SE Linux:\n     http://www.ittvis.com/services/techtip.asp?ttid=3092\n\n----------------------------------------------------------------\n\n    Sage: Open Source Mathematical Software\n    Copyright (C) 2006, 2007, 2008 William Stein\n    Distributed under the terms of the GNU General Public License (GPL) \n                  http://www.sagemath.org\n    If you have questions, do not hesitate to email wstein@gmail.com\n    or (even better!) sage-support@googlegroups.com:\n         http://groups.google.com/group/sage-support\n\nAUTHORS: There are over 125 people who have contributed code \nto Sage.  Please see one of the websites above for a list.  In many \ncases documentation for modules and functions list the authors.\n\nOFFICIALLY SUPPORTED PLATFORMS:\n    Building of Sage from source is regularly tested on  \n    (minimal installs of) the following platforms:\n\n       PROCESSOR       OPERATING SYSTEM\n       x86             32-bit Linux -- Debian, Ubuntu, RHEL5, Fedora Core, CentOS, Suse, Mandriva\n       x86_64          64-bit Linux -- Debian, Redhat, Suse\n       ia64 itanium2   64-bit Linux -- Redhat, Suse\n       x86             Apple Mac OS X 10.5.x \n       ppc             Apple Mac OS X 10.5.x\n\n    Use Sage on Microsoft Windows via VMware.\n    We do not always test on OS X 10.4, but Sage should work there fine.\n\nNOTE: If you're using Fortran on a platform without g95 binaries included\n      with Sage, e.g., Itanium, you must use a system-wide gfortran.  You \n      have to explicitly tell the build process about the fortran\n      compiler and library location.  Do this by typing\n\n          export SAGE_FORTRAN=/exact/path/to/gfortran\n          export SAGE_FORTRAN_LIB=/path/to/fortran/libs/libgfortran.so\n\nUNSUPPORTED, BUT HIGH PRIORITY TO SUPPORT SOON:\n       sparc           Solaris 9, Solaris 10\n       x86_64          Solaris 10\n \n\nIMPLEMENTATION: \n     Sage has significant components written in the following\n     languages: C/C++, Python, Lisp, and Fortran.  Lisp and \n     Python are built as part of Sage, and Fortran (g95) is\n     included (x86 Linux and OS X only), so you do not need \n     them in order to build Sage.\n\nMORE DETAILED INSTRUCTIONS TO BUILD FROM SOURCE:\n    (See the installation guide for more details.)\n    1. Make sure you have about 700MB free disk space.\n    2. Linux: Install gcc, g++, m4, ranlib, and make.  \n              The build should work fine on SUSE, FC, Ubuntu, etc.  If\n              it doesn't, we want to know!\n       OS X:  Make sure you have XCode version \u003e= 2.4, i.e., gcc -v\n              should output build \u003e= 5363.   If you don't, go to\n              http://developer.apple.com/ sign up, and download the \n              free XCode package.  Only OS X \u003e= 10.4 is supported. \n       Windows: Download and install VMware, install linux into it, etc. \n    3. Extract the sage source tarball, cd into a directory\n       with no spaces in it.  If you have a machine with n processors, say,\n       type \n             export MAKE=\"make -j4\"\n       To start the build type\n             make\n    4. Wait about 1 to 8 hours, depending on your computer.\n       SOME ACTUAL REAL BUILD TIMES (for SAGE-2.7.1):\n          * 1.8Ghz Linux Opteron 64-bit 16-core SMP machine: 67 minutes \n          * G5: 102 minutes\n          * Core 2 Duo: 67 minutes\n          * Core Duo: 75 minutes\n          * 1.5 Ghz G4 (rev 1.2): 167 minutes\n\n    5. Type ./sage to try it out. \n    6. OPTIONAL: Start sage and run the command \n          install_scripts(\"/usr/local/bin/\")   # change /usr/local/bin/\n       Type \"install_scripts?\" in Sage for more details about\n       what this command does.\n    7. OPTIONAL: Type \"make test\" to test all examples in the \n       documentation (over 12000 lines of input!) -- this takes from \n       15 minutes to an hour.   Don't get too disturbed if there are \n       2-3 failures, but always feel free to e-mail the section of\n       test.log that contains errors to wstein@gmail.com and/or\n       sage-support@googlegroups.com:\n              http://groups.google.com/group/sage-support\n       If there are numerous failures, there was a serious problem\n       with your build.\n    8. OPTIONAL: Documentation: If you want to (try to) build the\n       documentation, change into SAGE_ROOT/devel/doc and type \"make\n       html\" or \"make pdf\".  This requires having latex and latex2html\n       installed, and there are some issues with the \\url macro.  Note\n       that the latex docs come *pre-built* with Sage, and are in\n       SAGE_ROOT/doc/.\n    9. OPTIONAL: GAP -- It is highly recommended that you install the \n       optional GAP databases by typing\n                            ./sage -optional\n       then installing (with ./sage -i) the package whose name\n       begins with database_gap.   This will download the package \n       from sage.math.washington.edu and install it.    While you're\n       at it you might install other databases of interest to you. \n   10. OPTIONAL: It is highly recommended that you have both latex\n       and the imagemagick tools (e.g., the \"convert\" command) installed\n       since some plotting functionality uses it. \n\nSUPPORTED COMPILERS:\n    * Sage builds with GCC \u003e= 3.x and GCC \u003e= 4.1.x.  \n    * Sage will not build with gcc 2.9.x.\n    * WARNING: Don't build with GCC 4.0.0, which is \"buggy as a\n      Florida swamp in August\".\n    * I don't know if Sage has ever been built with a non-GCC compiler.   \n\n   SOLARIS:\n     It is reportedly possible, but not recommended yet (see below).\n     A fully supported port is planned. \n    \nRUNNING SAGE:\n    1. Try running sage:\n          ./sage\n\n    2. Try running an example Sage script:\n          ./sage example.sage\n\nRELOCATION (OS X and Windows):\n   You *should* be able to move the sage-x.y.z directory anywhere you\n   want.  If you copy the sage script or put a symlink to it, you\n   should modify the script to reflect this (as instructed in the top\n   of the script).  It is best if the path to Sage does not have any\n   spaces in it.\n\n   If you find anything that doesn't work correctly after you moved\n   the directory, please email sage-devel.  \n\nREDISTRIBUTION:\n Your local Sage install is exactly the same as any \"developer\" \n install.   You can make changes to documentation, source,\n etc., and very easily package up the complete results for \n redistribution just like we do.\n\n   1. You can make your own source tarball (sage-x.y.z.tar) of Sage by\n      typing \"sage -sdist x.y.z\", where the version is whatever you\n      want.  The result is placed in SAGE_ROOT/dist.\n\n  2.  You can make a binary distribution with the packages you've\n      installed included by typing \"sage -bdist x.y.z\".  The \n      result is placed in the SAGE_ROOT/dist directory.\n\n\nCHANGES TO INCLUDED SOFTWARE: \n    All software included with Sage is copyright by the respective\n    authors and released under an open source license that is GPL\n    compatible.  See the file COPYING.txt for more details.\n    (Note -- jsMath is licensed under the Apache license; Apache \n    claim their license is GPL compatible, but Stallman disagrees.)\n\n    After building Sage, see the directories\n\n          SAGE_ROOT/spkg/build/package-name/\n  \n    for a file SAGE.txt that details all changes made to the given\n    package for inclusion with Sage.  The inclusion of such a file\n    detailing changes is specifically required by some of the packages\n    included with Sage (e.g., for GAP).\n    (These directories are deleted when you type \"make clean\".)\n\n----\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcertik%2Fsage_scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcertik%2Fsage_scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcertik%2Fsage_scripts/lists"}