I made a sfs package for the Ubuntu - Puppies and a pet of the (english) html documentation.
Download sage-4.6-lupu.sfs
The package is in the /sage directory, I added a link in /usr/bin, so you can start with
Code: Select all
# sage
There also should be a menu entry with icons, but I am not sure if this works for all lupus
if not you could try to change Window manager to JWM and check the file
/etc/xdg/templates/_root_.jwmrc
it should read:
Code: Select all
<?xml version="1.0"?>
<JWM>
<!-- IMPORTANT, ONLY EDIT /etc/xdg/templates/_root_.jwmrc -->
<!-- jwm menu for puppy Linux -->
<RootMenu label="Menu" labeled="false" height="24" onroot="3">
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-desktop.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-system.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-setup.menu
<Separator/>
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-sage.menu
<Separator/>
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-utility.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-filesystem.menu
... rest of file ...
Making desktop icons:
there are startscripts sage.sh, sagen.sh(html notebook) and sagedoc.sh in the /usr/sbin directory.
drag those to the desktop (Icons are in /usr/local/lib/X11/pixmaps)
Cookbook:
I used the ready made version for ubuntu which can be downloaded from sagemath.org
This is a packed with lzma so
you need
Code: Select all
tar --lzma -xvf sage-*...tar.lzma
After that you change into the sage directory and with ./sage the package is installed (paths are reworked).
I made the sfs (mksquashfs sage-directory output.sfs) before the first run, because then the package is a bit smaller.