Manual Installation
Here you will find pre-compiled binaries for manual installation of mni2mz3
. Refer to the README for the installation instructions using a package manager.
Choosing An Installer for Linux
- If you know what you are doing, do that.
- The bare binary
mni2mz3
should work on all Linux distros. Download it, then runchmod +x ./mni2mz3
as usual. - 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 theunknown-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
):
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:
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
):
RUN curl --proto '=https' --tlsv1.2 -LsSf 'https://github.com/FNNDSC/mni2mz3/releases/download/v1.0.0/installer.sh' | bash