There is a Linux version at launchpad that can be used on Ubuntu and Debian based systems
sudo apt-add-repository ppa:elmer-csc-ubuntu/elmer-csc-ppa
sudo apt-get update
sudo apt-get install elmerfem-csc
You can use the Ubuntu based virtual machines that provide the best possible user experience for Elmer.
Finally:
export DISPLAY=:0
or
export QT_QPA_PLATFORM=offscreen # ps: server without screen