Difference between revisions of "Maple"

From ArchWiki
Jump to navigation Jump to search
(Creation)
 
(update Pkg/AUR templates)
(Tag: wiki-scripts)
 
(20 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Mathematics and science]]
+
[[Category:Numerical analysis]]
 +
[[es:Maple]]
 +
[[ja:Maple]]
 
{{Related articles start}}
 
{{Related articles start}}
 
{{Related|Octave}}
 
{{Related|Octave}}
Line 8: Line 10:
 
From the [http://www.maplesoft.com/products/maple/ official website]:
 
From the [http://www.maplesoft.com/products/maple/ 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 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.
  
== Overview ==
+
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.
MATLAB is proprietary software produced by Maplesoft and requires a license to obtain, install, and activate. Arch is not officially supported. Installing is quite hard.
 
  
 
== Installation ==
 
== Installation ==
Bought the license with the help from my university for €40. Installation worked out, the first problem occurred while activation. Contacted user support and they send me the license.dat file. (Their script didn't work out with arch linux or as they say with OpenJdk java. I should rather try out Oracle's java.)
 
Right now Maple is installed and activated but there's still a problem: Maple cannot connect to my kernel. Still waiting for the reply.
 
  
==Source==
+
{{Expansion|Add instructions/AUR for maple 2015-2017}}
Description mainly copied from Matlab.
+
 
 +
Maplesoft provides an installer script that may work on some Arch Linux installations. Version 18 is supported by {{AUR|maple18}}. Make sure that you have a working [[Java]] installation before beginning.
 +
 
 +
After purchasing your license, [http://www.maplesoft.com/support/downloads/ 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 {{Pkg|ld-lsb}} package. This will fake a standard Linux standard base runtime and convince the authentication server to accept your valid activation code. The {{Pkg|lsb-release}} package does not solve this issue, as the [http://www.maplesoft.com/support/Faqs/detail.aspx?sid=32610 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 [https://www.maplesoft.com/contact/webforms/offlineactivation/index.aspx 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 {{ic|''maplehome''/license/license.dat}}.
 +
 
 +
This should activate Maple on next startup.

Latest revision as of 22:07, 9 November 2018

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-lsb 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.