个人工具
登录
查看“UbuntuHelp:Maple”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:Maple”的源代码
来自Ubuntu中文
←
UbuntuHelp:Maple
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/Maple}} {{Languages|UbuntuHelp:Maple}} Maple is not free software, see [[UbuntuHelp: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 <code><nowiki>/opt/maple10</nowiki></code> instead. If you do, remember to use the appropriate path for the rest of the commands in this guide. <pre><nowiki> sudo mkdir -p /opt/maple9.5 </nowiki></pre> * Now, put your Maple 9.5 or Maple 10 cd into your cdrom. It should then be mounted to <code><nowiki>/media/cdrom</nowiki></code>. Maple includes a nice installer script for us that we can run: <pre><nowiki> sudo sh /media/cdrom/installMapleLinuxSU </nowiki></pre> {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconHint2.png%7D%7D We have to run the installer through <code><nowiki>sh</nowiki></code> since cdrom's are mounted <code><nowiki>noexec</nowiki></code> by default. * Follow the instructions in the Maple installer and choose <code><nowiki>/opt/maple9.5</nowiki></code> as the install directory. == Symbolic Links == Now so that we can just type <code><nowiki>maple</nowiki></code> to start Maple or <code><nowiki>xmaple</nowiki></code> to start the graphical version, we need to create symbolic links somewhere in your <code><nowiki>$PATH</nowiki></code>. We will be using <code><nowiki>/usr/local/bin</nowiki></code> which is reserved for local installations: <pre><nowiki> sudo mkdir -p /usr/local/bin sudo ln -s /opt/maple9.5/bin/{x,}maple /usr/local/bin </nowiki></pre> That's it. Have fun taking derivatives ;) == Troubleshooting == * If you receive errors such as <pre><nowiki> nawk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory </nowiki></pre> 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 <pre><nowiki> Waiting for kernel connection...</nowiki></pre> 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 <code><nowiki>export AWT_TOOLKIT=MToolkit</nowiki></code> in a terminal window. Using <code><nowiki>xmaple</nowiki></code> 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 <code><nowiki>jre.IBM_INTEL_LINUX</nowiki></code> (or <code><nowiki>jre.X86_64_LINUX</nowiki></code> on 64-bit systems) by adding <code><nowiki>.old</nowiki></code> to the directory name. * Create a symlink to the system's directory with Java with <code><nowiki>ln -s /usr/lib/jvm/java-6-sun/jre jre.IBM_INTEL_LINUX</nowiki></code> (or <code><nowiki>ln -s /usr/lib/jvm/java-6-sun/jre. jre.X86_64_LINUX</nowiki></code>. * <code><nowiki>xmaple</nowiki></code> 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 <code><nowiki>xmaple</nowiki></code> file to include <code><nowiki>export JRE_BASE='/usr/lib/jvm/java-6-sun/jre'</nowiki></code> at the top. * 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> * If printing fails or there is no window printing dialog, 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)>> ---- [[category:CategoryDocumentation]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:Maple
。