Skip to content

Instantly share code, notes, and snippets.

@sowwic
Last active January 12, 2022 12:45
Show Gist options
  • Save sowwic/94fd4ea3267f245f1f0842538c68eb74 to your computer and use it in GitHub Desktop.
Save sowwic/94fd4ea3267f245f1f0842538c68eb74 to your computer and use it in GitHub Desktop.
Ubuntu 20.04 - Maya 2020 installation
1)Get the packages required for converting the rpm package.
sudo apt-get install alien dpkg-dev debhelper build-essential zlib1g-dev
2)Get and install libXp6.
sudo add-apt-repository ppa:zeehio/libxp
sudo apt-get update
sudo apt-get install libxp6
3) Extract the contents of the Maya installation package and change directory to its install/Packages directory.
Convert the rpm packages in the installation to deb packages.
sudo alien -vc *.rpm
4) Install packages for standalone licensing.
sudo apt install lsb-core
5)Download and install latest version of the Autodesk Licensing Service packages (https://knowledge.autodesk.com/search-result/caas/downloads/content/autodesk-licensing-service-download.html)
Unpackage set dir into folder with rpm packages, convert packages to deb
sudo alien -vc *.rpm
6) Install all packages inside licencing dowload
order:
-apps
flexnetserver
flexnetclient
adsklicensing
7)Check if licencing server is running
sudo systemctl status adsklicensing
8)Install maya packaged converted earlier in other folder
sudo apt-get install <Maya2020 deb package>
9)Check that maya has registered with licence server
/opt/Autodesk/AdskLicensing/<version_number>/helper/AdskLicensingInstHelper list
10)If not registered (returns [])
sudo /opt/Autodesk/AdskLicensing/<version_number>/helper/AdskLicensingInstHelper register -pk 657L1 -pv 2020.0.0.F -el EN_US -cf /var/opt/Autodesk/Adlm/Maya2020/MayaConfig.pit
11)Install supporting libs
sudo apt-get install libfam0 libcurl4 libpcre16-3 libjpeg62 libxm4 xfonts-100dpi xfonts-75dpi
12)'Create symbolic links'
sudo ln -s /usr/lib/x86_64-linux-gnu/libpcre16.so.3 /usr/autodesk/maya2020/lib/libpcre16.so.0
sudo ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 /usr/autodesk/maya2020/lib/libcrypto.so.10
sudo ln -s /usr/lib/x86_64-linux-gnu/libXp.so.6 /usr/autodesk/maya2020/lib/libXp.so.6
sudo ln -s /usr/lib/x86_64-linux-gnu/libpng16.so.16 /usr/autodesk/maya2020/lib/libpng16.so.16
xset +fp /usr/share/fonts/X11/100dpi
xset +fp /usr/share/fonts/X11/75dpi
xset fp rehash
13)
Dowload, build and link old libpng15
cd ~/tmp
wget https://sourceforge.net/projects/libpng/files/libpng15/older-releases/1.5.15/libpng-1.5.15.tar.gz
tar -zxvf ./libpng-1.5.15.tar.gz
cd libpng-1.5.15
./configure --prefix=/usr/local/libpng
make check
sudo make install
make check
sudo ln -s /usr/local/libpng/lib/libpng15.so.15 /usr/autodesk/maya2020/lib/libpng15.so.15
14)Create temp dir
sudo mkdir /usr/tmp
sudo chmod 777 /usr/tmp
echo "deb http://security.debian.org/debian-security jessie/updates main" >> /etc/apt/sources.list
15) Add lines to Maya.env
MAYA_DISABLE_CIP=1 (disables Autodesk Customer Involvement Program which causes shutdown delays)
LC_ALL=C (forces the use of the default language for output)
MAYA_CM_DISABLE_ERROR_POPUPS=1
MAYA_COLOR_MGT_NO_LOGGING=1
## Make sure libssl is installed and create link to it
sudo apt-get install -y libssl-dev
sudo ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.1 /usr/autodesk/maya2020/lib/libssl.so.10
## In case of crash on start
/usr/autodesk/maya2020/bin/maya.bin: symbol lookup error: /usr/autodesk/maya2020/bin/../lib/libOGSDeviceOGL4-16.so: undefined symbol: EVP_CIPHER_CTX_init
Possibly problem with libssl version
1) Check version installed sudo apt-cash libssl
2) Run sudo rm /usr/autodesk/maya2020/lib/libssl.so.10
3) Edit sourcelist:
sudo nano /etc/apt/sources.list
Add line and save:
deb http://security.ubuntu.com/ubuntu focal-security main restricted
sudo apt update
sudo apt install libssl1.0.0
'libssl1.0.0 should be installed now'
'Create link to libssl.so.10 as maya doesnt like name libssl1.0.0'
sudo ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/x86_64-linux-gnu/libssl.so.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment