Installation in Ubuntu

Installation in Ubuntu - Messages

#1 Posted: 10/22/2009 8:48:53 AM
Waluyo Adi Siswanto

Waluyo Adi Siswanto

1 likes in 55 posts.

Group: User

I would like to install SMath in Ubuntu 8.04. How to install in Ubuntu.
Thanks
#2 Posted: 10/22/2009 1:09:46 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3729 posts.

Group: Super Administrator

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."
#3 Posted: 10/24/2009 11:51:55 PM
Edwin

Edwin

0 likes in 12 posts.

Group: User

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.
#4 Posted: 11/12/2009 4:28:40 PM
carbonmetrics

carbonmetrics

0 likes in 2 posts.

Group: User

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
#5 Posted: 11/12/2009 7:33:12 PM
Greg Locock

Greg Locock

0 likes in 53 posts.

Group: User

Could somebody post step by step instructions for this in the wiki? Unless it is blindingly obvious how to do it.
#6 Posted: 11/12/2009 11:34:57 PM
Waluyo Adi Siswanto

Waluyo Adi Siswanto

1 likes in 55 posts.

Group: User

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
#7 Posted: 11/13/2009 9:06:13 AM
carbonmetrics

carbonmetrics

0 likes in 2 posts.

Group: User

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
#8 Posted: 4/17/2010 6:56:47 PM
arctictern

arctictern

0 likes in 3 posts.

Group: User

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
sudo apt-get install mono-complete
takes a few minutes; uses about 62 MB

Make sure it runs; in Terminal
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
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.
#9 Posted: 4/18/2010 11:58:46 AM
Claws

Claws

0 likes in 13 posts.

Group: User

Why on earth would you put the executables in '/etc' and not e.g. '/usr/local/SMath'? o_o
#10 Posted: 4/19/2010 2:03:10 AM
arctictern

arctictern

0 likes in 3 posts.

Group: User

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?
#11 Posted: 4/19/2010 1:53:36 PM
Claws

Claws

0 likes in 13 posts.

Group: User

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

#12 Posted: 9/17/2010 11:23:04 PM
gregben

gregben

2 likes in 4 posts.

Group: User

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.


$ 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.

$ 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.


$ 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/forum/default.aspx?g=posts&t=561
and download the file SMathStudioDesktop.0_89.Mono.tar.gz to ~/smath_studio.


$ 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.


$ 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!

$ ./*o
At this point the SMath Studio application window should open with
a blank "Page 1" to work on.
2 users liked this post
Andrey Ivashov 9/18/2010 7:18:00 AM, matteob8 10/28/2010 4:41:00 PM
#13 Posted: 6/16/2011 5:49:15 PM
rbb

rbb

0 likes in 1 posts.

Group: User

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
#14 Posted: 12/14/2011 10:58:52 PM
Waluyo Adi Siswanto

Waluyo Adi Siswanto

1 likes in 55 posts.

Group: User

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-siswanto.blogspot.com/2011/12/smath-in-ubuntu-1110.html
  • New Posts New Posts
  • No New Posts No New Posts