Math Base - Basic Free Mathematic Software for Puppy Linux

Mathematical tools, physics simulators, CAD, CNC, etc.
Message
Author
aarf

#46 Post by aarf »

finally got organised enough to test this:
lupu500 booted on external HD (sdb1) with /mnt/home/sage-4.3.1.sfs loaded by inclusion in Boot Manager (although didnt notice it being loaded in the boot dialog)
(also with openshot pets already installed which includes python. pupsave is 256 MB free space around 100MB)

Code: Select all

# sage
----------------------------------------------------------------------
| Sage Version 4.3, Release Date: 2009-12-24                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

**********************************************************************
WARNING!  This Sage install was built on a machine that supports
instructions that are not available on this computer.  Sage will
likely fail with ILLEGAL INSTRUCTION errors! The following processor
flags were on the build machine but are not on this computer:

pni ssse3 

Email http://groups.google.com/group/sage-support for help.
To remove this warning and make Sage start, just delete
     /sage-x.y.z-i686-Linux/local/lib/sage-flags.txt
**********************************************************************
# 
(renamed to ssage-flags.txt)
# sage
----------------------------------------------------------------------
| Sage Version 4.3, Release Date: 2009-12-24                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
The Sage install tree may have moved.
Regenerating Python.pyo and .pyc files that hardcode the install PATH
(please wait at most a few minutes)...
Do not interrupt this.
Setting permissions of DOT_SAGE directory so only you can read and write it.
/sage-x.y.z-i686-Linux/local/bin/sage-sage: line 206: 10019 Illegal instruction     sage-ipython "$@" -i
# 
# sage
----------------------------------------------------------------------
| Sage Version 4.3, Release Date: 2009-12-24                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
/sage-x.y.z-i686-Linux/local/bin/sage-sage: line 206: 11291 Illegal instruction     sage-ipython "$@" -i
# 
Attachments
sageerror.jpg
(22.74 KiB) Downloaded 2640 times

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

ssse3

#47 Post by emil »

Hi aarf,

Code: Select all

...
To remove this warning and make Sage start, just delete 
     /sage-x.y.z-i686-Linux/local/lib/sage-flags.txt
...
try just to delete this file as suggested and see if it works.

If Sage starts, try

Code: Select all

random_matrix(ZZ,300).det()
, which will test the ATLAS package.

