Installation Of Sagemath

1.

Download binary version of sage from any sagesite. It would be like a tar folder sage_11.04_release.tar.lzma

2. Copy the compressed folder into home.

3. Extract it.

4. Copy the sage file( a shell script named sage in extracted sage folder) and place it into /usr/local/bin

5. Uncomment SAGE_ROOT variable in sage script and give its value  as: /home/username/sage i.e the path where sage folder is present.

6. Open terminal and type , sage and you will get a sage prompt sage:

The sage installation is complete. In order to plot graphs in sagemath , you have to install imagemagick by the command:

sudo apt-get install imagemagick

You will be requiring libgfortran also. For this:

Download it from:

$wget ftp://ftp.muug.mb.ca/mirror/centos/5.8/os/x86_64/CentOS/libgfortran44-4.4.6-3.el5.1.x86_64.rpm

Extract .rpm package:
$rpm2cpio filename.rpm|cpio -idmv

And place the extracted folfer in /sage/local/lib

Thats all.

Advertisements

About Priyanka Kapoor

Simple, Hardworking & friendly.....
This entry was posted in Uncategorized. Bookmark the permalink.

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