Manual Installation
Here you will find pre-compiled binaries for manual installation of `mni2mz3`. Refer to the [README](https://github.com/FNNDSC/mni2mz3#readme) for the installation instructions using a package manager.
Choosing An Installer for Linux
1. If you know what you are doing, do that.
2. The bare binary [`mni2mz3`](https://github.com/FNNDSC/mni2mz3/releases/download/v1.0.0/mni2mz3) should work on all Linux distros. Download it, then run `chmod +x ./mni2mz3` as usual.
3. The `unknown-linux-gnu` target is preferable for GNU/Linux with glibc version 2.31 or above. In simpler words: `unknown-linux-gnu` is recommended for Arch Linux, Ubuntu 20.04, Debian 11 (Bullseye), CentOS 9, RHEL 9, or newer. Older systems should download the `unknown-linux-musl` variant.
Installation Script
A script is provided for detecting your computer architecture and downloading the corresponding package.
Install for all users (requires `sudo`):
shell
curl --proto '=https' --tlsv1.2 -LsSf 'https://github.com/FNNDSC/mni2mz3/releases/download/v1.0.0/installer.sh' | sudo env MNI2MZ3_BIN=/usr/local/bin/mni2mz3 bash
Install for current user:
shell
curl --proto '=https' --tlsv1.2 -LsSf 'https://github.com/FNNDSC/mni2mz3/releases/download/v1.0.0/installer.sh' | env MNI2MZ3_BIN="$HOME/.local/bin/mni2mz3" bash
Use in `Dockerfile` (requires `bash` and `curl`):
Dockerfile
RUN curl --proto '=https' --tlsv1.2 -LsSf 'https://github.com/FNNDSC/mni2mz3/releases/download/v1.0.0/installer.sh' | bash