Sage

From miki
Revision as of 21:01, 17 December 2008 by Mip (talk | contribs) (New page: == Installation == Install instruction for Ubuntu - using binary image ''[http://www.sagemath.org/download.html sage-3.2.1-Ubuntu-x86_64-opteron-x86_64-Linux.tar.gz]''. Script below will ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installation

Install instruction for Ubuntu - using binary image sage-3.2.1-Ubuntu-x86_64-opteron-x86_64-Linux.tar.gz. Script below will install sage in /usr/local/sage-3.2.1, and create a copy of sage in path /usr/local/bin.

(as root)
% cd /usr/local
% tar -xvzf .../sage-3.2.1-Ubuntu-x86_64-opteron-x86_64-Linux.tar.gz
% mv sage-3.2.1-Ubuntu-x86_64-opteron-x86_64-Linux sage-3.2.1
% chmod a+rX -R sage-3.2.1     
% cp /usr/local/sage-3.2.1/sage /usr/local/bin
% vi /usr/local/bin/sage
#  --> change SAGE_ROOT to /usr/local/sage-3.2.1

After installation, launch sage from root again because Sage needs to update some links, create files, etc...

% sage

Notebook

To have notebook available on any interface, at port 8000:

% sage
sage> notebook(address='',port=8000)

(The Sage Notebook object).