Installation of Sage

Download PPA for Ubuntu:

There is also a PPA for Ubuntu available. Install Sage this way:
sudo apt-add-repository -y ppa:aims/sagemath
sudo apt-get update
sudo apt-get install sagemath-upstream-binary

Or

Download Binaries for Sage

1) Goto http://www.sagemath.org/download-linux.html   and download Sage according to your System Specifications.

2) Place it anywhere on your system. and extract it using

tar --lzma -xvf sage-*...tar.lzma

3) Move to the directory sage-x.y.z-x86_64-Linux and run ./sage .

You can also copy the file sage from that directory and put it anywhere, e.g., /usr/local/bin/, but then you have to edit the #SAGE_ROOT=/path/to/sage-version line at the top of the copied file /usr/local/bin/sage (you should not edit the original sage executable). The variable SAGE_ROOT should point to the directory sage-x.y.z-x86_64-Linux of the extracted Sage tarball. As long as /usr/local/bin is in your $PATH, you can then type sage from the command line to run Sage.

Highly Recommended: It is highly recommended that you have LaTeX installed. If you want to view animations, you should install either ImageMagick or ffmpeg. ImageMagick or dvipng is also used for displaying some LaTeX output in the Sage notebook

$sudo apt-get install imagemagick
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s