Installing Maple

From RHLUG Wiki
Revision as of 04:58, 4 March 2018 by Wesley (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In order to install Maple you must download the installer from the rose-hulman DFS (Accessing DFS may be helpful to you); a distributed file system that rose-hulman uses to store software.

We will be using the "sftp" utility to download from the dfs server. This is a command line utility.

Type the following command into a terminal and press enter. Substitute ROSE-USERNAME with your username.

sftp -o "HostKeyAlgorithms ssh-dss" ROSE-USERNAME@dfs.rose-hulman.edu

When you press enter this will ask you for your rose-hulman password which you should type in then you will get access to the dfs.

You can use "cd" to move around the virtual file system, "ls" to see what files are available in the current directory, "pwd" to see which directory you're in, and "get" to download a file from the sftp server.

To get to the folder to install Maple, type the following command into sftp and press enter.

cd DFSRoot/Software/Linux_MacOSX_Apps/Maple/Maple\ 2017/

This will bring you to the directory that has the Maple install. Use ls to see the files in the directory

ls

Use the get command to download the Maple installer onto your computer into the /tmp directory.

get Maple2017.0LinuxX64Installer.run /tmp

Now you will find the maple installer in the /tmp directory.

By default the installer file will have read and write privileges but not execute privileges. You can verify this by running ls -l on the file itself:

ls -l /tmp/Maple2017.0LinuxX64Installer.run

which will show

-rw-rw-r--. 1 USERNAME USERNAME 1232147282 DATE /tmp/Maple2017.0LinuxX64Installer.run

the -rw-rw-r--. indicates that there are read and write privileges for the user and the group and read privilages for all other users.

We will use the "chmod" command to change this file permission to be executable. We use "+x" to indicate to add executable permissions.

chmod +x /tmp/Maple2017.0LinuxX64Installer.run

The output of this command is

mode of 'Maple2017.0LinuxX64Installer.run' changed from 0664 (rw-rw-r--) to 0775 (rwxrwxr-x)

which indicates that the file has been given execute access.

Now to run the installer you can type in the command line

/tmp/Maple2017.0LinuxX64Installer.run

From here a graphical UI will appear and you can follow those instructions to install Maple.

You have to use the network install rather than the stand alone. The license server is maple-lg.rose-hulman.edu and use the default port (usually 27000). (Source: https://www.maplesoft.com/documentation_center/maple2017/Maple2017.pdf) If that license server does not work, try maplelm-hv.rose-hulman.edu (Source: https://www.reddit.com/r/rosehulman/comments/4hm1vb/maple_on_linux/).

This means that you have to be on the campus network to access the Maple license server on Linux (to use Rose-Hulman's license of Maple). You can do this by connecting to the eduroam network on campus or by setting up and using an OpenVPN connection to the campus network when off campus.