Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mortenbh/38b8b30c4d7c190b9731fcd0e4497e47 to your computer and use it in GitHub Desktop.
Save mortenbh/38b8b30c4d7c190b9731fcd0e4497e47 to your computer and use it in GitHub Desktop.
Install Maya 2020, Arnold and Bifrost on Ubuntu Focal Fossa (20.04)

Download and install dependencies

sudo apt install wget alien libjpeg62 libcurl4 libaudiofile1 libtinfo5 python mesa-opencl-icd xfonts-100dpi xfonts-75dpi

wget http://ftp.br.debian.org/debian/pool/main/o/openssl1.0/libssl1.0.2_1.0.2u-1~deb9u1_amd64.deb
wget https://download-ib01.fedoraproject.org/pub/fedora/linux/releases/33/Everything/x86_64/os/Packages/l/libpng15-1.5.30-11.fc33.x86_64.rpm

fakeroot alien -vc libpng15-1.5.30-11.fc33.x86_64.rpm

sudo dpkg -i libpng15_1.5.30-12_amd64.deb libssl1.0.2_1.0.2u-1~deb9u1_amd64.deb

sudo add-apt-repository ppa:zeehio/libxp
sudo apt-get install libxp6

xset +fp /usr/share/fonts/X11/100dpi
xset +fp /usr/share/fonts/X11/75dpi
xset fp rehash

Download Maya, Arnold, Bifrost

Navigate to manage.autodesk.com in your browser and download Maya 2020 and Arnold and Bifrost for Maya 2020.

tar zxvf Autodesk_Maya_2020_ML_Linux_64bit.tgz
chmod +x Bifrost_2.2.0.1_Maya2020_Linux.run
./Bifrost_2.2.0.1_Maya2020_Linux.run

Accept the terms and press 2 to extract the package content.

fakeroot alien -vc Packages/Maya2020_64-2020.0-235.x86_64.rpm Packages/adsklicensing9.2.1.2399-0-0.x86_64.rpm Bifrost-2.2.0.1-maya-2020/Bifrost2020-2.2.0.1-2.2.0.1-1.x86_64.rpm
sudo dpkg -i maya2020-64_2020.0-236_amd64.deb adsklicensing9.2.1.2399_0-1_amd64.deb bifrost2020-2.2.0.1_2.2.0.1-2_amd64.deb
chmod +x MtoA-4.1.1.1-linux-2020.run
sudo ./MtoA-4.1.1.1-linux-2020.run

Press 1 and install Arnold in the default location.

Setup Maya

sudo ln -s /usr/lib/x86_64-linux-gnu/libGL.so.1 /usr/autodesk/maya/lib/libGL.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2 /usr/autodesk/maya/lib/libssl.so.10
sudo ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 /usr/autodesk/maya/lib/libcrypto.so.10
sudo ln -s /usr/lib/x86_64-linux-gnu/libaudiofile.so.1 /usr/autodesk/maya/lib/libaudiofile.so
sudo ln -s /usr/lib64/libpng15.so.15 /usr/autodesk/maya/lib/libpng15.so.15

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

Setup licensing

sudo cp /opt/Autodesk/AdskLicensing/9.2.1.2399/AdskLicensingService/adsklicensing.el7.service /etc/systemd/system/adsklicensing.service
sudo systemctl enable adsklicensing --quiet
sudo /opt/Autodesk/AdskLicensing/9.2.1.2399/helper/AdskLicensingInstHelper register -pk 657L1 -pv 2020.0.0.F -el en_us -cf /var/opt/Autodesk/Adlm/Maya2020/MayaConfig.pit
/opt/Autodesk/AdskLicensing/<version_number>/helper/AdskLicensingInstHelper list

Run Maya

maya
@noizfactory
Copy link

Additionally, when you start Maya after following the above steps, you may see some python hashlib errors on the shell. You can use the following workaround to fix those issues:

Backup the original hashlib package shipped with maya python:

sudo mv /usr/autodesk/maya2020/lib/python2.7/lib-dynload/_hashlib.so /usr/autodesk/maya2020/lib/python2.7/lib-dynload/backup_hashlib.so.orig

Symlink the system python hashlib to maya directory:

sudo ln -s /usr/lib/python2.7/lib-dynload/_hashlib.x86_64-linux-gnu.so /usr/autodesk/maya2020/lib/python2.7/lib-dynload/_hashlib.so

Same can be done for the Maya-USD packages:

chmod +x ./MayaUSD_0.7.0_Maya2020_Linux.run
./MayaUSD_0.7.0_Maya2020_Linux.run

Choose to extract the package.

fakeroot alien -vc MayaUSD-0.7.0-202101191208-57c9fe5-maya-2020/MayaUSD2020-202101191208-57c9fe5-0.7.0-1.x86_64.rpm 
sudo dpkg -i mayausd2020-202101191208-57c9fe5_0.7.0-2_amd64.deb

@mottosso
Copy link

For my future self and anyone like me who unexpectedly needs to support Maya 2020, the above did not work for me on Ubuntu 22. I instead had to build libssl-1.0.0 and symlink to it instead.

cd $HOME
wget https://www.openssl.org/source/openssl-1.0.0.tar.gz
tar -zxvf openssl-1.0.0.tar.gz
cd openssl-1.0.0
./config && make && make test

# In case you followed the official Autodesk tutorial already, these can be removed
sudo rm /usr/autodesk/maya2020/lib/libcrypto.so.10
sudo rm /usr/autodesk/maya2020/lib/libssl.so.10

sudo ln -s $HOME/openssl-1.0.0/libcrypto.so.1.0.0 /usr/autodesk/maya2020/lib/libcrypto.so.10
sudo ln -s $HOME/openssl-1.0.0/libssl.so.1.0.0 /usr/autodesk/maya2020/lib/libssl.so.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment