特殊:Badtitle/NS100:Maple:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第42行: | 第42行: | ||
* Comment out the old lines and replace them with <code><nowiki>MAPLE_JRE_BIN="$JRE_BASE/bin/"</nowiki></code> and <code><nowiki>JRE_ROOT="$JRE_BASE/lib"</nowiki></code> | * Comment out the old lines and replace them with <code><nowiki>MAPLE_JRE_BIN="$JRE_BASE/bin/"</nowiki></code> and <code><nowiki>JRE_ROOT="$JRE_BASE/lib"</nowiki></code> | ||
== Print Troubleshooting == | == Print Troubleshooting == | ||
* If printing fails or there is no window printing dialog, Click System -> Administration -> Printing and on your selected printer click the Job Options and change Orientation from Automatic to Landscape or other intended orientation. <<FootNote(https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/156191)>> | * If printing fails or there is no window printing dialog, Click System -> Administration -> Printing and on your selected printer click the Job Options and change Orientation from Automatic to Landscape or other intended orientation, then restart Maple. <<FootNote(https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/156191)>> | ||
* If the above does not correct the problem you may want to install openjdk-6-jre and replace <code><nowiki>java-6-jdk</nowiki></code> with <code><nowiki>java-6-openjdk</nowiki></code> in the above instructions. <<FootNote(https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/156191)>> | * If the above does not correct the problem you may want to install openjdk-6-jre and replace <code><nowiki>java-6-jdk</nowiki></code> with <code><nowiki>java-6-openjdk</nowiki></code> in the above instructions. <<FootNote(https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/156191)>> | ||
* If you use the openjdk version and the printing output is scrambled, use the original version of Java that comes with Maple (leave the install untouched) and run Maple under an Xephyr window (adjust location as necessary): | * If you use the openjdk version and the printing output is scrambled, use the original version of Java that comes with Maple (leave the install untouched) and run Maple under an Xephyr window (adjust location as necessary): |
2010年5月19日 (三) 23:22的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Maple }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/af | • {{#if: UbuntuHelp:Maple|Afrikaans| [[::Maple/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/ar | • {{#if: UbuntuHelp:Maple|العربية| [[::Maple/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/az | • {{#if: UbuntuHelp:Maple|azərbaycanca| [[::Maple/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/bcc | • {{#if: UbuntuHelp:Maple|جهلسری بلوچی| [[::Maple/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/bg | • {{#if: UbuntuHelp:Maple|български| [[::Maple/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/br | • {{#if: UbuntuHelp:Maple|brezhoneg| [[::Maple/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/ca | • {{#if: UbuntuHelp:Maple|català| [[::Maple/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/cs | • {{#if: UbuntuHelp:Maple|čeština| [[::Maple/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/de | • {{#if: UbuntuHelp:Maple|Deutsch| [[::Maple/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/el | • {{#if: UbuntuHelp:Maple|Ελληνικά| [[::Maple/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/es | • {{#if: UbuntuHelp:Maple|español| [[::Maple/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/fa | • {{#if: UbuntuHelp:Maple|فارسی| [[::Maple/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/fi | • {{#if: UbuntuHelp:Maple|suomi| [[::Maple/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/fr | • {{#if: UbuntuHelp:Maple|français| [[::Maple/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/gu | • {{#if: UbuntuHelp:Maple|ગુજરાતી| [[::Maple/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/he | • {{#if: UbuntuHelp:Maple|עברית| [[::Maple/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/hu | • {{#if: UbuntuHelp:Maple|magyar| [[::Maple/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/id | • {{#if: UbuntuHelp:Maple|Bahasa Indonesia| [[::Maple/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/it | • {{#if: UbuntuHelp:Maple|italiano| [[::Maple/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/ja | • {{#if: UbuntuHelp:Maple|日本語| [[::Maple/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/ko | • {{#if: UbuntuHelp:Maple|한국어| [[::Maple/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/ksh | • {{#if: UbuntuHelp:Maple|Ripoarisch| [[::Maple/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/mr | • {{#if: UbuntuHelp:Maple|मराठी| [[::Maple/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/ms | • {{#if: UbuntuHelp:Maple|Bahasa Melayu| [[::Maple/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/nl | • {{#if: UbuntuHelp:Maple|Nederlands| [[::Maple/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/no | • {{#if: UbuntuHelp:Maple|norsk| [[::Maple/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/oc | • {{#if: UbuntuHelp:Maple|occitan| [[::Maple/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/pl | • {{#if: UbuntuHelp:Maple|polski| [[::Maple/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/pt | • {{#if: UbuntuHelp:Maple|português| [[::Maple/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/ro | • {{#if: UbuntuHelp:Maple|română| [[::Maple/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/ru | • {{#if: UbuntuHelp:Maple|русский| [[::Maple/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/si | • {{#if: UbuntuHelp:Maple|සිංහල| [[::Maple/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/sq | • {{#if: UbuntuHelp:Maple|shqip| [[::Maple/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/sr | • {{#if: UbuntuHelp:Maple|српски / srpski| [[::Maple/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/sv | • {{#if: UbuntuHelp:Maple|svenska| [[::Maple/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/th | • {{#if: UbuntuHelp:Maple|ไทย| [[::Maple/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/tr | • {{#if: UbuntuHelp:Maple|Türkçe| [[::Maple/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/vi | • {{#if: UbuntuHelp:Maple|Tiếng Việt| [[::Maple/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/yue | • {{#if: UbuntuHelp:Maple|粵語| [[::Maple/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/zh | • {{#if: UbuntuHelp:Maple|中文| [[::Maple/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/zh-hans | • {{#if: UbuntuHelp:Maple|中文(简体)| [[::Maple/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Maple | UbuntuHelp:Maple | {{#if: | :}}Maple}}/zh-hant | • {{#if: UbuntuHelp:Maple|中文(繁體)| [[::Maple/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Maple|:Maple|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Maple/zh | | {{#ifexist: Maple/zh | | {{#ifeq: {{#titleparts:Maple|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Maple|1|-1|}} | zh | | }}
Maple is not free software, see UbuntuScience for alternatives. This guide will take you through the steps of installing Maple9.5 or Maple10 in Ubuntu. We will install Maple and create symlinks to the executables.
Installation
- First, we'll create a directory in /opt for Maple. If you are installing Maple 10, you probably want to call this
/opt/maple10
instead. If you do, remember to use the appropriate path for the rest of the commands in this guide.
sudo mkdir -p /opt/maple9.5
- Now, put your Maple 9.5 or Maple 10 cd into your cdrom. It should then be mounted to
/media/cdrom
. Maple includes a nice installer script for us that we can run:
sudo sh /media/cdrom/installMapleLinuxSU
We have to run the installer through sh
since cdrom's are mounted noexec
by default.
- Follow the instructions in the Maple installer and choose
/opt/maple9.5
as the install directory.
Symbolic Links
Now so that we can just type maple
to start Maple or xmaple
to start the graphical version, we need to create symbolic links somewhere in your $PATH
. We will be using /usr/local/bin
which is reserved for local installations:
sudo mkdir -p /usr/local/bin sudo ln -s /opt/maple9.5/bin/{x,}maple /usr/local/bin
That's it. Have fun taking derivatives ;)
Troubleshooting
- If you receive errors such as
nawk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
when you attempt to run the installer, see http://ubuntuforums.org/showthread.php?t=283473 and http://ubuntuforums.org/showthread.php?p=2184587 .
- If Maple GUI launchs well but it fails any calculation saying
Waiting for kernel connection...
check if you have installed Maple on a FAT32 partition. If this is the case, you should reinstall it on /usr/local/maple for example. This issue applies to Maple 10 and 11.
- If you get an empty GUI window with Maple 11 on Ubuntu 7.10 you need to deactivate visual effects (in System - Preferences - Appearance).
- Another way, if you want to use both visual effects and Maple 11 is to execute the line
export AWT_TOOLKIT=MToolkit
in a terminal window. Usingxmaple
should then display the GUI with all contents. You can also add this line to your ~/.profile file, so it will be executed when you log in. - An even better way is to make Maple use the system's Java libraries.<<FootNote(See uw.linux 'Maple help' thread)>>
- Install Java: sudo apt-get install sun-java6-jre
- Navigate into the Maple directory and rename
jre.IBM_INTEL_LINUX
(orjre.X86_64_LINUX
on 64-bit systems) by adding.old
to the directory name. - Create a symlink to the system's directory with Java with
ln -s /usr/lib/jvm/java-6-sun/jre jre.IBM_INTEL_LINUX
(orln -s /usr/lib/jvm/java-6-sun/jre. jre.X86_64_LINUX
. xmaple
should run with Compiz running.- And if you don't want to use symlinks, you can edit the environmental variables. <<FootNote(http://ubuntuforums.org/showpost.php?p=5758568&postcount=6)>>
- Edit the
xmaple
file to includeexport JRE_BASE='/usr/lib/jvm/java-6-sun/jre'
at the top. - Comment out the old lines and replace them with
MAPLE_JRE_BIN="$JRE_BASE/bin/"
andJRE_ROOT="$JRE_BASE/lib"
Print Troubleshooting
- If printing fails or there is no window printing dialog, Click System -> Administration -> Printing and on your selected printer click the Job Options and change Orientation from Automatic to Landscape or other intended orientation, then restart Maple. <<FootNote(https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/156191)>>
- If the above does not correct the problem you may want to install openjdk-6-jre and replace
java-6-jdk
withjava-6-openjdk
in the above instructions. <<FootNote(https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/156191)>> - If you use the openjdk version and the printing output is scrambled, use the original version of Java that comes with Maple (leave the install untouched) and run Maple under an Xephyr window (adjust location as necessary):
Xephyr -ac :1 -screen 800x600 & DISPLAY=:1 ./maple12/bin/xmaple & DISPLAY=:1 metacity &