Sage Live - 511 -53

For talk and support relating specifically to Puppy derivatives
Message
Author
emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

Sage Live - 511 -53

#1 Post by emil »

Sage is a Mathematic Package which is an open source, free alternativ to Mathematica, Matlab, Maple, Magma etc ...
It includes R, Maxima and many other open source packages

Image
screenshot - click to enlarge

New version sagelive-511-53.iso - beta
:!: 590 MB -please test!

md5sum: 1d8f435531d371c4646c56c2f09e124d sagelive-511-53.iso

Stable version:
sagelive-511-47.iso
sagelive-511-47.exe (Windows exe installer)

DOWNLOAD FROM Official Sage Download mirrors (680 MB)
DOWNLOAD FROM http://www.mydrive.ch
Username:download@sagelive
Password:mathematics

DOWNLOAD FROM http://boxen.math.washington.edu/home/emil/sagelive/
This is the project web space. Has also old versions and additional software packages
wallpaper (1600x1050)

SMALL VERSION SAGELITE:
sagelite-511-46-a1.iso
sage-lite2.iso


SMALL VIRTUAL MACHINE IMAGE:
vm-sage-lite-a1.zip ... zipped Vmdk disk file
sage-lite-vm-a1.ova ... free ova format image
sage-lite2.ova ...free ova image


Project Homepage

About Sage Live
Sage is a comprehensive open source Math software package. It contains several other open source programs to combine their strengths. Sage offers a nice, integrating notebook, which runs in the webbrowser. It has many advanced options like direct Latex export and is well suited to solve mathematic problems, starting at highschool level up to top research level. Sage Live intends to be a smart platform for the distribution of Sage. It aims to be:
  • * easy and flexible to install
    * has maximum functionality on restricted space (upper limit is 700 MB)
    * offers possibility to install additional packages
    * has reasonable documentation
    * has comparably low hardware requirements
    * reasonable localisation Support
Sage Live offers a complete Sage package on a Lucid Puppy Quickset edition which has many flexible installation possibilities. It is distributed as an iso image (can be burned as "Live CD") and as an installer exe file for use in windows.

One of the nice features of sage is, that you can use it as a distribution of free software packages, you can start R, maxima, GAP, singular, IPython, Python (with numpy, scipy, sympy libraries) from terminal or even from the menu

Menu - Sage
Image

Menu - Sage Components
Image

Having said all that, I hope it is useful and it helps to broaden the potential userbase of sage and other free scientific software.

Sage Lite
Sage is such a huge package. One reason is that is comes as a complete development package. I (with some help and hints from the sage developers) stripped out lots of stuff and got a light version. Most functionality is there, also direct access to sage components like R, maxima and the python bundle (numpy, sympy, pylab ...). Only thing I found which doesn't work beside developement mode is the creation of "cython" code.

In the meantime there are 2 versions from sage lite available. Both are build with my slim package of sage 4.6. The first one is sagelite-511-46-a1.iso, which has the usual puppy functionality. The second one sage-lite-serverb1.iso has some of the puppy functions removed, but has the additional feature to run a multiuser sage server over https under restricted user permissions. This is suited for demo purposes, or for restricted classroom or workshop use to present sage.

Selected old versions
First version based on Puppy 431 and Sage 431 (coincidence)
http://boxen.math.washington.edu/home/e ... -431v1.iso
this has Latex & Lyx, Texmacs, Octave, Gnuplot built in too!

http://boxen.math.washington.edu/home/e ... -46-r3.iso
Last full version, based on shinobars Lupq 511 and sage 4.6, tested and stable.

Youtube review of sagelive-511-47
http://www.youtube.com/watch?v=8HEtwAhyJak

Changelog sagelive-511-53.iso
+ updated sage version to 5.3
+ added Gnutls (for server certificate)
+ added GNU less (replace busybox less, which misses a feature and breaks sage inline help in console mode)
+ added new personalize settings (replace Countrywizard: cut down the number of poppup-windows though)
+ updated permissions so this puplet has basic multiuser capabilities
+ included ssh Daemon, so you can log in over the net
+ included preconfigured sage server (with 20 Worker accounts - potential simultanious users over the network)
+ new theme and worked to sort the menus (JWM)
- removed Abiword and some Puppy applications (some are still there but not in the menu like gparted)


