个人工具

“UbuntuHelp:Maple”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第6行: 第6行:
 
* 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.
 
* 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>
 
<pre><nowiki>
sudo mkdir -p /opt/maple9.5
+
  sudo mkdir -p /opt/maple9.5
</nowiki></pre>
+
  </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:
 
* 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>
 
<pre><nowiki>
sudo sh /media/cdrom/installMapleLinuxSU
+
  sudo sh /media/cdrom/installMapleLinuxSU
</nowiki></pre>
+
  </nowiki></pre>
 
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconHint2.png We have to run the installer through <code><nowiki>sh</nowiki></code> since cdrom's are mounted <code><nowiki>noexec</nowiki></code> by default.
 
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconHint2.png 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.
 
* Follow the instructions in the Maple installer and choose <code><nowiki>/opt/maple9.5</nowiki></code> as the install directory.
第17行: 第17行:
 
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:
 
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>
 
<pre><nowiki>
sudo mkdir -p /usr/local/bin
+
  sudo mkdir -p /usr/local/bin
sudo ln -s /opt/maple9.5/bin/{x,}maple /usr/local/bin
+
  sudo ln -s /opt/maple9.5/bin/{x,}maple /usr/local/bin
</nowiki></pre>
+
  </nowiki></pre>
 
That's it.  Have fun taking derivatives ;)
 
That's it.  Have fun taking derivatives ;)
 
== Troubleshooting ==
 
== Troubleshooting ==
 
* If you receive errors such as
 
* If you receive errors such as
 
<pre><nowiki>
 
<pre><nowiki>
nawk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
+
  nawk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
</nowiki></pre>
+
  </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 .
 
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
 
* If Maple GUI launchs well but it fails any calculation saying
 
<pre><nowiki>
 
<pre><nowiki>
Waiting for kernel connection...</nowiki></pre>
+
  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.
 
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)
 
* If you get an empty GUI window with Maple 11 on Ubuntu 7.10 you need to deactivate visual effects (in System - Preferences - Appearance)

2007年12月6日 (四) 10:42的版本

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
  

IconsPage?action=AttachFile&do=get&target=IconHint2.png 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)