Installation in Ubuntu

Installation in Ubuntu - 消息

#1 已发布: 2009/10/22 08:48:53
Waluyo Adi Siswanto

Waluyo Adi Siswanto

1个赞,共55个帖子。

组: User

I would like to install SMath in Ubuntu 8.04. How to install in Ubuntu.
Thanks
#2 已发布: 2009/10/22 13:09:46
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: 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 已发布: 2009/10/24 23:51:55
Edwin

Edwin

0个赞,共12个帖子。

组: 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 已发布: 2009/11/12 16:28:40
carbonmetrics

carbonmetrics

0个赞,共2个帖子。

组: 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 已发布: 2009/11/12 19:33:12
Greg Locock

Greg Locock

0个赞,共53个帖子。

组: User

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

Waluyo Adi Siswanto

1个赞,共55个帖子。

组: 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 已发布: 2009/11/13 09:06:13
carbonmetrics

carbonmetrics

0个赞,共2个帖子。

组: 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 已发布: 2010/4/17 18:56:47
arctictern

arctictern

0个赞,共3个帖子。

组: 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 已发布: 2010/4/18 11:58:46
Claws

Claws

0个赞,共13个帖子。

组: User

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

arctictern

0个赞,共3个帖子。

组: 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 已发布: 2010/4/19 13:53:36
Claws

Claws

0个赞,共13个帖子。

组: 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 已发布: 2010/9/17 23:23:04
gregben

gregben

2个赞,共4个帖子。

组: 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位用户喜欢此帖子
Andrey Ivashov 2010/9/18 07:18:00, matteob8 2010/10/28 16:41:00
#13 已发布: 2011/6/16 17:49:15
rbb

rbb

0个赞,共1个帖子。

组: 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 已发布: 2011/12/14 22:58:52
Waluyo Adi Siswanto

Waluyo Adi Siswanto

1个赞,共55个帖子。

组: 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
  • 有新帖
  • 无新帖