特殊:Badtitle/NS100:SAGE:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
创建新页面为 '{{From|https://help.ubuntu.com/community/SAGE}} {{Languages|UbuntuHelp:SAGE}} Parent: Software == Introduction == "Sage is a free open-source mathematic...'
 
Wikibot留言 | 贡献
无编辑摘要
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
{{From|https://help.ubuntu.com/community/SAGE}}
{{From|https://help.ubuntu.com/community/SAGE}}
{{Languages|UbuntuHelp:SAGE}}
{{Languages|UbuntuHelp:SAGE}}
Parent: [[UbuntuHelp:Software|Software]]
== Introduction ==
== Introduction ==
"Sage is a free open-source  mathematics software system licensed under the GPL. It combines the power of many existing open-source packages into a common Python-based interface."
"Sage is a free open-source  mathematics software system licensed under the GPL. It combines the power of many existing open-source packages into a common Python-based interface."
第7行: 第6行:
Website: http://www.sagemath.org/
Website: http://www.sagemath.org/
== Installation Instructions ==
== Installation Instructions ==
Ubuntu (as of 3-5-2009) will install Sagemath Version '''3.0.5''' while as of the same date the latest version offered by the Sagemath team is '''3.4.1'''. There are important differences between both, so you might consider downloading a recent version, even if it takes more of your time.
Ubuntu (as of 3-5-2009) will install Sagemath Version '''3.0.5''' while as of the same date the latest version offered by the Sagemath team is '''4.1'''. There are important differences between both, so you might consider downloading a recent version, even if it takes more of your time.
=== Install from the repositories ===
=== Install from the repositories ===
Look for the package named '''sagemath''' in the Synaptic Package Manager and install it.
Look for the package named '''sagemath''' in the Synaptic Package Manager and install it.
第29行: 第28行:
You can compile sage from source. You'll be surprised how easy it is, but it may take a long time, and it may fail in some systems. We remit you to their own documentation:
You can compile sage from source. You'll be surprised how easy it is, but it may take a long time, and it may fail in some systems. We remit you to their own documentation:
http://sagemath.org/download-source.html
http://sagemath.org/download-source.html
=== Create an icon in the panel ===
You can add to the panel an icon for starting the sage server. Just select "add new element to the panel", "add new applet" or however it's called in your system, then choose for a new "Launcher" or "Launcher for external applications".
In the configuration dialog for the launcher, make sure you select "open in a terminal" and choose "sage -notebook" for the command in GNOME or XFCE. In KDE, choose "sage" for the command and "-notebook" for command line options.
You can use "SAGE" for the name and the following for the icon:
/opt/sage-directory.../data/extcode/notebook/images/icon48x48.png
where "sage-directory..." is the directory where you installed sage.
== Getting Started With Sage ==
== Getting Started With Sage ==
Open a terminal and type ''sage'' and press enter. The sage command line interface should start up. Wait for the sage prompt to come up. It would looks thus:
Open a terminal and type ''sage'' and press enter. The sage command line interface should start up. Wait for the sage prompt to come up. It would looks thus:
第34行: 第39行:
sage:
sage:
</nowiki></pre>
</nowiki></pre>
This may take a while depending on your hardware.
This may take up to a minute depending on your hardware.
The first time you use ''sage'' you will be asked to set a password to secure your work. This will only happen if you installed from the repositories, but not if you downloaded sage from their website.
The first time you use ''Sage'' you will be asked to set a password to secure your work.
=== Choice of Sage Interface: Command Line Or GUI ===
=== Choice of Sage Interface: Command Line Or GUI ===
You have a choice of using ''sage'' either from the command line or from a GUI. In order to use the GUI interface to ''sage'' use the sage prompt to type:
You have a choice of using ''Sage'' either from the command line or from a GUI. In order to use the GUI interface to ''sage'' use the sage prompt to type:
<pre><nowiki>
<pre><nowiki>
notebook()
notebook()
</nowiki></pre>
</nowiki></pre>
This will open the GUI interface to ''sage'' which is the well known Firefox web browser.
This will open the GUI interface to ''Sage'' which is the well known Firefox web browser.
To start work with the GUI interface of ''sage'' click on the link '''New Worksheet'''.
To start work with the GUI interface of ''Sage'' click on the link '''New Worksheet'''.
The rest involves typing your sage commands into the input box and clicking the ''evaluate'' button that lies below it.
The rest involves typing your sage commands into the input box and clicking the ''evaluate'' button that lies below it.
You might also use the program [[UbuntuHelp:TeXmacs|TeXmacs]] as an interface:
You might also use the program [[UbuntuHelp:TeXmacs|TeXmacs]] as an interface:
第48行: 第53行:
=== Help and Documentation ===
=== Help and Documentation ===
Help for ''sage'' is available from: http://www.sagemath.org/help.html
Help for ''sage'' is available from: http://www.sagemath.org/help.html
A beginner would probably begin with the '''Tutorial''' at http://www.sagemath.org/doc/tutorial/index.html
A beginner would probably start with the '''Tutorial''' at http://www.sagemath.org/doc/tutorial/index.html
=== Disadvantages ===
While Sage is truly a powerful software, it still lacks some key features as of today (Dec. 1, 2009). Good news it is under development.
Plotting doesn't have a good label function. Axis can not be fine tuned as Matlab.
== Further Reading ==
== Further Reading ==
At the web page http://www.sagemath.org/help.html you would, by and by, want to look at the '''Installation Guide''' and the '''Reference Manual''' besides a whole host of documentation.
At the web page http://www.sagemath.org/help.html you would, by and by, want to look at the '''Installation Guide''' and the '''Reference Manual''' besides a whole host of documentation at http://www.sagemath.org/doc .
----
----
[[category:Category:]] Science
[[category:CategoryScience]]


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2010年5月20日 (四) 00:07的最新版本

{{#ifexist: :SAGE/zh | | {{#ifexist: SAGE/zh | | {{#ifeq: {{#titleparts:SAGE|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:SAGE|1|-1|}} | zh | | }}

Introduction

"Sage is a free open-source mathematics software system licensed under the GPL. It combines the power of many existing open-source packages into a common Python-based interface." "Mission: Creating a viable free open source alternative to Magma, Maple, Mathematica and Matlab." Website: http://www.sagemath.org/

Installation Instructions

Ubuntu (as of 3-5-2009) will install Sagemath Version 3.0.5 while as of the same date the latest version offered by the Sagemath team is 4.1. There are important differences between both, so you might consider downloading a recent version, even if it takes more of your time.

Install from the repositories

Look for the package named sagemath in the Synaptic Package Manager and install it. Alternatively open a terminal and type:

sudo apt-get install sagemath 

Download binaries from their website

Go to the website http://sagemath.org/download.html and pick up a mirror to download. Choose 'Download for Linux', then choose your arquitecture, and then choose the 'tar.gz' package with the word Ubuntu in the name. Installing reduces to unpacking into /opt, and putting a link to the sage executable in /usr/local/bin:

sudo su
cd /opt
tar xvf /path_to_sage_package/sage-?.?.?-linux-ubuntu-...tar.gz
ln -s /opt/sage.?-?-?.../sage /usr/local/bin/sage
sage

Compile from source

You can compile sage from source. You'll be surprised how easy it is, but it may take a long time, and it may fail in some systems. We remit you to their own documentation: http://sagemath.org/download-source.html

Create an icon in the panel

You can add to the panel an icon for starting the sage server. Just select "add new element to the panel", "add new applet" or however it's called in your system, then choose for a new "Launcher" or "Launcher for external applications". In the configuration dialog for the launcher, make sure you select "open in a terminal" and choose "sage -notebook" for the command in GNOME or XFCE. In KDE, choose "sage" for the command and "-notebook" for command line options. You can use "SAGE" for the name and the following for the icon: /opt/sage-directory.../data/extcode/notebook/images/icon48x48.png where "sage-directory..." is the directory where you installed sage.

Getting Started With Sage

Open a terminal and type sage and press enter. The sage command line interface should start up. Wait for the sage prompt to come up. It would looks thus:

sage:

This may take up to a minute depending on your hardware. The first time you use Sage you will be asked to set a password to secure your work.

Choice of Sage Interface: Command Line Or GUI

You have a choice of using Sage either from the command line or from a GUI. In order to use the GUI interface to sage use the sage prompt to type:

notebook()

This will open the GUI interface to Sage which is the well known Firefox web browser. To start work with the GUI interface of Sage click on the link New Worksheet. The rest involves typing your sage commands into the input box and clicking the evaluate button that lies below it. You might also use the program TeXmacs as an interface: http://wiki.sagemath.org/TeXmacs

Help and Documentation

Help for sage is available from: http://www.sagemath.org/help.html A beginner would probably start with the Tutorial at http://www.sagemath.org/doc/tutorial/index.html

Disadvantages

While Sage is truly a powerful software, it still lacks some key features as of today (Dec. 1, 2009). Good news it is under development. Plotting doesn't have a good label function. Axis can not be fine tuned as Matlab.

Further Reading

At the web page http://www.sagemath.org/help.html you would, by and by, want to look at the Installation Guide and the Reference Manual besides a whole host of documentation at http://www.sagemath.org/doc .