Maya 2024 Ubuntu 22.xx Install.

Maya 2024 Ubuntu 22.xx Install.

david.ostler2WSX9
Advocate Advocate
1,572 Views
1 Reply
Message 1 of 2

Maya 2024 Ubuntu 22.xx Install.

david.ostler2WSX9
Advocate
Advocate

The only thing that seems to have changed in the 2024 install of maya is the following line.  Use existing maya/ubuntu 22 guides and use this line to register Maya.  Good news,  the home screen finally works!  

 

sudo /opt/Autodesk/AdskLicensing/Current/helper/AdskLicensingInstHelper register -pk 657P1 -pv 2024.0.0.F -el EN_US -cf /var/opt/Autodesk/Adlm/Maya2024/MayaConfig.pit

0 Likes
1,573 Views
1 Reply
Reply (1)
Message 2 of 2

ostlerda
Contributor
Contributor

For some weird reason the latest Ubuntu kernel is built with gcc-12 and only gcc-11 is installed on Ubuntu 22.0.4.  I needed to Install GCC-12 before I could compile NVIDIA drivers which requires that you use the same gcc as the kernel was compiled with.

After a fresh install of Ubuntu 22.04 here's what I did to prep for the Maya install:

sudo apt update

sudo apt upgrade

sudo apt install build-essential libglvnd-dev pkg-config

sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"

sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"

sudo update-initramfs -u

sudo reboot

 

 

sudo apt install gcc-12 g++-12

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 60 --slave /usr/bin/g++ g++ /usr/bin/g++-11

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 70 --slave /usr/bin/g++ g++ /usr/bin/g++-12

sudo update-alternatives --config gcc

#(select gcc-12 here)

 

mkdir ~/install; cd ~/install

wget https://us.download.nvidia.com/XFree86/Linux-x86_64/535.154.05/NVIDIA-Linux-x86_64-535.154.05.run

chmod +x NVIDIA-Linux-x86_64-535.154.05.run

sudo ./NVIDIA-Linux-x86_64-535.154.05.run

0 Likes