Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline waluyo  
#1 Posted : 22 October 2009 15:48:53(UTC)
waluyo


Rank: Advanced Member

Groups: Registered
Joined: 22/10/2009(UTC)
Posts: 53
Man
Indonesia
Location: Gedongkuning, Jogjakarta

Was thanked: 1 time(s) in 1 post(s)
I would like to install SMath in Ubuntu 8.04. How to install in Ubuntu.
Thanks
Offline Andrey Ivashov  
#2 Posted : 22 October 2009 20:09:46(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,570
Man
Russian Federation

Was thanked: 1871 time(s) in 634 post(s)
waluyo wrote:
I would like to install SMath in Ubuntu 8.04. How to install in Ubuntu.
Thanks

Hi again. As I wrote you in e-mail:
"On Ubuntu you should install Mono distributive from the http://mono-project.com/Main_Page
Btw, as I remember newer releases of Ubuntu has Mono already installed. The last you should do - download and unpack all files from tar.gz archive and start SMathStudio_Desktop.exe file using mono."
Offline Edwin  
#3 Posted : 25 October 2009 05:51:55(UTC)
Edwin


Rank: Member

Groups: Registered
Joined: 25/10/2009(UTC)
Posts: 12
Location: The Netherlands

I ran smath in an older version of Ubuntu. It had Mono 1.9 instead of 2.0. It worked, but it was a little more unstable. However, you do need to install the libmono-winforms package to make it work (this goes for later versions of Ubuntu as well). Other than that, it's just unpack and run the shell script.
Offline carbonmetrics  
#4 Posted : 12 November 2009 22:28:40(UTC)
carbonmetrics

Rank: Newbie

Groups: Registered
Joined: 12/11/2009(UTC)
Posts: 2
Location: amsterdam

thanks for the instructions.
everything working well in windows, so now installing on my main ubuntu 9.10 machine.

i have added the mono repository, the list of mono packages is impressive.
i have really no idea which ones to install; the list in front of me is one page.
installed a few but smath not running yet.
which is a shame because i am using it every day already...!

henk
Offline Greg Locock  
#5 Posted : 13 November 2009 01:33:12(UTC)
Greg Locock


Rank: Advanced Member

Groups: Registered
Joined: 30/08/2009(UTC)
Posts: 52
Location: Australia

Could somebody post step by step instructions for this in the wiki? Unless it is blindingly obvious how to do it.
Offline waluyo  
#6 Posted : 13 November 2009 05:34:57(UTC)
waluyo


Rank: Advanced Member

Groups: Registered
Joined: 22/10/2009(UTC)
Posts: 53
Man
Indonesia
Location: Gedongkuning, Jogjakarta

Was thanked: 1 time(s) in 1 post(s)
I have managed to install SMath in Ubuntu 8.04 and 9.04. SMath is up and running in both systems.
- Ubuntu 8.04 and 9.04 require to upgrade to the latest version 2.4.2.3 from backport repository.
follow the guidelines http://www.mono-project.com/DistroPackages/Ubuntu
- Last time I installed (from synaptic) mono-devel and some libmono-*, but the problem was I did not now which mono
runtime libraries needed by smath, just tried several times until SMath worked.
- I am suggesting to install mono-complete
- run smath from the terminal (or create a menu: System>Preferences>Main Menu)
mono /home/myname/Public/SMathStudioDesktop.0_85.Mono/SMathStudio_Desktop.exe

Regards
waluyo
Offline carbonmetrics  
#7 Posted : 13 November 2009 15:06:13(UTC)
carbonmetrics

Rank: Newbie

Groups: Registered
Joined: 12/11/2009(UTC)
Posts: 2
Location: amsterdam

Installed everything with the word "mono" in it via synaptic.
It still does not work.
Just running it in windows via virtual box now.

Henk
Offline arctictern  
#8 Posted : 18 April 2010 01:56:47(UTC)
arctictern

Rank: Newbie

Groups: Registered
Joined: 06/12/2009(UTC)
Posts: 3
Location: Canada

Installed Smath 0.88 in Ubuntu 10.04 Lucid Lynx. Written by a newbie for newbies. I suspect this will work in any Ubuntu release.

Download the linux SMath package; I'll assume your browser puts it in ~/Downloads
Navigate to the .tar.gz archive and right click on it, select "extract here".

Open Terminal
Code:
sudo apt-get install mono-complete

takes a few minutes; uses about 62 MB

Make sure it runs; in Terminal
Code:
sudo mono ~/Downloads/SMathStudioDesktop.0_88.Mono/SmathStudio_Desktop.exe

