summarylogtreecommitdiffstats
path: root/maya.install
blob: a08a35d84d8248b1aa042a9916864fc676fd47ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
post_install() {
    echo -e 'MAYA_LICENSE=unlimited\nMAYA_LICENSE_METHOD=standalone' > /usr/autodesk/maya2017/bin/License.env

    /opt/Autodesk/Adlm/FLEXnet/bin/install_fnp.sh /opt/Autodesk/Adlm/FLEXnet/bin/FNPLicensingService

    read -r -d '' POSTINSTALLMGG << EOF
## In order to activate Maya, you need to run its registration setup file and
## enter your registration information.

## Find the folder where your Maya package was built, look under maya-setup,
## and run:

$ export LD_LIBRARY_PATH=/opt/Autodesk/Adlm/R12/lib64/
$ sudo ./setup

## When it asks for your registration information,
## go to http://www.autodesk.com/education/free-software/maya
## and create a student account. Next, select Maya 2017 for the version,
## Linux as the operating system, and English for the language.

## Follow the setup all the way through. Installation will fail, but that's
## normal.
    
## Next, run Maya to activate the licence.

$ maya

## Maya uses the Alt key to move around, so if your window manager uses
## pure Alt for moving the window around, change it to Meta or something.

## If you use Plasma 5 with Kwin, which does use this behavior by default:
## Go to System Settings -> Window Behavior -> Window Actions,
## And change the Modifier Key for Inner Window to Meta

EOF

    echo "$POSTINSTALLMGG"
}