you can also do a "sage -testall" (or similar syntax, don't know by heart) but this will take hours to complete.

Emil

PS: I haven't tested my earlier sage sfs package in Lupu - I didn't think it is possible. Do they run there (at least on machines wich support ssse3)?


User avatar
Temon
Posts: 5
Joined: Thu 18 Mar 2010, 10:23
Location: Gijón - Spain

GUI for Octave

#49 Post by Temon »

Hi!
I know that there are some tutorials to install QtOctave, but I'm too clumsy to achieve it. I cannot even install 'cmake', which is said to be needed. Is there another GUI for Octave that can be easier installed on Puppy?
I'm using Octave command line now, but I got used to the GUI at Ubuntu (home PC) which I cannot install at work.

Thank you and sorry for my English.

User avatar
Temon
Posts: 5
Joined: Thu 18 Mar 2010, 10:23
Location: Gijón - Spain

#50 Post by Temon »

:oops:

As usual, I solve it right after asking for help!

I used "tgz2pet" with a QtOctavexxx.tar.gz file and everything is fine now.

Sorry and thanks, anyway!

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

sage 4.6

#51 Post by emil »

I made a sfs from the latest version, but moved it to a seperate threat
http://murga-linux.com/puppy/viewtopic.php?t=61543

Ibidem
Posts: 549
Joined: Wed 26 May 2010, 03:31
Location: State of Jefferson

Where's the R stuff gone?

#52 Post by Ibidem »

I tried getting the R tarball, but the site said there was no such file.
Same exact thing with the R pet, and the PMG pet.

So...I tried using the official packages from the R project (bin/linux/ubuntu/lucid/*.deb), which installed. But, trying to install Rcmdr or pmg shows a lot of packages that can't install.
The problem is along the lines of
**libs
sh: -f: file not found
ERROR: compilation failed for package .......

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

Location of Packages

#53 Post by emil »

Hi Ibidem and all,

Well the original download links are not working anymore, as stated in a previous post.

I have moved most of the work to
http://boxen.math.washington.edu/home/e ... are/Puppy4

Also dingos Docupuppy server should still work
http://puppylover.netsons.org/dokupuppy ... :math_apps

About Rcmdr and the other guis - this was done in puppy 431. I havent tried in 5xx Puppies. The Problem is: new Puppies are fine but its a moving target ;) ....
Although I tried to include some clues how I got it to work, maybe it helps with newer versions.

emil

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

Update

#54 Post by emil »

I want to post a brief update here:

In the meantime there is a second version of Sage Live:
http://murga-linux.com/puppy/viewtopic.php?t=62231

Download Arrea (decent speed)
http://www.mydrive.ch
Username download@sagelive
password: mathematics

I found gnuplot and octave working also for the 5 series of puppy
Download (a tad slow)
http://boxen.math.washington.edu/home/e ... re/Puppy4/

I also found Lyx and Latex almost working in Lupu 511.
All what was necessary was to add a symlink
/usr/lib/libpng.so.3 --> /usr/lib/libpng.so
Download
http://boxen.math.washington.edu/home/emil/Latex/
its the Latex_Lyx_v09.sfs

emil

standarddeviant
Posts: 8
Joined: Sun 23 Oct 2011, 13:12

#55 Post by standarddeviant »

Firstly, a huge thanks to emil for doing all this. I'm currently using Lupu 5.2.8 and all the .pet files for just octave. It seems to be working great. :-)

That said, I have some need for the octave forge signal package. Using the devx .sfs file, I'm in the process of getting everything I need for that, but I was wondering, once I get the octave forge signal package up and running, is there any way to reduce all of that to a .pet file? Thoughts?

Currently, I've had to install (from source)
(octave) signal-1.0.11.tar.gz requires
(octave) miscellaneous-1.0.9.tar.gz
(octave) specfun-1.0.9.tar.gz
(octave) struct-1.0.9.tar.gz
(octave) optim-1.0.6.tar.gz
mpfr-3.1.0.tar.gz requires
gmp-5.0.2.tar.bz2 requires

And these are just the dependencies I know about. I know lupu is supposed to be able to harness the power of Ubuntu packages. Can I simply use "apt-get install octave-forge...." ?

All help is much appreciated :-)

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

#56 Post by emil »

Hello standarddeviant ,

thanks for the nice feedback :D.

I am very sorry, there is no apt get in Puppy Linux which works properly.
Package managment is kind of "hand crafted" and "take what you can" from the base distro.

About your question with the creation of pet packages:

When compiling from source, most of it boils down to use

Code: Select all

new2dir make install
instead of

Code: Select all

make install
new2dir is an automated script that creates pet packages parallel to installing the package. There is even a switch to automate the creation of seperate bin, dev, doc and lang packages.

this will create a seperate directory (with ending packagename-i486 or similar) and the required pet package

Now how to combine all those single pet packages? A crude way to do it is:
make a new target directory

Code: Select all

mkdir octave-signal-i486
then go to directory of each Package you want to combine and copy its content in the new directoy

Code: Select all

cp -vnr * ../octave-signal-i486   # verbose, no clobber, recursive
edit the pet.specs textfile in the new directory
(Attention: some pets have install and uninstall scrips in here, so you might need to fix this file properly)

after everything is in place go to the parent directory and do

Code: Select all

dir2pet octave-signal-i486
# sidenote: there is no pet2dir command, you have to use pet2tgz and then extract.
# if you want to create an sfs file use dir2sfs

If you search this forum you surly will find some tools and scripts which automate this "pet combination".

To learn more about it, the post pet packaging 001 by technosaurus is the
best starter on the topic http://murga-linux.com/puppy/viewtopic.php?t=35507

this guide also contains information of stripping and further optimization of "puppy size" packages.

nice to see you here. Would be 8) if we could get a signal processing pet, or in the future an Octave toolbox sfs!

hope this info helps a bit - kind regards
emil

PS: maybe post about Octave related news in new Octave thread. This old thread is kind of a mess, but it has a lot of hits and quite good google rank. Maybe I fix the first post to screen the current situation a bit better.

User avatar
recobayu
Posts: 387
Joined: Wed 15 Sep 2010, 22:48
Location: indonesia

run geogebra 5 on puppy

#57 Post by recobayu »

how to run geogebra 5 on puppy?
http://www.geogebra.org/
the type file of geogebra 5 beta is .jar
i use this code but not working

Code: Select all

java geogebra.jar
what should i do?
thanks in advance

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

#58 Post by emil »

geogebra is written in java.

You need to install the java runtime environment.
either download it directly from oracle or use one of the sfs packages here

http://puppylinux.org/wikka/JavaRuntimeEnvironment

8) emil

User avatar
recobayu
Posts: 387
Joined: Wed 15 Sep 2010, 22:48
Location: indonesia

#59 Post by recobayu »

emil, thanks for your fast answer, but i still confuse how to run the geogebra.jar
i downloaded from repository lucid, here
http://distro.ibiblio.org/puppylinux/pe ... d-sfs4.sfs
i load that sfs by right click, sfsload.
then in terminal, i type this:

Code: Select all

java geogebra.jar
but still not run.
how to run it?

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

#60 Post by emil »

Download the Unix package from the homepage (it is a tar.gz archive). Unpack it. go into the directory and run the "geogebra" shell script.
java geogebra.jar will not work.

SunnyM
Posts: 1
Joined: Wed 02 Jan 2013, 19:45

GEOGEBRA

#61 Post by SunnyM »

Does GEOGEBRA support symbolic math?

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

#62 Post by emil »

Geogebra supports basic symbolic manipulation. If you are looking for high school level, or maybe a bit advanced it should do the job.

if you need more advanced math then go for maxima (or sage).

kerl
Posts: 154
Joined: Tue 16 Apr 2013, 21:15

#63 Post by kerl »

Thanks!
Please consider adding this other software, an alternative to Mathcad.
I made a request here before reading this post

Post Reply