That is it, but if you want to run it from the Applications menu do the following:
Move the files so you are not running it from the ~/Downloads directory
Code:
sudo mkdir /etc/SMath
sudo mv ~/Downloads/SMathStudioDesktop.0_88.Mono/* /etc/SMath

Go to System>Preferences>Main Menu
Highlight the folder you prefer in the "Menus:" list, I put it in "Programming"
Click on "New Item"
Enter "SMath" in "Name:"
Click "Browse" and navigate to /etc/SMath/SMathStudio_Desktop.exe
Click OK

And that should do it. Runs great, many thanks to the Devs.

Edited by user 18 April 2010 09:15:46(UTC)  | Reason: Not specified

Offline Claws  
#9 Posted : 18 April 2010 18:58:46(UTC)
Claws


Rank: Member

Groups: Registered
Joined: 29/03/2010(UTC)
Posts: 13
Location: Denmark

Why on earth would you put the executables in '/etc' and not e.g. '/usr/local/SMath'? Wonder
Offline arctictern  
#10 Posted : 19 April 2010 09:03:10(UTC)
arctictern

Rank: Newbie

Groups: Registered
Joined: 06/12/2009(UTC)
Posts: 3
Location: Canada

Because I am a Windows user just getting to know Linux; the /etc folder looks most like the Windows c:\Program Files to me so I put it there. Is it likely to cause a problem?
Offline Claws  
#11 Posted : 19 April 2010 20:53:36(UTC)
Claws


Rank: Member

Groups: Registered
Joined: 29/03/2010(UTC)
Posts: 13
Location: Denmark

arctictern wrote:
Because I am a Windows user just getting to know Linux; the /etc folder looks most like the Windows c:\Program Files to me so I put it there. Is it likely to cause a problem?


No, it's not a problem per se, you can put anything everywhere in linux, but '/etc' is usually reserved for configuration files only, no binaries. '/usr/local/' is for user-installed programs such as SMath. Even better, put it your home directory. It's just OS hygiene, but you can do anything you like Biggrinerisive:

Offline gregben  
#12 Posted : 18 September 2010 06:23:04(UTC)
gregben

Rank: Newbie

Groups: Registered
Joined: 09/09/2010(UTC)
Posts: 4
Location: San Diego

Was thanked: 2 time(s) in 1 post(s)
This evening I installed SMath Studio Desktop on Ubuntu 10.04 LTS.
This was a fully updated copy (as of today) of 10.04 LTS (Lucid Lynx).

Here are the steps:

1) Install winforms library needed by mono.
First verify mono is installed. It is by default, but it is always nice
to check.

Code:

$ mono --version
Mono JIT compiler version 2.4.4 (Debian 2.4.4~svn151842-1ubuntu4)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
	TLS:           __thread
	GC:            Included Boehm (with typed GC)
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  x86
	Disabled:      none
$

Now install the winforms library.
Code:

$ sudo apt-get install libmono-winforms2.0-cil


2) Make a directory to contain SMath Studio in your
home directory, download, unarchive, and run
SMath Studio. This is not a permanent installation,
but will get you started.

Code:

$ cd
$ mkdir smath_studio
$ cd smath_studio


Make sure your browser is configured to allow you to specify the location of
file downloads. In Google Chrome, this is found under Options->Under the hood->Download.
Check the box marked "ask where to save each file before downloading".

Now, using your browser, go to http://en.smath.info/for...t.aspx?g=posts&t=561
and download the file SMathStudioDesktop.0_89.Mono.tar.gz to ~/smath_studio.

Code:

$ ls
$ SMathStudioDesktop.0_89.Mono.tar.gz
$ md5sum *gz
$ 660c064598b5ef74878cf15452095ea9  SMathStudioDesktop.0_89.Mono.tar.gz


The md5sum command above calculates a hash which allows you to verify that
your copy of SMath studio is the same as mine. The numbers should match.

Now ungzip and untar the .tar.gz archive, then cd into the application
directory and make the SMath Studio shell script executable.

Note: In the commands listed below, *o indicates the lower-case letter, not the digit zero.

Code:

$ tar -xvzf *gz
$ ls
SMathStudioDesktop.0_89.Mono  SMathStudioDesktop.0_89.Mono.tar.gz
$ cd *o
$ chmod u+x *o
$ ls -l *o
-rwxr--r-- 1 gregb gregb 54 2010-07-22 18:59 smathstudio_desktop_mono

At this point the SMath Studio startup shell script is ready for use.
Here we go!
Code:

$ ./*o

At this point the SMath Studio application window should open with
a blank "Page 1" to work on. Good
thanks 2 users thanked gregben for this useful post.
on 18/09/2010(UTC),  on 28/10/2010(UTC)
Offline rbb  
#13 Posted : 17 June 2011 00:49:15(UTC)
rbb

Rank: Newbie

Groups: Registered
Joined: 17/06/2011(UTC)
Posts: 1
Location: Boulder, CO

Thanks arctictern.

I've made an SVG icon for use by Gnome menus (and possibly others like KDE), which I added by right clicking on the "Applications" menu.

http://dl.dropbox.com/u/1278368/smath.svg


Russ
Offline waluyo  
#14 Posted : 15 December 2011 05:58:52(UTC)
waluyo


Rank: Advanced Member

Groups: Registered
Joined: 22/10/2009(UTC)
Posts: 53
Man
Indonesia
Location: Gedongkuning, Jogjakarta

Was thanked: 1 time(s) in 1 post(s)
SMath works perfectly in the latest ubuntu 11.10.
It only requires libmono-winforms2.0-cil and gtk2-engines-pixbuf (to solve a TK2 warning).
I have documented here:
http://waluyo-adi-siswan...math-in-ubuntu-1110.html
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.