综合运用之:Softimage 2014 SP2 安装
解压Softimage 2014&Maya 2014 For Linux.rar(4个压缩包打开一个解压即可(拖动其中文件到目标文件夹))把里面的crack 和Softimage-2014-linux64文件夹复制到~/下载中(/home/cc/下载)
打开终端,输入
cd ~/下载/Softimage-2014-linux64/RPMS
sudo dpkg -i *.deb
注:不推荐手动安装,因为手动安装还要等着弹出:安装包质量问题 然后点继续安装才行(如出仍出问题请参照1楼maya安装进行更正)
打开Softimage-2014-linux64把两个setup 属性都设成读写,只读,只读,允许以程序执行文件
在终端中输入:
sudo apt-get install tcsh
注:如果不安装则会出现有的文件无法安装导致安装失败,报错
cd ..
(切换到上层目录)
tcsh
sudo ./setup
点击continue
点击窗口最上方拖动,使之改变大小
点击I ACCEPT
点击OK
点击Tipycal install
NetWork
输入127.0.0.1->Add
Done
Done
这个安装失败的提示不用管
设置crack属性为允许以程序执行文件
打开lic.dat
新开一个终端,输入:
/opt/flexnetserver/lmutil lmhostid hostname
/opt/flexnetserver/lmutil lmhostid ether
报错???怎么回事?
原来是没安装相应的库文件
输入:
sudo apt-get install build-essential fakeroot xtrans-dev x11proto-core-dev x11proto-kb-dev x11proto-input-dev x11proto-xext-dev x11proto-xf86bigfont-dev libxcb1-dev x11proto-xcmisc-dev x11proto-bigreqs-dev lsb-core lsb-base lsb gamin
参考这个图,更改lic.dat相应内容
打开开始菜单,找到Software&Updates->附加驱动
安装英伟达非开源驱动
(就是不是那个结尾为nouveau的那个)
输入:
cd ~/下载/crack
sudo ./crack
sudo gedit /etc/ld.so.conf
(这步貌似没用。。。。但是你如果不这样做,则export后仍有一定几率崩溃,但是,这样做,然后让他成功运行后,删除下面这一条,并使更改生效后,貌似没影响。。。。)
添加下面的内容:
/usr/lib/nvidia-313-updates
注:不这样做运行起来后立刻崩溃,ATI用户请查找libGL.so:sudo find / -name libGL.so.*然后把/usr/lib/nvidia-313-updates设置成找到的相关目录(不是mesa那个!)
保存,关闭,输入下面的命令使更改生效:
sudo /sbin/ldconfig
删除X11库,使之使用系统中的相应库文件:
sudo rm -rf
然后拖动/usr/Softimage/Softimage_2014/Application/mainwin/mw/lib-amd64_linux/X11文件夹到终端中
或者直接输入:
sudo rm -rf /usr/Softimage/Softimage_2014/Application/mainwin/mw/lib-amd64_linux/X11
回车
sudo reboot
重启后
新建一个终端输入:
export LD_LIBRARY_PATH=/usr/lib/nvidia-313-updates
(貌似只有export才是硬道理。。。。)
/opt/flexnetserver/lmgrd
再按ctrl+alt+t新建一个
输入:
/usr/Softimage/Softimage_2014/Application/bin/xsi
注意:1、看到启动界面不要点
启动到如下图所示再点击菜单
不然会崩溃,提示段错误 (核心已转储)
还有一种操作会导致:段错误 (核心已转储)那就是:没export
export LD_LIBRARY_PATH=/usr/lib/nvidia-313-updates
Maya 2014安装
1、解压Softimage 2014&Maya 2014 For Linux.rar到主目录下(双击任意一个part文件然后点解压,或者按ctrl选中多个,然后拖动到 下载 文件夹)的:下载 文件夹
2、请先参考Softimage中的lic.dat配置部分,对lic.dat进行配置
3、打开终端,输入sudo (sudo 后面有空格!),拖动:Maya2014_Install&Crack 到终端,回车,再敲回车
注:光会输命令还不够,还要学会如何制作安装脚本,里面的命令几乎都是前面出现过的
这个脚本原先是这个样的:
#!/bin/bash
read -p "first of all you must unrar all the crack files in the script execution dir along with maya installation files and the modified (according to crack instructions) lic.dat [enter to contunue]"
#ubuntu 13.04 setup script
sudo apt-get install libssl1.0.0 libcrypto++9 libxpm4 libxp6 libxmu6 libxi6 libxt6 libxext6 libstdc++6 libx11-6 libtiff5 libxinerama libfam0 libsm6 libice6 libxau6 libxcb1 libjpeg62 libffi6 liborc0.4.0 libnss3 libnspr4 alien csh tcsh lsb libmotif3
sudo ln -s /usr/lib/x86_64-linux-gnu/libssl3.so /usr/lib/libssl.so.10
sudo ln -s /usr/lib/libcrypto++.so.9 /usr/lib/libcrypto.so.10
for i in `ls | grep .rpm`
do sudo alien -cdk $i
done
sudo dpkg -i *.deb
sudo cp libadlmint.so.7.0.51 /usr/autodesk/matchmover2014-x64/libadlmint.so.7.0.51
sudo cp libadlmint.so.7.0.51 /usr/autodesk/maya2014-x64/lib/libadlmint.so.7.0.51
sudo cp adskflex /opt/flexnetserver/adskflex
sudo cp lic.dat /opt/flexnetserver/lic.dat
tcsh
setenv LD_LIBRARY_PATH /opt/Autodesk/Adlm/R7/lib64
sudo /usr/autodesk/maya2014-x64/bin/adlmreg -i N 657F1 657F1 2014.0.0.F 666-69696969 /var/opt/Autodesk/Adlm/Maya2014/MayaConfig.pit
exit
sudo echo -e 'MAYA_LICENSE=657F1\nMAYA_LICENSE_METHOD=network' > /usr/autodesk/maya2014-x64/bin/License.env
sudo echo -e 'SERVER 127.0.0.1 0\nUSE_SERVER' > /var/flexlm/maya.lic
sudo mkdir /usr/tmp
sudo chmod -R 777 /usr/tmp
chmod +x /opt/flexnetserver/lmgrd
/opt/flexnetserver/lmgrd -z -c /opt/flexnetserver/lic.dat&
read -p "thats it! the license server has alredy been started however you should add /opt/flexnetserver/lmgrd -z -c /opt/flexnetserver/lic.dat& to your startup applications init.d or whatever so it starts automatically after reboot, just type maya to start it [enter to contunue]"
经我改后:
#!/bin/bash
read -p "first of all you must unrar all the crack files in the script execution dir along with maya installation files and the modified (according to crack instructions) lic.dat [enter to contunue]"
LIBCRYPTO="/usr/lib/x86_64-linux-gnu/libcrypto.so.10"
LIBSSL="/usr/lib/x86_64-linux-gnu/libssl.so.10"
sudo mkdir /usr/tmp
sudo chmod -R 777 /usr/tmp
sudo mkdir /usr/tmp/.flexlm
sudo mkdir /usr/local/flexlm
sudo mkdir /usr/local/flexlm/licenses
sudo cp ~/下载/crack/lic.dat /usr/local/flexlm/licenses/license.dat
sudo chmod 777 /usr/local/flexlm/licenses/license.dat
#ubuntu 13.04 setup script
sudo apt-get update
sudo apt-get install -y libssl1.0.0 libcrypto++9 libxpm4 libxp6 libxmu6 libxi6 libxt6 libxext6 libstdc++6 libx11-6 libtiff5 libxinerama1 libsm6 libice6 libxau6 libxcb1 libjpeg62 libffi6 liborc-0.4-0 libnss3 libnspr4 alien csh tcsh lsb libmotif4 libaudiofile-dev libglw1-mesa elfutils gamin libglw1-mesa-dev mesa-utils xfs xfstt ttf-liberation xfonts-100dpi xfonts-75dpi ttf-mscorefonts-installer libaudiofile1 libaudiofile-dbg libgamin0
#Install
cd ~/下载/Maya2014_Install
sudo dpkg -i *.deb
#Crack
sudo mv /usr/autodesk/matchmover2014-x64/libadlmint.so.7.0.51 /usr/autodesk/matchmover2014-x64/libadlmint.so.7.0.51_backup
sudo cp ~/下载/crack/libadlmint.so.7.0.51 /usr/autodesk/matchmover2014-x64/libadlmint.so.7.0.51
sudo chmod 644 /usr/autodesk/matchmover2014-x64/libadlmint.so.7.0.51
sudo mv /usr/autodesk/maya2014-x64/lib/libadlmint.so.7.0.51 /usr/autodesk/maya2014-x64/lib/libadlmint.so.7.0.51_backup
sudo cp ~/下载/crack/libadlmint.so.7.0.51 /usr/autodesk/maya2014-x64/lib/libadlmint.so.7.0.51
sudo chmod 644 /usr/autodesk/maya2014-x64/lib/libadlmint.so.7.0.51
sudo mv /opt/flexnetserver/adskflex /opt/flexnetserver/adskflex_backup
sudo cp ~/下载/crack/adskflex /opt/flexnetserver/adskflex
sudo chmod 555 /opt/flexnetserver/adskflex
#此处如果有sudo,这条命令就会失效,导致运行时提示:error 41
/usr/autodesk/maya2014-x64/bin/adlmreg -i N 657F1 657F1 2014.0.0.F 666-69696969 /var/opt/Autodesk/Adlm/Maya2014/MayaConfig.pit
sudo echo -e 'MAYA_LICENSE=657F1\nMAYA_LICENSE_METHOD=network' > /usr/autodesk/maya2014-x64/bin/License.env
#此处如果没有有此条命令,则运行时提示:error 20
/opt/flexnetserver/lmutil lmpath -add adskflex /usr/local/flexlm/licenses/license.dat
#font issue fix
xset +fp /usr/share/fonts/X11/100dpi/
xset +fp /usr/share/fonts/X11/75dpi/
#fixing a few lib issues
sudo cp ~/下载/Maya2014_Install/libadlmPIT* /usr/lib/libadlmPIT.so.7
sudo cp ~/下载/Maya2014_Install/libadlmutil* /usr/lib/libadlmutil.so.7
sudo chmod 777 /usr/lib/libadlmPIT.so.7
sudo chmod 777 /usr/lib/libadlmutil.so.7
#Libssl Link
if [ -f "$LIBSSL" ]
then
echo "$LIBSSL found. Using it."
ln -s $LIBSSL /usr/autodesk/maya2014-x64/lib/libssl.so.10
else
echo "$LIBSSL not found. Using Autodesk’s libssl"
sudo ln -s /usr/autodesk/maya2014-x64/support/openssl/libssl.so.6 /usr/autodesk/maya2014-x64/lib/libssl.so.10
fi
#LibCrypto Link
if [ -f "$LIBCRYPTO" ]
then
echo "$LIBCRYPTO found. Using it."
ln -s $LIBCRYPTO /usr/autodesk/maya2014-x64/lib/libcrypto.so.10
else
echo "$LIBCRYPTO not found. Using Autodesk’s libssl"
sudo ln -s /usr/autodesk/maya2014-x64/support/openssl/libcrypto.so.6 /usr/autodesk/maya2014-x64/lib/libcrypto.so.10
fi
# libtiff
sudo ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5 /usr/lib/libtiff.so.3
sleep 2s
#libjpeg
sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2 /usr/lib/libjpeg.so.62
sudo chmod +x /opt/flexnetserver/lmgrd
read -p "thats it! the license server has alredy been started however you should add /opt/flexnetserver/lmgrd to your startup applications init.d or whatever so it starts automatically after reboot, just type maya to start it [enter to contunue]"
/opt/flexnetserver/lmgrd
参考:
#!/bin/bash
#Heith Seewald 2012
#Feel free to extend/modify to meet your needs.
#Maya on Ubuntu v.1
#This is the base installer... I’ll add more features in later versions.
#if you have any issues, feel free email me at
[email protected]
#this version is updated by insomniac_lemon... issues were fixed and it has been converted to 2014, use at your own risk...
#testing in a VM first is recommended... (at least until I test it again or someone confirms it works without tinkering)
#### Lets run a few checks to make sure things work as expected.
#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
#Setup a few vars
export MAYAINSTALL='mayaTempInstall'
export RPM_INSTALL_PREFIX=/usr
export LD_LIBRARY_PATH=/opt/Autodesk/Adlm/R5/lib64/
LIBCRYPTO="/usr/lib/x86_64-linux-gnu/libcrypto.so.10"
LIBSSL="/usr/lib/x86_64-linux-gnu/libssl.so.10"
MAYAURL="
http://trial.autodesk.com/SWDLDNET3/201 ... _64bit.tgz"
#Install Message
echo "You’re about to download and install Autodesk Maya 2014"
echo ""
echo "Do you wish to continue [Y/n]?"
read RESPONSE
case "$RESPONSE" in
n*|N*)
echo "Install Terminated"
exit 0;
esac
#Get serial number
echo "If you have not already done so, you can get your serial number from:
http://students.autodesk.com"
echo "Enter the serial number"
read SERIALNUMBER
echo ""
#Create a temp folder for the install files
if [ ! -d "$HOME/mayaInstaller" ]; then
mkdir $HOME/$MAYAINSTALL
echo "Creating $MAYAINSTALL folder"
echo ""?
fi
export INSTALLDIR=$HOME/$MAYAINSTALL
cd $INSTALLDIR
#Get Maya
wget --referer="
http://trial.autodesk.com" --content-disposition $MAYAURL
MAYAURL="
http://trial.autodesk.com/SWDLDNET3/201 ... _64bit.tgz"
# Install Dependencies
#I changed this a bit because for some reason alien would never install for me
#also note -y was added so you can leave the script alone and not having it snag on asking for user input
#well, the MS agreement will still stop it
sudo apt-get install -y alien
sudo apt-get install -y csh tcsh libaudiofile-dev libglw1-mesa elfutils
sudo apt-get install -y gamin libglw1-mesa-dev mesa-utils xfs xfstt
sudo apt-get install -y ttf-liberation xfonts-100dpi xfonts-75dpi
sudo apt-get install -y ttf-mscorefonts-installer
sleep 3s
#This is in case of name change (due to new service pack or something)
MAYAFILE=Autodesk*.tgz
# Extract Maya Install Files
tar xvf $INSTALLDIR/$MAYAFILE
#prevents composite from messing up your system.... (it happened to me with 2013, I had to re-install...)
rm $INSTALLDIR/Composite*
#this is to free up some space. comment out this line and the wget line
#if you are doing testing that will require using the script multiple times
sudo rm $INSTALLDIR/Autodesk_Maya*
# Convert rpms to debs
for i in $INSTALLDIR/*.rpm; do
sudo alien -cv $i;
done
sleep 2s
#again, space saving step.
sudo rm $INSTALLDIR/*.rpm
#install the debs
sudo dpkg -i $INSTALLDIR/*.deb
#Setup For Mental Ray.
sudo mkdir /usr/tmp
sudo chmod 777 /usr/tmp
#font issue fix
xset +fp /usr/share/fonts/X11/100dpi/
xset +fp /usr/share/fonts/X11/75dpi/
#fixing a few lib issues
sudo cp $INSTALLDIR/libadlmPIT* /usr/lib/libadlmPIT.so.7
sudo cp $INSTALLDIR/libadlmutil* /usr/lib/libadlmutil.so.7
# License Setup:
sudo echo -e 'MAYA_LICENSE=unlimited\nMAYA_LICENSE_METHOD=stand alone' > /usr/autodesk/maya2014-x64/bin/License.env
#Notice the lack of sudo.
/usr/autodesk/maya2014-x64/bin/adlmreg -i S 657F1 657F1 2014.0.0.F $SERIALNUMBER /var/opt/Autodesk/Adlm/Maya2014/MayaConfig.pit
# symbolic links:
# Its preferred to use the libssl and libcrypto that’s included with your system... so we’ll try that first.
# We’ll use the files included by autodesk as a fallback
#Libssl Link
if [ -f "$LIBSSL" ]
then
echo "$LIBSSL found. Using it."
ln -s $LIBSSL /usr/autodesk/maya2014-x64/lib/libssl.so.10
else
echo "$LIBSSL not found. Using Autodesk’s libssl"
sudo ln -s /usr/autodesk/maya2014-x64/support/openssl/libssl.so.6 /usr/autodesk/maya2014-x64/lib/libssl.so.10
fi
#LibCrypto Link
if [ -f "$LIBCRYPTO" ]
then
echo "$LIBCRYPTO found. Using it."
ln -s $LIBCRYPTO /usr/autodesk/maya2014-x64/lib/libcrypto.so.10
else
echo "$LIBCRYPTO not found. Using Autodesk’s libssl"
sudo ln -s /usr/autodesk/maya2014-x64/support/openssl/libcrypto.so.6 /usr/autodesk/maya2014-x64/lib/libcrypto.so.10
fi
# libtiff
sudo ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.4.3.4 /usr/lib/libtiff.so.3
sleep 2s
#libjpeg
sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2 /usr/lib/libjpeg.so.62
#Everything should work now...
echo "Installation Complete."
echo ""
echo "Start Maya Now?"
read RUNNOW
case "$RUNNOW" in
n*|N*)
echo "You can run maya any time by typing maya into the terminal"
exit 0;
esac
maya
到了最后一步出现下图情况时,如果你安装过英伟达驱动/ATI,那么请你
sudo gedit /etc/ld.so.conf
(这步貌似没用。。。。但是你如果不这样做,则export后仍有一定几率崩溃,但是,这样做,然后让他成功运行后,删除下面这一条,并使更改生效后,貌似没影响。。。。)
添加:
/usr/lib/nvidia-313-updates
保存,关闭
直接敲回车,并且新开一个终端,输入:
export LD_LIBRARY_PATH=/usr/lib/nvidia-313-updates
(貌似只有export才是硬道理。。。。)
maya
如果你没装过英伟达/ATI驱动那么请:
关闭那个终端然后:
打开开始菜单,找到Software&Updates->附加驱动
安装英伟达非开源驱动
(就是不是那个结尾为nouveau的那个)
然后新开一个终端,输入:
sudo gedit /etc/ld.so.conf
(这步貌似没用。。。。但是你如果不这样做,则export后仍有一定几率崩溃,但是,这样做,然后让他成功运行后,删除下面这一条,并使更改生效后,貌似没影响。。。。)
添加
(注意是添加,不是覆盖!):
/usr/lib/nvidia-313-updates
注:不这样做运行起来后立刻崩溃,ATI用户请查找libGL.so:sudo find / -name libGL.so.*然后把/usr/lib/nvidia-313-updates设置成找到的相关目录(不是mesa那个!)
保存,关闭,输入下面的命令使更改生效:
sudo /sbin/ldconfig
重启:
sudo reboot
重启机器后,打开终端,输入:
export LD_LIBRARY_PATH=/usr/lib/nvidia-313-updates
(貌似只有export才是硬道理。。。。)
/opt/flexnetserver/lmgrd
然后新开一个终端,输入:
maya
为了方便启动,我们来新建快捷方式:
右键,新建一个名为Autodesk Maya 2014.desktop的空白文档
输入:
[Desktop Entry]
Name=Autodesk Maya 2014
Type=Application
Comment=Run Autodesk Maya 2014
Categories=Application;Graphics
Icon=/usr/autodesk/maya2014-x64/icons/mayaico.png
Exec=/usr/autodesk/maya/bin/maya
Encoding=UTF-8
保存
注:输入完文件名直接双击图标打开,不要点到下面的文件名,不然你只能打开终端,然后输入
sudo gedit 然后把那个文件拖到终端中 ,然后敲回车,来解决了。。。
然后对着这个新建好的图标旁边点一下,使重命名生效(Ubuntu就这好处,可以延迟重命名,不知其他linux是否一样),然后右键->属性->权限->允许以程序执行文件:勾选
然后快捷方式就生成了~
下面是Softimage:
命名为Autodesk Softimage 2014
注:这里只是提供桌面快捷方式,但在实际运行中发现:双击快捷方式仅能让maya启动,如果启动softimage就会崩溃,而用终端输入/usr/Softimage/Softimage_2014/Application/bin/xsi运行却很好,所以偷懒就别想了~
[Desktop Entry]
Name=Autodesk Softimage 2014
#注:如果这两处不一样(即这行和文件名不一样),会自动选择此处的文件名(此行勿复制)
Type=Application
Comment=Run Autodesk Softimage 2014
Categories=Application;Graphics
Icon=/usr/Softimage/Softimage_2014/XSISDK/examples/workgroup/Addons/ConstraintOps/netview_ConstraintOps.jpg
Exec=/usr/Softimage/Softimage_2014/Application/bin/xsi
Encoding=UTF-8
#注:如果你日后对这个快捷方式重命名了,那么你以后新建一个叫Autodesk Softimage 2014.desktop 的文件时就会提示存在同名文件,就是因为虽然文件名看起来改了,但实际还是以Name=Autodesk Softimage 2014为准,所以要修改就在属性中去掉执行权限,然后开终端输入sudo gedit 然后拖动该文件到终端,编辑完后保存,然后再加上执行权限就可以了!
注:实在不行,先重装系统然后先安310-update版本的驱动,然后再换313-update版本驱动,把上文命令中的313全部换成310,然后能运行了,再换回来(不只是换驱动,命令要重新输入一遍,我指的不是安装过程,而是:
sudo gedit /etc/ld.so.conf(这步貌似没用。。。。但是你如果不这样做,则export后仍有一定几率崩溃,但是,这样做,然后让他成功运行后,删除下面这一条,并使更改生效后,貌似没影响。。。。)
添加下面的内容:
/usr/lib/nvidia-313-updates
注:不这样做运行起来后立刻崩溃,ATI用户请查找libGL.so:sudo find / -name libGL.so.*然后把/usr/lib/nvidia-313-updates设置成找到的相关目录(不是mesa那个!)
保存,关闭,输入下面的命令使更改生效:
sudo /sbin/ldconfig
新建一个终端输入:
export LD_LIBRARY_PATH=/usr/lib/nvidia-313-updates (貌似只有export才是硬道理。。。。)
),注意:如果你用310而不是310-update,那上文命令后面的update也要去掉
Softimage 2014和Maya 2014是可以同时安装的(经我分别安装了Softimage和maya后整合后出问题了,为了解决这个问题,又重装了30多次才解决。。。。)
话说平均1天重装10次,我捣鼓了一个多星期,至少得重装了100次了,这还不算查资料的时间,写教程很不容易,麻烦大家多支持下,谢谢!
http://pan.baidu.com/share/link?shareid ... =353364615
注:太恼人了,刚刚成功运行写出教程,再按教程装一遍又不行了,报:段错误 (核心已转储)
Softimage居然不支持Ubuntu,真是的,上面是下载地址,你们看看能不能装上,反正我要换Fedora了,实在对不起了.......