Maple

From ArchWiki
Jump to: navigation, search

From the official website:

Maple is a high-level language and interactive environment for numerical computation, visualization, and programming. Using Maple, you can analyze data, develop algorithms, and create models and applications. The language, tools, and built-in math functions enable you to explore multiple approaches and reach a solution faster than with spreadsheets or traditional programming languages, such as C/C++ or Java.

Maple is proprietary software produced by Maplesoft and requires a license to obtain, install, and activate. Arch is not officially supported, but the installer provided by Maplesoft may work in some cases.

Installation

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: Add instructions/AUR for maple 2015-2017 (Discuss in Talk:Maple#)

Maplesoft provides an installer script that may work on some Arch Linux installations. Version 18 is supported by maple18AUR. Make sure that you have a working Java installation before beginning.

After purchasing your license, download the appropriate Maple release package and unpack it in a location of your choosing. Open a terminal, change to the directory in which you unpacked the files, and run the installer script as a normal user. Installing the program's files inside of a user's home directory is the default option, and allows for easy removal of all components at a later time.

Once the package is installed, you will need to provide a license activation code. This should have been included in your installation archive.

Troubleshooting

Failed to determine Host ID of license server

In order to get Maple to accept your activation code, you may need to install the ld-lsbAUR package. This will fake a standard Linux standard base runtime and convince the authentication server to accept your valid activation code. The lsb-release package does not solve this issue, as the MapleSoft installation support site might lead one to believe.

Blank main window with tiling window managers

See Java#Non-reparenting window managers / Grey window / Programs not drawing properly

3D plots failing

Maple ships with its own C++ runtime, which seems to cause issues with 3D rendering (plot3d, implicitplot3d, ...).

Linking the system's libstdc++ instead seems to fix the problem, for example for Maple 2016 on x64 systems, go to

   maple2016/bin.X86_64_LINUX/system

and link libstdc++.so.6.0.20 and libstdc++.so.6 to your system's version:

   libstdc++.so.6 -> /usr/lib64/libstdc++.so.6
   libstdc++.so.6.0.20 -> /usr/lib64/libstdc++.so.6.0.22

Offline activation

If activation by license key doesn't work, you may try Offline Activation.

Enter your license key in the Purchase Code field, and select either Host ID or Disk Serial Number as the hardware activation method.

To obtain your Host ID, run the following command:

   ip address show | grep link/ether | awk '{ print $2; }' | sed 's/://g'

and use one of the resulting IDs.

Enter your e-mail address (or use a disposable one), then copy the contents into maplehome/license/license.dat.

This should activate Maple on next startup.