Меню Рубрики

Установка maya 2017 linux

borgfriend / maya2017install.sh

#! /bin/bash
# Make sure we’re running with root permissions.
if [ ` whoami ` != root ] ; then
echo Please run this script using sudo
echo Just type “sudo !! ”
exit
fi
# Check for 64-bit arch
if [uname -m != x86_64] ; then
echo Maya will only run on 64-bit linux.
echo Please install the 64-bit ubuntu and try again.
exit
fi
# # Create Download Directory
mkdir -p maya2017Install
cd maya2017Install
# # Download Maya Install Files
wget http://edutrial.autodesk.com/NET17SWDLD/2017/MAYA/ESD/Autodesk_Maya_2017_EN_JP_ZH_Linux_64bit.tgz
tar xvf Autodesk_Maya_2017_EN_JP_ZH_Linux_64bit.tgz
# # Install Dependencies
apt-get install -y libssl1.0.0
apt-get install -y gcc
apt-get install -y libssl-dev
apt-get install -y libjpeg62
apt-get install -y alien
apt-get install -y csh
apt-get install -y tcsh
apt-get install -y libaudiofile-dev
apt-get install -y libglw1-mesa
apt-get install -y elfutils
apt-get install -y libglw1-mesa-dev
apt-get install -y mesa-utils
apt-get install -y xfstt
apt-get install -y ttf-liberation
apt-get install -y xfonts-100dpi
apt-get install -y xfonts-75dpi
apt-get install -y ttf-mscorefonts-installer
apt-get install -y libfam0
apt-get install -y libfam-dev
apt-get install -y libgstreamer-plugins-base0.10-0
wget http://launchpadlibrarian.net/183708483/libxp6_1.0.2-2_amd64.deb
# # Install Maya
alien -cv * .rpm
dpkg -i * .deb
echo » int main (vo >» > mayainstall.c
gcc mayainstall.c
mv /usr/bin/rpm /usr/bin/rpm_backup
cp a.out /usr/bin/rpm
chmod +x ./setup
./setup
rm /usr/bin/rpm
mv /usr/bin/rpm_backup /usr/bin/rpm
# # Fix Startup Errors
ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5.2.4 /usr/lib/libtiff.so.3
ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/autodesk/maya2017/lib/libssl.so.10
ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/autodesk/maya2017/lib/libcrypto.so.10
mkdir -p /usr/tmp
chmod 777 /usr/tmp
mkdir -p

/maya/2017/ # # Fix Segmentation Fault Error echo » MAYA_DISABLE_CIP=1 » >>

/maya/2017/Maya.env # # Fix Color Managment Errors echo » LC_ALL=C » >>

/maya/2017/Maya.env chmod 777

/maya/2017/Maya.env # # Maya Camera Modifier Key gsettings set org.gnome.desktop.wm.preferences mouse-button-modifier » « # # Ensure that Fonts are Loaded xset +fp /usr/share/fonts/X11/100dpi/ xset +fp /usr/share/fonts/X11/75dpi/ xset fp rehash echo Maya was installed successfully.

This comment has been minimized.

borgfriend commented Sep 5, 2016 •

Quick installation:

Warning: Do not run the script as su , this will change the home directory and messes up the script.

Post Install:

Display Drivers

Nvidia: Ensure that the proprietary drivers are enabled (Software & Updates > Additional Drivers)

Start Maya

Run Maya by simply typing maya or via the Application Launcher.

Important: DO NOT: run maya as root or with sudo, if you initially launch maya with sudo something with the initial setup goes wrong and maya usually crashes when starting from the Application Launcher.

Remove Installation Files

The install files are not removed by the script. This avoids the issue of re-downloading the files if the script crashes. (Remove line 21-22 from the script)

If the script should crash, please post a comment in which line it caused the issue and (if possible) which steps helped that you did not run into the issue again.

Uninstall Maya

Known Issues:

Intel GPU: Color Management Error

Problem: Maya starts and still throws an Color Management Error
Solution: ?

This comment has been minimized.

Minkiu commented Sep 25, 2016

thank you very much again for this script, I managed to get Maya 2017 without a problem, I did face the «Segmentation fault» problem though, so I just removed the actual install part from your script an ran it from line 38, where the fixes are, and it worked smoothly.

This comment has been minimized.

schlegel11 commented Oct 1, 2016 •

Thanks for this awesome script.
Anyway I got or better get some errors.
I had to create the usr/tmp dir manually (or you can do it via «mkdir /usr/tmp» in the script).
After I started maya I got the «Color management» error (no difference with «LC_ALL=C» in Maya.env so I think it’s the intel gpu)
I also got some » Failed trying to load font : —-helvetica-bold-r-normal--11--*-iso8859-1 » errors.
I’m on Linux Mint 18 cinnamon.
Anyway maya is still running 😉

This comment has been minimized.

rudolfwalter commented Oct 17, 2016 •

The architecture checking part is incorrect (a space is needed inside the brackets). Also, at least on my system, /usr/tmp does not exist, so a chmod on it cannot possibly succeed (I just symlinked /tmp).

Also, take a look at my fork for a simple way to avoid having to use gcc or change things in /usr/bin.

This comment has been minimized.

StefanReinhardt commented Nov 4, 2016 •

Thank you for this awesome script.
Nonetheless i had some small issues with the maya startup. (IMHO depending on VP2.0)
Maya couldn’t find the correct libGL.so from my nvidia drivers. (I have a GTX960) In my case it could be fixed with
sudo ln -s /usr/lib/nvidia-361/libGL.so /usr/autodesk/maya2017/lib/
Just for the record, if someone is running into the similar problems.

I have also some other startuperrors which only pop up but do not yet have any influence.

Maybe someone knows what the issue is here? (I have already checked my libssl and openssl packages. They are correctly installed and on the newest version)

This comment has been minimized.

manuelramirez commented Nov 23, 2016

Thanks to StefanReinhardt, I have the same graphic card and the same issues with VP2.0 for a long time and never had found a solution. In my case in Debian (testing) the fix is (as root):
ln -s /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1 /usr/autodesk/maya2017/lib/libGL.so

The other errors can be fixed changing _hashlib.so in /usr/autodesk/maya2017/lib/python2.7/lib-dynload. There is an alternative for ubuntu in /usr/autodesk/maya2017/support/python/2.7.11 and a README file with instructions, but that not worked for me. Instead I used the file from the system python 2.7. As root:
cd /usr/autodesk/maya2017/lib/python2.7/lib-dynload
mv _hashlib.so rhel_hashlib.so
cp -v /usr/lib/python2.7/lib-dynload/_hashlib.x86_64-linux-gnu.so _hashlib.so
chmod o+r _hashlib.so

I also had another minor error in the ScriptEditor about libaudiofile.so fixed with (as root):
ln -s /usr/lib/libaudiofile.so.0 /usr/autodesk/maya2017/lib/libaudiofile.so

This comment has been minimized.

DennyLindberg commented Dec 21, 2016

Thank you so much for this script! For some reason the fonts did not get activated even though they are included in your dependencies, which results in Maya spamming the log about missing fonts. May I recommend that you add these lines after installation of dependencies to make sure that they are loaded when Maya runs for the first time?

Also please add a warning to users not to run as «sudo su». Superuser gets a different home folder for

which results in some folders being referenced wrong. This breaks some of the steps in your script.

Thanks again for this! It helped immensely.

This comment has been minimized.

borgfriend commented Jan 6, 2017

@rudolfwalter: Thanks for the suggestion. I will not change my script, since using gcc ensures that it will also work on other variants of Ubuntu (like Elementary)

This comment has been minimized.

TobiMayr commented Jan 26, 2017

@borgfriend Thanks a lot sharing this script!
I run into problems very soon though. Right when it converts the rpm’s into deb’s it just gets stuck at one point. I ran it several times and waited up to an hour for it to continue. It is converting the Maya2017_64-2017.0-1720.x86_64.rpm. Here is where it gets stuck:

Does anyone maybe have a clue what could be going on?

This comment has been minimized.

borgfriend commented Jan 28, 2017

The alien command usually takes a very long time to execute. It will directly open the Maya install after that, you need to finish inputting the information in the dialog so that the script can continue

This comment has been minimized.

ericek111 commented Jan 29, 2017

Thanks, the commands worked perfectly on Ubuntu MATE 16.04!

Got my Maya up and running, but I’m having a problem with Krakatoa MY not refreshing PRTLoader particles according to timeline. I need to perform some kind of action with the object (select/unselect/change value) to render particles on according frame in viewport. Any ideas, please? 🙁

This comment has been minimized.

scorpes commented Mar 2, 2017 •

My Maya 2017 crashes when I hit the
playblast option box in an empty scene, this happens only in Ubuntu 16.
Anyone else having this issue?

This comment has been minimized.

scorpes commented Mar 8, 2017

When starting maya 2017, do you have this as well?

This comment has been minimized.

JasonGilholme commented Mar 12, 2017

I’m having trouble running this on a fresh Ubuntu-16.04 — it worked great on 14.04. I»m getting this error after install, when I’m trying to start maya.

Error: found cl_khr_gl_sharing but failed to get function pointersaddSelectTypeItem: (kFailure): Unexpected Internal Failure
registerSubSceneOverrideCreator: (kInvalidParameter): Cannot find item of required type
Failed to register Initialize Maya Modify menu. Cannot add Convert Primitives to Polygons menu item.

This comment has been minimized.

sgvfx commented Apr 13, 2017 •

Hello! I’ve installed Maya 2017 on Ubuntu 16.04 and have a problem. Maya crash when I try startup. Somebody know how to fix this problem?

источник

Install Maya Autodesk on Ubuntu

Autodesk Maya is a popular 3D animation application which is developed by Autodesk; it can run on Windows, MacOS, and Linux.

A utodesk Maya is a popular 3D animation application which is developed by Autodesk; it can run on Windows, MacOS, and Linux. Maya enables professionals who work with visual effects, animated films, and video games to create a highly professional 3D cinematic animations.

Installing Maya Autodesk on Ubuntu

In this tutorial, we are going to cover installing Autodesk Maya on Ubuntu. Though it is a little bit tricky process, we will try to keep it simple as we can.

Pre-Installation Steps

Before installing the Autodesk Maya on Ubuntu, we need to perform some prerequisites to ensure that the installation will start successfully without any errors.

Step 1. Ensure that your system is up-to-date using the following commands:

Step 2. Maya depends on some libraries which are not available in the official Ubuntu package. But we can install those required additional libraries by adding the following repositories.

Adding Required Repository

Step 3. Update your system repository cache.

Update Repository

Step 4. Maya also requires some extra development packages; you can install them using the command-line:

Step 5. To install Maya, you need to convert some rpm packages to dep. To do so, we can use “Alien,” which can be installed using the command-line.

Install Alien To Convert rpm to dep

Step 6. Install the required multimedia libraries.

Install Required Multimedia Libraries

Step 7. Install the required graphics libraries.

Install Required Graphics Libraries

Step 8. Install the required fonts.

Install Required Fonts

After downloading the required fonts packages, the configuration window will now show up like the below screenshot:

Font Package Configuration

All you have to do is pressing “OK” and then move to the next screen, now accept the terms by pressing “Yes.”

Accept License Terms

After installing and configuring the fonts packages, you should have the following output informing that the installation is a success:

After Installing Fonts Successfully

Step 9. Installing extra packages required by Maya.

Install Required Packages To Install Maya

Step 10. Download and install the “libxp6” package.

The output should be something like the below screenshot:

Download lipxp6

After downloading the “libxp6” package, you can setup it using the command:

Install lipxp6

Now let’s move to the next section where we will download and install the Maya.

Installing Autodesk Maya

Step 1. Move to the Downloads directory.

Step 2. Download the Maya installer using the command:

Download Maya Package

Step 3. After the download finishes successfully, you can find the Maya installer in the downloads directory.

Maya Autodesk Downloaded Successfully

Step 4. Now create a new directory to extract the Maya in it.

Step 5. Extract the Maya installer to the previously created directory.

Extract Maya

Step 6. After extracting the Maya installer, navigate to the created directory.

Step 7. You will find all files in the Maya directory are all rpm files. Now let’s convert them to the deb one’s using the command.

Convert rpm Files To deb

The previous command should take some time when converting finishes successfully; you should get the following output.

After Converting rpm Files To deb

Step 8. Install the deb files.

Install The deb Files

Step 9. Create an executable using the commands.

Create an Executable

Step 10. To let the Maya Autodesk work correctly, we need to create some symbolic links to libraries that Maya Autodesk needs.

Linking Library Files

Step 11. Change the permissions on the setup file to run it successfully.

Step 12. Now, let’s start the Maya installer.

Run Maya Installer

The Maya Autodesk installer should start, and you should get the next welcome screen. Press continue.

Maya Installer Welcome Screen

Next, you can select your country, press I accept then continue.

Select Country

Now enter your product serial number, and product key then continue.

Enter Your License Key

Next click on continue to install the selected components.

Select Components To be Installed

When you are done, you will get a successful installation window.

Installation Completed Successfully

After installing Maya successfully, you can move to the next section where we will perform some extra post-installation steps to ensure that Maya will run smoothly on your machine.

Post-Installation Configurations

Step 1. Create a new directory for Maya.

Step 2. Change permission for the previous directory.

Step 3. Create another directory for Maya configuration file.

Step 4. Fix the segmentation fault errors using the command:

Step 5. Fix color management errors.

The output of the previous commands should be something like the below screenshot.

Output Of The Previous Commands

Step 6. Next, we need to change the permissions for the whole files in the Maya directory.

Change Permissions For The Whole Maya Directory

Step 7. Configure fonts for Maya.

Configure Maya Fonts

Step 8. Fix camera modifier key for Maya.

Fix Maya Camera

Step 9. Now everything is configured and ready for Maya to start. Run the command to start Maya:

The next window should appear, you can press I agree to open Maya.

Maya Autodesk Installed Successfully

And voila, Maya has installed successfully and you will get the next window where you can start your project.

Maya Autodesk Interface

Congratulations you have installed Maya Autodesk and configured your machine to run Maya smoothly.

Finally, if you need any further questions, leave a comment, and we will be glad to help you.

источник

Читайте также:  Установка в блок 011