Changelog sagelive-511-47.iso
+ sage autostarts on 1. boot
+ notebook is started with require_login=False open_viewer=True
+ This fixes the nuisance of the localhost:8000 not found bug of earlier versions

Changelog sagelive-511-47-rc:
+ Compiled sage 4.7.1
+ Included sfs_load by shinobar for loading sfs packages "on the fly"
+ added more cool Wallpapers
+ small improvements in the included html docs

Changelog sagelive-511-46-r3:
+ Compiled sage from scratch (to replace the ubuntu binaries). Passes sage -testall and "make ptestlong"
(0 errors).
+ Plotting in R works out of the box in this release.
+ Updated gfortran (4.4.3)
+ GUI interface setup of savefile
+ New Menu "Sage Components" - includes GAP, Singular, Maxima, R, ECL, IPython, Python
+ included jsmathfonts for pretty notebook rendering
+ Some new wallpapers
+ Updated swapwizard (will use pagefile.sys, will mount ntfs r/w)
+ installwatch for the development package is fixed in this version (just need devx.sfs for buildutils and compilers)
+ some other small bugfixes
- Help docs may be slightly out of sync, try the online version.


EDIT 2012-10-18
Release of Sage Live 511-53 as beta version
EDIT 2011-11-16
Release of Sage Lite Server as beta version (Iso image and virtual machine ova file)
EDIT 2011-10-20
Release sagelive-511-47.iso
EDIT 2011-10-14
Release candidate sagelive-511-47-rc.iso
EDIT 2010 - 12-18
included new light version sagelithe-511-46-a1.iso
EDIT 2011-01-10
sagelive-511-46-r3 released
EDIT 2010-12-31
PATCH: download and install gfortran pet
EDIT2010-12-14:
New version, also included:
JRE (Java) for 3d plotting
Samba-TNG
scratchfiletool (to make linux diskspace on NTFS partitions)
new wallpaper tool (with preview)
swapfilewizard
and other small fixes

Old Forum thread
Last edited by emil on Sat 20 Oct 2012, 06:11, edited 27 times in total.

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

Windows Installer EXE for Sage Live

#2 Post by emil »

Following the work and instructions from noryb009 (forum thread here) I turned the iso into a selfinstalling exe file.

So this is a 1 click install from windows :D !

Download from
http://boxen.math.washington.edu/home/e ... 511-46.exe

