When upgrading my Raspberry Pi 5 from Ubuntu 23 to Ubuntu 24, I had an issue that the blender application stopped working. I figured out that the cause was that Ubuntu 24 came with blender version 4.0.2, which didn't work on a raspberry pi, while blender version 3.6.2, which came with Ubuntu 23, did work. So I worked out how to install blender version 3.6 on Ubuntu 24 by downloading the specific DEB packages intended for Ubuntu 23 and installing them using dpkg after installing the dependencies manually.
Tested on:
- Raspberry Pi 5 with 8GB of RAM running Ubuntu 24.04 LTS
# upgrade system first after fresh Ubuntu installation
sudo apt update
sudo apt -y upgrade
# install dependencies common to blender 4.0.2 and 3.6.2
# we'll downgrade blender to 3.6.2 later
sudo apt install -y blender
# install blender-3.6.2-specific dependencies
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt install -y python3.11
sudo apt install -y python3.11-dev
sudo apt install -y libboost-all-dev
sudo apt install -y libboost-locale1.74.0
# download specific blender-3.6.2 DEB packages
cd $(mktemp -d) # create and go into a temporary directory
wget http://ports.ubuntu.com/pool/universe/b/blender/blender_3.6.2+dfsg-2ubuntu1_arm64.deb
wget http://ports.ubuntu.com/pool/universe/b/blender/blender-data_3.6.2+dfsg-2ubuntu1_all.deb
sudo dpkg -i blender-data_3.6.2+dfsg-2ubuntu1_all.deb
sudo dpkg -i blender_3.6.2+dfsg-2ubuntu1_arm64.deb
# stop apt from upgrading blender
sudo apt-mark hold blender blender-data
export MESA_GL_VERSION_OVERRIDE=3.3
blender