ZardoZ, The TechnoMage

Installing Maya 7.x, 8.x or 2008 in Ubuntu
This articles is based over a How-To of Ubuntu forums. This it’s tested from Ubuntu 5.04 to 7.04.
In first step, you need Alien to convert these RPM packets to DEB:
apt-get install csh alien
Copy over all rpm installation files to a local directory.
We need to convert the rpm-packages to debian format using alien. Change to the directory that holds your rpms and run:
for i in *.rpm; do sudo alien -cv $i; done
This will take some time.
(I listen that runing Alien over a FAT filesystem create some problems, so better don’t try that.)
To make Maya install without problems later, we need to create the following link, even though /usr/aw doesn’t exist yet:
sudo ln -s /usr/aw /aw
For Maya 8.0 / 8.5 / 2008 , you also need to run
sudo ln -s /usr/autodesk /autodesk
Now we’re ready to install the Maya packages:
(Change the filenames according to your version.)
sudo dpkg -i awcommon-server_9.5-2_i386.deb
For Maya 8.0 / 8.5 / 2008, you can ignore the warning about chkconfig not being found. Now, run
sudo dpkg -i awcommon_9.5-2_i386.debsudo dpkg -i maya7-0_7.0-375_i386.deb
Now you need to install your license file (aw.dat).
Copy it over to /var/flexlm (create this directory if it doesn’t exist):
sudo cp aw.dat /var/flexlm
Make sure Maya has read-access to this file.
I didn’t need to install aksusbd*.deb.
To stop Maya from complaining at startup about not being able to create a log file, run
sudo mkdir /usr/tmpsudo chmod 777 /usr/tmp
You should be able to run Maya now by running:
mayaIn case you get the error “Can’t Find libXp.so.6″, you need to install libxp6
apt-get install libxp6
Should you get the error “/aw/COM/bin/installKey: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory”:
apt-get install libmotif3
If you get this error :
/aw/maya7.0/bin/maya.bin: /aw/maya7.0/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
you need to create some symlinks (only if you get the error above!):
sudo ln -sf /usr/lib/libstdc++.so.5 /usr/aw/maya/lib/libstdc++.so.5sudo ln -sf /lib/libgcc_s.so.1 /usr/aw/maya/lib/libgcc_s.so.1
To install the documentation files (optional step), run:
sudo dpkg -i maya7-0-docs-en-us_7.0-381_i386.debsudo dpkg -i maya7-0-docserver_7.0-381_i386.deb
You can start up and shut down the documentation server using
/usr/aw/maya/docs/startDocServer.sh/usr/aw/maya/docs/shutdownDocServer.sh
To make the documentation server start up at boot time, create the script /etc/init.d/maya-doc-server (as root) with the following content:
#! /bin/sh## maya-doc-server## Starts and stops the Maya Documentation Server#set -ePATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/binPATH=$PATH:/usr/aw/maya/docsDESC=”Maya Documentation Server”NAME=maya-doc-serverSCRIPTNAME=/etc/init.d/$NAMEcase “$1″ instart)echo -n “Starting $DESC”startDocServer.shecho “.”;;stop)echo -n “Stopping $DESC”shutdownDocServer.shecho “.”;;restart|force-reload)echo -n “Restarting $DESC”shutdownDocServer.shstartDocServer.shecho “.”;;*)echo “Usage: $SCRIPTNAME {start|stop|restart|force-reload}” >&2exit 1;;esacexit 0Now run
sudo chmod +x /etc/init.d/maya-doc-serversudo update-rc.d maya-doc-server defaults
That should basically be all you need for a proper Maya installation on Ubuntu.
There people that get problems witch “Composition” X11 extension and Maya . If is your case, you can disable modifying or adding the following section to /etc/X11/xorg.conf:
Section "Extensions" Option "Composite" "Disable"EndSection
You need to restart your X server to use these new settings. Compiz / Beryl /AWN won’t work anymore because of this.
By default, [Alt] + mouse moves windows in Gnome. However, for Maya you need the Alt-key for rotation, zooming etc.
You can change the key binding to move windows in the Gnome settings. For example, set it to the Super-key, which corresponds to the Windows-key (In Windows section).
If you get font errors (e.g. “Error: Failed trying to load font : -*-helvetica-bold-r-normal–10-*-*-*-*-*-iso8859-”), you might want to check your xorg.conf; especially if you’ve got an ATI driver installed: some users reported that this driver messes up the font paths.
If Maya segfaults on startup, you should double-check your license file.
3 comentarios to “Installing Maya 7.x, 8.x or 2008 in Ubuntu”
Escribe un comentario




very interesting.
i’m adding in RSS Reader
very useful tips! but
i get an error after doing everything according to your suggestions.
grzegorz@dell:~$ maya
bash: /usr/local/bin/maya: /bin/csh: bad interpreter: No such file or directory
launching from “Applications” gives error too :-/
Failed to execute child process /usr/autodesk/maya/bin/maya” (No such file or directory)
but file exists !
Estrange … I suggest that ask in the origin of this info .. in the Ubuntu Forums… In my case works well…