Tested by me personally in XP and Windows 7, should also work in 9x and Vista!
(Don't work in ME)

Thank you noryb009!

Disclaimer: well, use completly at own risk!
This changes the boot procedere, you will get a menu during boot where you can choose between "Windows" and "Puppy Linux"

ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

#3 Post by ICPUG »

I went to download this at 0:00 GMT on Monday 29 November. I thought this would be a quiet time and get good download speed.

It was about 20kB/sec.

I am afraid that is unacceptable - not even dial up speed.

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

About download and feedback

#4 Post by emil »

Hello,

I am very sorry about the slow download link and any inconvenience caused. I have a temporary fix:

Download at http://www.mydrive.ch
Username: download@sagelive
Password: mathematics

There are the files:
sagelive-511-46.iso
sagelive-511-46.exe (Windows Installer)
jre_1.6.0_22.pet


it should be around 700 KB/s download link.


Experiences with windows installer:
I had some feedback and the windows installer worked on
XP, Vista, Windows 7-32 bit.

It didn't work out of the box on Windows 7 64 Bit version. No harm was done, it just hangs at the backup of the windows boot record. It is possible to finish the installation manually (either use the windows bcdedit command or there is easybcd, a little free windows program).

I didn't test on older wndws versions until now.


Java and 3d plotting


I didn't include the Java runtime environment. This is needed by the 3d plotting engine Jmol (comes originally from the chemists for viewing their molecule models). To fix that just install the pet (jre_1.6.0_22.pet) from the above download location. plot3d is actually very nice.

Examples:
http://boxen.math.washington.edu/home/e ... sphere.jpg
http://boxen.math.washington.edu/home/e ... arabel.jpg
http://boxen.math.washington.edu/home/e ... mbrero.jpg

I made the new pet from scratch, its the classical setup where the whole package goes to /usr/share/java. Originally I thought I could use the JRE from Quickpet, but this is broken. The JRE from playdayz which is posted on the forum works fine, but it copies stuff to the /mnt/home/ directory. This is handy if you have several version from Lupu as frugal installs on the same partition. But in the case of sagelive on windows, people were worried about the integrity of their NTFS, so I figured it would better if all packages go to the savefile.

I plan to have a version with included java, improved docs and some additional small improvements (no fixed timeschedule yet).

kind regards
emil

n1mnal
Posts: 17
Joined: Tue 15 Jun 2010, 18:48

mydrive.ch not accepting that userid/password combination

#5 Post by n1mnal »

... since at least 3 hours ago; tried several times.

Currently downloading the .iso from boxen, which seems to work.

[subject line should start "www.mydrive...", but Firefox 4.0beta2 on lupu-511
will only let me insert 3 chars, not 4, at start.]

ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

#6 Post by ICPUG »

When I tried mydrive just now the username , password is rejected. I tried 3 times

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

Login

#7 Post by emil »

Right, didn't work. I reset the password just now. It works for me.

n1mnal
Posts: 17
Joined: Tue 15 Jun 2010, 18:48

#8 Post by n1mnal »

Successfully downloaded the iso from mydrive, but its md5sum is not the
one given for the iso in the md5sum.txt file on boxen. (mydrive has no
md5sum file.) Redownloading the iso on mydrive gives the same md5sum
as the first time. Are the versions on boxen and mydrive intentionally
different, or is one of them bad?

(I frequently download files with known md5sums without anomalous
results.)

ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

#9 Post by ICPUG »

I've also just done a successful download from mydrive.

However, like n1mnal, the checksum for the iso does not match that from the md5.txt file.

I've never had a checksum failure for any download in the past.

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

wrong iso

#10 Post by emil »

Hmm ...
the exe file was OK, the iso was a wrong version and is not working.
I upload the right one now. I will have to take more time for publishing correctly, sorry to all...

emil

ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

#11 Post by ICPUG »

The updated iso has been downloaded and now matches the md5.

Bearing in mind that jre is installed in the pupsave file are there any recommendations on the size of pupsave to use?

Those bits that were taken out from the older version - Latex, Lyx, Texmacs, Octave, gnuplot - are there PETs or perhaps sfs files to introduce them if desired?

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

#12 Post by emil »

Hi ICPUG,

I think JRE will occupy around 100 MB in the pupsave.
I usually use 1 GB Pupsave if I have a frugal install I intend to work with (do compiling and stuff). If it is just for testing I think 512 MB will be more then enough. If you have less the 1 GB Ram it is also a good idea to have a swap (partition or file)

About additional software:
I uploaded parts of my other stuff to
http://boxen.math.washington.edu/home/e ... are/Puppy4
and Latex related stuff to
http://boxen.math.washington.edu/home/emil/Latex
EDIT: I just tried and the latex / Lyx sfs seems to work if a symlink is added
/usr/lib/libpng.so.3 --> /usr/lib/libpng.so

Those packages were made in Puppy4, so I cant garantuee that all will run without problems. So far I have only tested gnuplot and octave (just briefly) which seemed to work.

The Texmacs package don't work out of the box because this I made ad hoc in the process for the last sage-live cd and included it directly. There is a library or symlink missing. I cant remember.

Currently I try to produce a second version, with Java implemented in the base iso and other small improvements, especially an improved dokumentation. I am still not sure If I will go into making additional packages. The main reason is that I cant decide which base would be best: Lupu, Fatdog 64, Wary or even stick with 431. All have their pro's.
And it is impossible to maintain anything reasonable on multible platforms.

EDIT: I will test the other packages as time allows and will drop a short notice in this thread. However I cannot make in-deptht test.

kind regards
emil

ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

#13 Post by ICPUG »

Thanks emil for the info.

Last night I fired up a live CD on my latest PC which has 4GB RAM. (My most recent earlier machine to that was a laptop with only 512MB RAM so ran out of memory on loading the sfs file - I didn't think before I said go!). I am not sure how much RAM is required because there seems to be a bug in the freemem applet which has an upper limit of measurement. It said 1.7GB free whether I ran your Puppy or Puppy 4.2 - which is obviously not right.

Everything started fine and I tried running the examples in the tutorial through the Sage notebook. All seemed to be OK but I didn't do that my many examples - a bit of simple maths, differentiation and a plot.

I have never used (or seen in action) Mathematica or Maple so I am not sure how Sage compares. I was a little bit suprised at the blandness of the interface - command line stuff which, as far as I could see in my quick test, relied on one knowing the Sage functions available and having to type them. GUIness has its uses!

More to come later ...

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

How does sage compare?

#14 Post by emil »

Hi ICPUG,

I must admit I didn't use Sage for any real work beside to play around a bit.
I have worked with Mathematica and Matlab some years ago, so I have no comparison of the current state.

I think sage does not too bad in the comparison. The commandline is the better option. Having it running in the browser is a smart solution, because you can access the running sage engine from different computers. Designing a gui around the engine would be very limiting. Of course there is vast room for improvements.

The langugage of sage is python like (thats the core framework, probably thats also why it has such a bloated feeling). But in my opinion its the best approach to create a common platform for math software. Beside the python packages (Numpy, sympy, scipy), R is included, which is the leading package in statistcs, Then there is maxima included, which is somehow the leading open source CAS. Then there are other, more specialised projects (PARI, GAP for the number theoretists ...). You can install octave, then you have a matlab compatible open source package for numerics. It's huge, I would compare it with an aircraft carrier.

I have to say, the usage for me was rather intuitive, I was able to write a few lines of math without consulting the manual at every step and could produce results. So this is a good indication for usability. However if you want the system to specifically do something exactly a special way (e.g draw a plot such and such) then you have to tinker around. But I would say for most people its more intuitive than mathematica, because python is rather procedural (but you can do functional programming), wheras the Mathematica language is functional (but you can do procedural stuff). So for anything high school level its almost overkill, and for university undergraduate level it would do mostly just fine.

If it was me who could decide the direction of sages developement, than I would say modularise it even more, make the core lean. Lets say keep the python libraries as base. And make the other packages standard modules. Make a port to have different user-inerfaces, and especially design ports to use the packages inside sage from outside (lets say install sage with R. then install Rcmdr to access the R part of Sage and have that well known Gui for it. But its not me and the sage community is doing a good job, lets see how it goes on further.

thats just my thoughts, would like to here how you fare with it. If you find something to improve let me know :D
emil

ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

#15 Post by ICPUG »

Hi Emil,

I did not expect you to be back before I did!

Thanks for the info again. I was not criticising the command line - well not yet anyway. If Mathematica/Matlab works in a similar way then no problem. I don't suppose I will use Sage too much either but having a mathematics background I like the idea of having a free version of Mathematica/Matlab around just in case!

I wanted to put my thoughts regarding your quandry in developing Puppy Sage further. As you say there is a diffficulty in knowing which flavour of Puppy to build on - with so many good developments going on in different strands.

When I ran out of memory on my older PC I immediately thought this goes against the ethos of Puppy - runs on older hardware. That maybe the case - Sage is so powerful it needs newer hardware but I venture one way for consideration.

If you have Sage as an SFS (or a group of SFSs to cover the add-ons as well). The memory requirement will not be so high because SFSs additional to the basic Puppy are not loaded into memory. The drawbacks, of course, are that you cannot run as a Live CD and whether there is so much disk activity going on (I am assuming a frugal install) that Sage would run too slowly this way.

Having Sage as an SFS solves your dilemma as well. You develop and make sure it works with your preferred puppy. When a new pup comes along we can simply try the same SFS - no more fiddling with the underlying OS for you. Leave that to the OS experts and let you concentrate on your area of expertise - compiling Sage to work with Puppy.

I have to say I am somewhat biased in this opinion because I love the concept of modularisation via SFS, especially if things work with jrb's SFS Linker. If you want bling, you add the bling SFS (Dude). If you want a small business setup you add the Libre Office SFS. If you want the PC for mathematicians you add the Sage SFS!

One other benefit. The Sage download will be smaller - by the size of the underlying OS.

EDIT

I've just looked at the graphic above again. I realise I was not running Sage in the browser. I just clicked the Sage icon and got a terminal like interface. I guess you have to click the Sage Notebook icon to get the browser. When it asked for a password when I did that I decided I did not know enough to continue, so I didn't. I need to do some reading cos it looks nicer in the browser.

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

memory issues

#16 Post by emil »

Well,

better would be have an SFS, but its nice to have something run out of the box.

With Lupu the big advantage is, that new sage versions are compiled on ubuntu, so just download ubuntu package, unzip, ready. No need to compile.

I will have to edit the initrd.gz, so it is pfixram=nocopy by default. Did this last time.
emil

ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

#17 Post by ICPUG »

I guess you mean pfix=nocopy there. pfixram is not a valid bootcode. Hmm - forgotten about that bootcode - maybe I should try on the 512K RAM laptop.

If it is so easy so get Sage working with Lupu maybe I should learn how to create SFS myself!

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

make a sfs

#18 Post by emil »

ah, of course I ment pfix=nocopy, *not* pfixram=nocopy

Making sfs is very easy, in fact its a piece of cake.

just download the ubuntu binaries, unzip them in a folder. then you can use
dir2sfs to convert that folder to an sfs, or use the mksquashfs directory filename directly. :wink:

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

modularization

#19 Post by emil »

Hi ICPUG,

In fact the sfs for Lupu is already on the sage server for download:
http://content.wuala.com/contents/phats ... index.html
but independently, if working with puppy how to make a sfs package is good to know.

Some comments of your suggestion of modularization.
I just wanted to make a quick update to the live CD, then move on to other projects, but the scope had gotten out of hand a bit (with the windows installer and such). You are completely right that the approach of having a seperated sfs of sage and maybe additional packages would be superior, but I shunned from it, because I wanted it to work beginning with the first successfull boot.

Right now imagine you have a windows user who wants to try ("just try") sage. I don't speak of repartitioning or installing grub or other arcane stuff. With the windows installer there is really a simple method to get a frugal install to the windows partition. So the OS will run with the 1st reboot.
But then you have to create a savefile (2nd reboot). and then you have to mark the sfs in the Bootmanager in a "hidden" submenu and make the 3rd reboot. So to get sage.sfs to run you need a minimum of 3 reboots.
EDIT: OF course you just need 2 reboots, I was carried away a bit here.

Maybe there is an easy possibility to tell puppy to mount additional sfs also during 1.st boot (it is somwhere, there is the drivers sfs). This would make setting up modular live systems much easier and maintainable.

emil
Last edited by emil on Mon 20 Dec 2010, 07:57, edited 1 time in total.

ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

#20 Post by ICPUG »

Hi Emil,

Thanks for the thoughts. I have been away a couple of days, which is why I have not replied earlier.

You are absolutely right about the simplicity of a Sage Live CD, rather than a Sage SFS.

I have always thought that if we had a completely modularised Puppy along the lines of Choice Pup there would always be a need for combining some of the common applications into a full Live CD for the complete beginner.

It is a matter of personal taste what those beginner applications should be, both in type and actual program. Endless time is spent on the forum arguing about browsers, whether a spreadsheet program is relevant, etc.

My personal feeling is that a sophisticated maths package is not a beginner thing for Puppy users but, of course, a member of the Sage Community would want it but would be a beginner to Puppy. I guess this is where your viewpoint becomes valid.

The only solution - we need both Live CD and SFS - and, apparently, we have it - great!

Post Reply