Problem installing Geneious with provided shell script

I’m not new, but relatively unexperiened using nixos. I was trying to install Geneious(https://www.geneious.com/) for a uni class when I try to install using the available bash script they provide(https://assets.geneious.com/installers/geneious/release/latest/Geneious_Prime_linux64_with_jre.sh) I was into an error message

Unpacking JRE …
Starting Installer …
Could not start dynamically linked executable: /home/User/Downloads/Geneious_Prime_linux64_with_jre.sh.95955.dir/jre/bin/java
NixOS cannot run dynamically linked executables intended for generic
linux environments out of the box. For more information, see:

What do I need to edit in the file or on my system to make this work, or is there a better way of installing this program?

You cn try to package it or use nix-ld, but really for uni you’re best off not using NixOS directly. Distrobox may work as an escape hatch if you don’t want to install another distro on bare metal.

2 Likes

Seconding distrobox (with podman). You can configure it more declaratively with home-manager and it keeps things installed more nicely than with nix-ld, You can probably even run the Geneious installer in init_hooks or build a custom image for it with home-manager’s services.podman.builds.