Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save blendernoob/774c73dd0aaa86930b35483bc2af955d to your computer and use it in GitHub Desktop.

Select an option

Save blendernoob/774c73dd0aaa86930b35483bc2af955d to your computer and use it in GitHub Desktop.
Installing-Autodesk-Maya-2027-in-a-Distrobox
WARNING!!
This is guide is more of a proof of concept than a guide. I am very new to distrobox and containers and I bet I missed some neuances of
how distrobox works to potentially make the installation process or gpu integration easier. Feedback is encouraged. Please comment on this
Github Gist so I can learn how to make this process nicer for everyone.
Eventually I want to make a containerfile for installing Maya into, but that may come later. In the mean time, you can do it yourself!
1) install an X11 desktop, for the distrobox you will only be able to use Maya in an X11 desktop
a) you may need to install xhost as well for connecting to the X-server
b) add this to the .distroboxrc file
1) xhost +si:localuser:$USER >/dev/null
2) ou must do this or you will not be able to launch Maya in Wayland
2) install distrobox
3) create the distrobox
a) distrobox create --name MayaBox --image rockylinux:9.7 --init –-additional-packages “systemd”
b) you may need to add additional parameters based on your GPU developer for gpu integration. Check out the davincibox github page for more info on that
https://github.com/zelikos/davincibox
https://github.com/89luca89/distrobox
4) enable the epel repository
a) sudo dnf install dnf-plugins-core
b) sudo dnf config-manager –-set-enabled crb
c) sudo dnf install epel-release
5) install maya’s libraries
a) sudo dnf install libpng libjpeg libtiff freetype libXpm libXi fontconfig libXinerama alsa-lib libXcomposite libXdamage libXrandr libXrender libXtst libxcrypt-compat libxkbcommon nspr nss nss-util pciutils-libs libnsl xcb-util-wm xcb-util-image xcb-util-image xcb-util-renderutil libxkbcommon-x11 libmng libXcursor xorg-x11-fonts-ISO8859-1-75dpi xorg-x11-fonts-ISO8859-1-100dpi audiofile libglvnd-opengl mesa-libGLU pcre2-utf32 libvdpau-1.5-1.el9.i686 libvdpau libatomic libxkbfile xcb-util-cursor gtk2 libXp libpng15 libpq xcb-util-keysyms libcanberra-gtk2 xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi xset
6) install maya’s licensing service libraries
a) sudo dnf install bzip2-libs expat fontconfig freetype glib2 glibc gmp gnutls libffi libgcc libglvnd libglvnd-glx libidn2 libnsl libpng libstdc++ libtasn1 libunistring libuuid libX11 libX11-xcb libXau libxcb libXext libXi libxml2 libXrender mtdev nettle p11-kit pcre xz-libs zlib libselinux webkit2gtk3
7) install a web browser, not the one that is on the host machine
a) Autodesk recommends Vivaldi, Google Chrome, Opera, MS Edge, Firefox
b) installing brave browser
1) curl -fsS https://dl.brave.com/install.sh | sh
2) sudo dnf install brave-browser
8) run the browser once and close it
9) install maya with the rpm packages
a) for 2024
1) https://help.autodesk.com/view/MAYAUL/2024/ENU/?guid=GUID-E7E054E1-0E32-4B3C-88F9-BF820EB45BE5
b) for 2026
2) https://help.autodesk.com/view/MAYAUL/2025/ENU/?guid=GUID-E7E054E1-0E32-4B3C-88F9-BF820EB45BE5
c) for 2027
3) https://help.autodesk.com/view/MAYAUL/2027/ENU/?guid=GUID-E7E054E1-0E32-4B3C-88F9-BF820EB45BE5
10) find additional libraries for maya to run
a) ldd /usr/autodesk/maya2027/bin/maya.bin | grep not found
11) register the identity manager
a) /opt/Autodesk/AdskIdentityManager/Current/AdskIdentityManager --register
b) update-desktop-database ~/.local/share/applications
c) xdg-mime default com.autodesk.AdskIdentityManager.desktop x-scheme-handler/adskidmgr
12) Launch Maya
13) Create distrobox desktop entry
a) distrobox-export -app maya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment