Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

There's a free mathematics software that I would like to see in Ubuntu Software Centre, called, 'Sage.' I have minimal experience in programming, so I'm basically here asking if someone could either tell me how to accomplish this without said instructions being completely over my head or if someone could do it for me. For further information here's the sage homepage: http://sagemath.org/ and the .tar.lzma file for its installation is ~500MB and it takes around 2.2 GB on the HDD when installed, I found at least on 32 bit i386 Ubuntu 12.04 LTS.

Any help will be greatly appreciated!

share|improve this question
add comment

3 Answers

up vote 2 down vote accepted

It looks like someone has already packaged it, and is offering it a personal package archive: https://launchpad.net/~aims/+archive/sagemath

To install it, open Terminal and give the following commands:

sudo apt-add-repository ppa:aims/sagemath

sudo apt-get update

sudo apt-get install sagemath-upstream-binary

See also: https://groups.google.com/forum/?fromgroups=#!topic/sage-devel/CndzZDSLsXM

share|improve this answer
add comment

Rather than trying to do it yourself, you can follow the process outlined on the "New Packages" wiki page:

https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages

Note that there may be licensing or other non-technical reasons that a particular program isn't already packaged and included in the repositories.

share|improve this answer
    
further, there's a whole wiki page about sage: help.ubuntu.com/community/SAGE –  ImaginaryRobots Sep 27 '12 at 17:25
    
Thanks mate! (I'm Aussy, just to make this sound less weird) –  Brenton Horne Sep 27 '12 at 18:11
add comment

I found out how to install the latest release of sage, it's quite simple. Open terminal (ctrl+T) and paste the following:

For i686 Ubuntu 12.04.1 LTS:

wget http://boxen.math.washington.edu/home/sagemath/sage-mirror/linux/32bit/sage-?-linux-32bit-ubuntu_12.04.1_lts-i686-Linux.tar.lzma

Where ? is the latest stable release number which as of the present is 5.3.

For x86-64 bit Ubuntu 12.04.1 LTS:

wget http://boxen.math.washington.edu/home/sagemath/sage-mirror/linux/64bit/sage-?-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux.tar.lzma

After the download is complete the following commands are universal:

tar --lzma -xvf Sage-Tarball-Name.tar.lzma
sudo rm Sage-Tarball-Name.tar.lzma
cd /home/username/Sage-Tarball-Name
ln -s /home/username/Sage-Tarball-Name/sage /usr/local/bin/sage

That's it! Sage's installation is to all the world complete. To open just open a terminal and type, 'sage' and it should open the command-line interface.

If you want a launcher for your desktop copy these commands into terminal:

ln -s /home/username/Sage-Tarball-Name/sage /home/username/Desktop/Launcher-Name
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.