Install Guide for Maya 2016 Extension 2 on Arch Linux


If like me, you hate leaving your lovely Arch Linux environment to boot into Windows just so you can use Maya, I have created a handy little install guide to help you get Maya 2016 Extension 2 up and running on your Arch System. 

Install Guide for Maya 2016 Extension 2 on Arch Linux

This guide assumes you are using a Student Version of Autodesk Maya 2016 Extension 2
* Note: This install guide "SHOULD" work for most other versions of Maya as well. 

This install guide is adapted for Arch Linux systems based off the Official Maya 2016 Ext. 2 Install guide located here:

    - Do a full system upgrade: sudo pacman -Syu

    - Install gcc-libs-multilibs: sudo pacman -Syu gcc-libs-multilibs

    - Install these addtional required packages and fonts:

    - GCC should take care of most of the libraries that you might be missing to run Maya. Most importantly, make sure the Dependent OpenGL Libraries are installed, and make sure the Dependent X Windows libraries are installed. 

    - Make sure you install the fonts!

    - If running KDE or GNOME make sure you follow instructions for configuring your desktop environment's Alt Key. 

GRAB YOUR MAYA LICENSE INFO (you will need this):
    - Autodesk Maya 2016 Extension 2 Product Key: 657H1
    - Autodesk Maya 2016 Extension 2 Product Serial Number: <your-serial-number>
    - Autodesk Maya 2017 Product Key: 657I1


1. Download the tar archive for the version of Maya you would like to install

2. Make sure you have a license. This guide assumes you are using a Standalone Version of Maya, not a Network License

3. Open a terminal, Create a new directory:

    cd ~/home/user/
    mkdir /builds

4. Extract the Maya packages from the downloaded archive into:  /home/user/builds

5. cd to the build directory
(something like: /home/user/builds/Autodesk_Maya_2016_EXT2_EN_Linux_64bit) 

    Using sudo bsdtar, do:

    sudo bsdtar Maya2016.5_64-2016.5.0-1224.x86_64.rpm
    sudo bsdtar adlmapps12-12.0.32-0.x86_64.rpm
    sudo bsdtar adlmflexnetclient-12.0.32-0.x86_64.rpm

    (FlexnetServer is for Network Licensing only, do not bsdtar that RPM unless using a Network license)

6. This will unpack and install the RPM archives into the proper directories. Namely, /opt, /usr and /var

7. Now edit the License.env file located here: /usr/autodesk/maya2016.5/bin (make sure to save the file) to look like this (file directory is version specific):


8. Now we need to set the shared libraries. In your terminal session run:
     export LD_LIBRARY_PATH=/opt/Autodesk/Adlm/R12/lib64/

     - Note: This may not have captured all shared libraries. Using your file manager, check to see if the path above exists and is correct. The subdir /R12/ may be different. If that is the case change the export command to point to the correct subdir. If for some reason this doesn't work you may need to create sym links like so:

     <lib> corresponds to the name of a library such as: 

     sudo ln -s /opt/Autodesk/Adlm/R12/lib64/<lib> /usr/lib64/<lib>

     - You will know if you need to create symlinks after installation when you try to run maya.bin. If you get an error it will tell you what lib you are missing. Using the command above, create a symlink for it. 

9. Now cd to the Maya2016.5 bin directory:
     cd /usr/autodesk/maya2016.5/bin

10. Now we are going to register Maya with the Autodesk Licensing software. Run the command below:

    NOTE: <productKey1> <productKey2> are your product keys, and <serialNum> is your serial number. 

    sudo /usr/autodesk/maya2016.5/bin/adlmreg -i S <productKey1> <productKey2> 2016.0.0.F <serialNum> /var/opt/Autodesk/Adlm/Maya2016.5/MayaConfig.pit

11. If this works properly you will get the following output:

    "Serial Number exists. Skip registration."
    "Registration Succeeded."

12. If you get neither of these messages, you probably got an error code. These error codes correspond to the ADLM service. You can find a big list of what they all mean here:

    Most common codes:

    Error Code: 13 - ADLM has already been initialized
    Error Code: 26 - The license feature name was not found

13. At this point, Maya should be licensed and you're ready to go. Pop open your favorite file manager, and go the Maya directory here: /usr/autodesk/maya2016.5/bin

    Click the maya.bin file and make sure to run it in the terminal, that is the only way Maya will start. You should set the default option for this file to be "Run in terminal"

14. Create a desktop configuration file for Maya. Save it in: /usr/share/applications as "Maya2016.5.desktop" and copy that desktop configuration over to /home/user/.local/share/applications

A sample desktop configuration file has been provided for you here:
[Desktop Entry]
Comment=Run Autodesk Maya 2016 Extension 2
Name=Autodesk Maya 2016 Extension 2

DONE. Maya 2016 Extension 2 (or your favorite version) should now be installed and working on your Arch System. No more booting into Windows for you :) 

- J.