Ask Your Question
0

Install ipython notebook on sage 6.2

asked 2015-08-10 10:23:28 +0100

Dirk Danckaert gravatar image

I would like to use the ipython notebook on an older version of sage. Since I want to make my own live USB with Sage and some other programs it makes a big difference using the 3Gb 6.2-version or the 4.5 Gb 6.7-version. I tried to follow the instructions in http://pub.ist.ac.at/~jguzman/doc/pro..., but these are not working anymore. The command

sage -i zeromq

returns an invalid syntax message. Is what I'm trying to do still possible? Or do I HAVE to use the more recent sage incarnations?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2015-08-10 13:16:37 +0100

tmonteil gravatar image

updated 2015-08-11 17:14:32 +0100

zeromq and pyzmq were moved to the new git layout at Sage 6.3 release, see trac ticket 16455.

So, if you want to install them for 6.2, you have to put a direct URL for the spkg that belong to the archive, e.g.

sage -i http://old.files.sagemath.org/spkg/archive/zeromq-3.2.0.p0.spkg
sage -i http://old.files.sagemath.org/spkg/archive/pyzmq-2.1.11.p1.spkg

Another possibility is to move to 6.3 and try with the usual command. Since there have been a lot of changes in the management of mirrors, please tell us if the options you tried are still working.

By the way, i am developping and maintaining Sage Debian Live:

http://sagedebianlive.metelu.net/

It is a huge key (3.1GB), i do this on purpose since i want the key to allow a pleasant GNU/Linux experience in places without internet connection.

I once made a live CD with Sage (with the same build system), that is a live system that fits into 700MB ! The trick is to do make micro_releaseto strip binaries and to use less modules (e.g.do not ship softwares such as LibreOffice). I do not maintain such live system because i do not see the benefit, but it is doable if needed. Emil Widmann had plans to maintain such a minimal live system (based on Sage Debian Live) but i guess he is unfortunately not working on this anymore, see https://github.com/emilwidmann/Debian...

If you want to have a small live system with Sage, or if some feature are missing in Sage Debian Live, please do not hesitate to tell about this, so that we could work together on making this happen. The way that key is built is very modular and configurable (see the config/ and modules/ directories in the source code), so it it very easy to adapt to most desires.

Do not hesitate to contact me and join the mailing-list if you are interested.

edit flag offensive delete link more
0

answered 2015-08-10 17:51:40 +0100

Dirk Danckaert gravatar image

Thank you so much. Worked like a charm. In case someone else is looking for this information: I had to install the build-essential package in order for gcc to be able to locate stdio.h, and the zeromq package had to be installed BEFORE the pyzmq package, which makes sense of course. Also, I had Tornado installed already before. That did the trick, no problems whatsoever.

I tried to find the information you gave me on sagemath.org, but got lost on the page http://www.sagemath.org/download-pack... . When I look at it now I see the sought-after link immediately of course. Also, I was confused by the links in the section Additional Packages on that page. These links bring you straight back to the same page. Shouldn't this section be removed?

When I have finished this job, I'll surely take a look at the Sage Debian Live system, and maybe provide some feedback. I would love to contribute something, but I'm afraid I'm not nearly knowledgeable enough to be useful. I just make use of AntiX, a less well known Debian Linux System, that takes care of all the subtleties involved in converting a running Linux system, with essentially any applications you care for, into a live USB key. My first try, last year, had Sage 6.2 without iPython, and a full Linux installation, with applications, also on approx. 3Gb.

edit flag offensive delete link more

Comments

I modified the order of the packages in my answer, thanks.

tmonteil gravatar imagetmonteil ( 2015-08-11 17:14:53 +0100 )edit

The design of SDL is completely different than the one of AntiX.

If i understand correctly, in AntiX you make your system as if you administrate your computer, and then you "freeze" it into a live USB when you like it.

In SDL, you select some configuration (e.g. list of packages, add some files to the system), and then the live USB is boostraped from this data. This has the disadvantage that you do not see what you get until the live USB is compiled,but it has the advantage not to require human interaction when you want to build a new version.

If you feel some packages are missing in SDL, or if there are some features you would like to see, please do not hesitate to report if you do not feel at ease enough to modify it yourself, i can give you some hints or try ...(more)

tmonteil gravatar imagetmonteil ( 2015-08-11 18:25:32 +0100 )edit

That's exactly how AntiX works. You're right that making a new version takes some time, probably more than the SDL version, but almost anyone can do it. In case you're curious: a 7.5Gb installation of AntiX on a virtual machine was squashed in a 2.0Gb iso file, that I could transfer to a live USB. That leaves ample space for persistence and a second, windows readable partition. It worked on first try, apart from some tweaking of keyboard settings that I need to look into. Thanks again and I'll sure try SDL.

Dirk Danckaert gravatar imageDirk Danckaert ( 2015-08-11 23:14:34 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-08-10 10:23:28 +0100

Seen: 563 times

Last updated: Aug 11 '15