Mathematica via distrobox?
First time using distrobox. I have a license to Mathematica and am trying to install it on Bazzite. It works fine on my MacBook.
Since there is no flatpak, I created a distrobox:
Entering the distrobox, I installed Mathematica to its default locations in
/usr/local/bin/
:
I then exported one of the symlinked entries in /usr/local/bin
:
But neither from the host OS nor from within the distrobox am I able to run it:
I've not installed mathematica except on MacOS and Windows, so I don't know if this is expected: Do I need to install other bits (which would seem odd for Wolfram to leave out in their installer)? or am I running into an issue in Fedora (also seems highly unlikely)?
I note that nixpkgs has an entry for Mathematica 14.0. If I can't get it working here, then I'll probably end up switching to NixOS to gain access to that packager tonight when I blow away the system drive while migrating my mobo to full UEFI. Regardless, knowing whether/if I missed something above would be helpful.8 Replies
You need to change your LD library path
Take a look at https://wiki.archlinux.org/title/Mathematica
Maybe worth it to do it on an arch distrobox?
can you elaborate?
It's a variable for libraries
You probably have libs in/usr/local
One thing I think it's safe to say: my mobo is too old to support UEFI installations -- neither Nix nor Bazzite. Couldn't even get it to take a BIOS update.
I'll spelunk on the libraries
You can install into your homedir
I ended up just doing a plain install into its default (
/usr/local
and /usr/local/bin
). Works well (it better, given that's the approach the installer presumes), at least in a way that I can reason about at this stage, even if not really the best approach.