ubuntu安装maya2012整理

前端之家收集整理的这篇文章主要介绍了ubuntu安装maya2012整理前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

参考文章1

参考文章2

参考文章3

参考文章5
参考文章4

问题 该信息是因为没有安装64位的libXp.so.6动态链接库解决办法是到http://rpmfind.net/linux/rpm2html/search.PHP?query=libXp.so.6%28%29%2864bit%29上下载
   libXp-1.0.2-6.fc24.x86_64.rpm文件,然后双击打开,把里面的libXp.so.6和libXp.so.6.2.0拷贝出来,直接放到目录/usr/local/exelis/idl82/bin/bin.linux.x86_64/下面

问题 启动的时候输入sudo maya 找不到

则需要从这里启动

sudo /usr/autodesk/maya2012-x64/bin/maya2012


It took some trial and error to successfully install and license Maya 2016 in Ubuntu 14.04,and here’s how I did it.

First off,let’s install some libraries. It’s possible that not all these libraries are needed as the list of libraries stem from installation instructions from an earlier version of Maya.

sudo apt-get install csh tcsh libaudiofile-dev libglw1-mesa elfutils gamin libglw1-mesa-dev mesa-utils xfstt ttf-liberation ttf-mscorefonts-installer xfonts-100dpi xfonts-75dpi alien

Maya needs write access to a temp folder,which does not exist by default in Ubuntu 14.04. Let’s create it and make it writeable.

sudo mkdir /usr/tmp
sudo chmod 777 /usr/tmp

Since Ubuntu cannot deal with RPM packages,we need to convert these to .deb packages using alien. This is a fairly simple process.

sudo alien -cv *.rpm

Then we need to install the .deb packages.

sudo dpkg -i *.deb

Now you will have both Maya installed and its Adlm (licensing) software installed. In order to proceed from here we need to make sure Maya is going to find some libraries which it will be needing. This entails creating symlinks to existing files in Ubuntu and have them placed where Maya is looking for them. We might also have to install libssl,as shown below.

sudo ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5.2.0 /usr/autodesk/maya2016/lib/libtiff.so.3

sudo apt-get install libssl1.0.0 libssl-dev

sudo ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /usr/autodesk/maya2016/lib/libcrypto.so.10

sudo ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/autodesk/maya2016/lib/libssl.so.10

Setting up the licensing

Now it’s time to make sure the licensing works. This one took a while to figure out,and it turns out the easiest route is to use the bundled setup script which comes with the installation files.

But first,set an environment variable,which will make and Adlm library available temporarily:

export LD_LIBRARY_PATH=/opt/Autodesk/Adlm/R11/lib64/

Go into the unpacked installation folder which contained the RPM files and look for a file called “setup”. Now it’s important that you stand inside this folder when executing the following (some libraries required might not be found if you don’t):

chmod +x setup
sudo ./setup

Now enter your licensing information. When you proceed in the setup wizard,you’ll notice that the installation will fail. This just means it is unable to install the RPMs (which we already converted to deb packages and installed prevIoUsly). However,it should have been successful with setting up the licensing for you:

# /var/opt/Autodesk/Adlm/Maya2016/MayaConfig.pit
(binary file)

# cat /var/opt/Autodesk/Adlm/Maya2016/install.env
ADLMLICENSETYPE=<network|standalone>
ADLMPRODUCTKEY=<PRODUCT_NUMBER>
ADLMPRODUCTVERSION=2016.0.0.F
ADLMSERIALNUMBER=<SERIAL_NUMBER>

# cat /usr/autodesk/maya2016/bin/License.env
MAYA_LICENSE=<PRODUCT_NUMBER>
MAYA_LICENSE_METHOD=<network|standalone>

# cat /var/flexlm/maya.lic
SERVER <SERVER_NAME_OR_IP> 0
USE_SERVER

We’re all done. Start Maya:

sudo /usr/autodesk/maya2016/bin/maya

For some reason,not sure why,I can’t start Maya without root privileges. Let me know if you know why – or any other way I can improve this guide by commenting below!

Happy rendering!



附参考文章

http://blog.sina.com.cn/s/blog_c3c7bc4e0102v14w.html

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

经过上面的各种折腾之后



1.首先我们准备安装maya的库环境。按ctrl+alt+t打开终端,输入以下命令:

sudoapt-get install csh tcsh libaudiofile-dev libglw1-mesa elfutilsgamin libglw1-mesa-dev mesa-utils xfs xfstt ttf-liberationttf-mscorefonts-installer xfonts-100dpi xfonts-75dpi alien

PS:在终端输入以上命令时,提示xfs已经不存在或被替代了,所以我删掉了xfs。另外
ttf-mscorefonts-installer会下载失败,所以我也删掉它。最终我在终端输入的只有:

