Clemson:Maple

From Linux 101, The beginner's guide to all things Linux.

Jump to: navigation, search

Contents

[edit] Introduction

Clemson University has licensed Maple 9.5 for campus-wide use, and a Linux version is available. This version of Maple uses the FlexLM license manager, which means that you will need to be connected to the University network (either physically or through a VPN client) in order to use them. Besides bug fixes, Maple 9.5 contains improvements in the areas of optimization and the solution of ordinary differential equations.

[edit] Getting the Installer

The Linux installation files can be downloaded from the Netware S: (share) drive. There are two ways to get to this: by FTP or by mounting the Novell share. Both of these methods are outlined in detail on the Netware page. Here is an example using the FTP method, using login credentials of a student whose name is Xavier Zero. The first command, cd, changes to your home directory.

cd
ftp ftp.netware.clemson.edu
  User: .xzero.x.students.clemsonu
  Password:
  ftp> cd "//share/share/Software/Licensed/Maple/Maple 9.5/Linux"
  ftp> bin
  ftp> get maple9_5linux.iso.zip
  ftp> quit

If you're not sure about your username please read the Netware page for more details.

[edit] Mounting the Image

Inside the zip archive you downloaded in the last step are two files: a README and an ISO image. The ISO image can be burned to a CD and used as an installation disc, but if you only plan to install it once, it is somewhat pointless to waste a blank CD-R. Instead, we can mount the image on a loopback device and install Maple. Execute the following commands to unzip the Maple installer image into a temporary directory, enter the directory, become root, mount the image and install.

unzip -d maple_installer maple9_5linux.iso.zip
cd maple_installer
su
# mkdir /mnt/iso
# mount -o loop maple9-5linux.iso /mnt/iso

[edit] Installing Maple

Now the Maple ISO image is mounted. Run the installation program.

# /mnt/iso/installMaple

You will be asked to accept a license agreement, and choose which directory to install Maple into. /usr/local/maple9.5 is a good place.

[edit] Clemson License

Enter 1714@apphost.ces.clemson.edu on the License Manager Server screen, and continue with the installation. After the installation is complete, copy the Clemson license file:

# cp /mnt/iso/license.dat /usr/local/maple9.5/license/

[edit] Starting Maple

Maple 9 comes in two modes: standard mode, with a fancier graphics engine, and classic mode, which uses fewer resources. To start in standard mode, simply run the xmaple program.

# exit
/usr/local/maple9.5/bin/xmaple &

To start in classic mode, use the -cw option.

/usr/local/maple9.5/bin/xmaple -cw &

[edit] Finishing Up

After testing your Maple installation, you can unmount the ISO and remove the temporary directory.

su
# cd /
# umount /mnt/iso
# rmdir /mnt/iso
# exit
cd
rm -R maple_installer/

Note: You can add Maple to your KDE or Gnome menu using their respective menu editors. Use the full path to the program, /usr/local/maple9.5/bin/xmaple as the command because it is not in your $PATH. There is a Maple icon in GIF format in /usr/local/maple9.5/java/mapletsicon.gif.

This page was adapted from a document written by Bill Moss.

Personal tools