sudo apt-getinstall csh tcsh libaudiofile-dev libglw1-mesa elfutils gaminlibglw1-mesa-dev mesa-utils xfstt ttf-liberation xfonts-100dpixfonts-75dpi alien

然后输入密码,等待它下载安装完成。

2.解压我们下载的maya2012的压缩包。我解压在home目录下,而且文件重命名为maya。我的用户名是spacingx,所以在终端下进入maya目录的命令是:

cd /home/spacingx/maya

下一步就是将rpm转变为deb,命令是:

for i in *.rpm; do sudo alien -cv $i;done

这是一个漫长的过程,我的电脑差不多10分钟,慢慢等吧。

3.完了之后呢,又开始安装那个文件夹里面的所有deb包 ,方便起见直接终端输入:

dpkg -i *.deb

回车,继续等。。。。(这个用不了多久的)。

4.好了,安装也完成了,现在就来捣鼓后续设置吧。

首先创建一个tmp文件夹:

mkdir /usr/tmp

接着改变文件夹权限

chmod 777 /usr/tmp

5.然后加入许可证类型:

/usr/autodesk/maya2012-x64/bin/licensechooser/usr/autodesk/maya2012-x64/ standalone unlimited

6.再然后加入seril number:

/usr/autodesk/maya2012-x64/bin/adlmreg -i S657D1 657D1 2012.0.0.F 666-68686868/var/opt/Autodesk/Adlm/Maya2012/MayaConfig.pit

PS:终端运行上面那句command的时候会提示libadlmPIT.so.4libadlmutil.so.4不存在,没关系,先执行以下两个命令,再重新执行上面的步骤6:

sudo cp
libadlmPIT.so.4/usr/lib

sudo cp libadlmutil.so.4 /usr/lib

再导出maya的库文件地址

exportLD_LIBRARY_PATH=/opt/Autodesk/Adlm/R1/lib64/

7.后续也设置完成了,现在就该破解了吧,下载破解文件,解压文件文件夹。我将破解文件解压在home目录下的crack文件夹下,所以我在终端进入破解文件夹的命令是:

cd/home/spacingx/crack

由于安装破解文件要root用户的权限,所以先输入以下命令取得root权限:

su -

按示输入root用户密码后取得root权限。看提示符前的用户名为root。(我的是root@Aspire-5750G:~#)

接着安装破解文件

./crack2012.2

这时已经完成破解。

8.安装也安装完成了,破解也破解完成了,有点小激动吧?迫不及待的想看到熟悉的maya loading界面吧?终端输入 maya , ,又是那个可恶的lib什么什么的缺失提示。不激动,不激动。我们一个一个来解决

sudo ln -s/usr/autodesk/maya2012-x64/support/openssl/libssl.so.6/usr/autodesk/maya2012-x64/lib/libssl.so.6

sudo ln -s/usr/autodesk/maya2012-x64/support/openssl/libcrypto.so.6/usr/autodesk/maya2012-x64/lib/libcrypto.so.6

sudo ln -s/usr/autodesk/maya2012-x64/support/openssl/libcrypto.so.6/usr/lib/libcrypto.so.0.9.8

再然后呢,到 /usr/lib/x86_64-linux-gnu找到你的libtiff.so.x.x.x(我的是5.2.0),根据你的libtiff.so.x.x.x文件名输入以下命令:

sudo ln -s/usr/lib/x86_64-linux-gnu/libtiff.so.5.2.0/usr/lib/libtiff.so.3

终端输入:

sudo maya

稍等一会,哈哈。熟悉的maya loading 终于出现了。。。。。可以开始工作了。。。。


可是当我们试图使用一个image plane的import image的时候,我靠。。。忙活了半天,maya竟然崩溃了。。。肿么办呢?这就要修改我们的mayalancher的script了。再一次打开终端吧:

sudo pico/usr/autodesk/maya2012-x64/bin/maya

找到 setenv LIBQUICKTIME_PLUGIN_DIR"$MAYA_LOCATION/lib" 这句在后面加上

setenv LD_PRELOAD/usr/lib/x86_64-linux-gnu/libjpeg.so.62

OK,ctrl+x 退出,y保存。回车。

PS:确认上述路径有没有libjpeg.so.62,如果没有那就:

sudo apt-get install libjpeg62

别忙急着打开maya哟,就差一步了:

exportLD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjpeg.so.62

好了,好了,
终端 maya ,哈哈,image plane正常工作了。。。

慢慢享受maya吧。哈哈。
原文链接:https://www.f2er.com/ubuntu/355544.html

猜你在找的Ubuntu相关文章