Add admonition to the Linux `mc` install steps about installing the correct binary from `dl.min.io`. If you use your native package manager, you are very likely to get GNU Midnight Commander instead. Staged http://192.241.195.202:9000/staging/not-midnight-commander/linux/reference/minio-mc.html#install-mc
2.9 KiB
Linux
The following commands add a temporary extension to your
system PATH for running the mc
utility. Defer to your
operating system instructions for making permanent modifications to your
system PATH.
Alternatively, execute mc
by navigating to the parent
folder and running ./mc --help
64-bit Intel
curl https://dl.min.io/client/mc/release/linux-amd64/mc \
--create-dirs \
-o $HOME/minio-binaries/mc
chmod +x $HOME/minio-binaries/mc
export PATH=$PATH:$HOME/minio-binaries/
mc --help
64-bit PPC
curl https://dl.min.io/client/mc/release/linux-ppc64le/mc \
--create-dirs \
-o ~/minio-binaries/mc
chmod +x $HOME/minio-binaries/mc
export PATH=$PATH:$HOME/minio-binaries/
mc --help
ARM64
curl https://dl.min.io/client/mc/release/linux-arm64/mc \
--create-dirs \
-o ~/minio-binaries/mc
chmod +x $HOME/minio-binaries/mc
export PATH=$PATH:$HOME/minio-binaries/
mc --help
Install from the MinIO Download Page
MinIO does not officially publish its binaries to common Linux repositories or package managers (Ubuntu, RHEL, Archlinux/AUR). The only official source of MinIO binaries is the MinIO Download Page.
MinIO does not recommend installation through a package manager, as upstream repositories may install the incorrect package or a renamed package.
All documentation assumes the installation of the official
mc
client binary through the download page only,
with no changes to binary naming.
macOS
brew install minio/stable/mc
mc --help
Windows
Open the following file in a browser:
https://dl.min.io/client/mc/release/windows-amd64/mc.exe
Execute the file by double clicking on it, or by running the following in the command prompt or powershell:
.exe --help \path\to\mc
Source
Installation from source is intended for developers and advanced users and requires a working Golang environment. See How to install Golang.
Run the following commands in a terminal environment to install
mc
from source:
go install github.com/minio/mc@latest
mc update
does not
support source-based installations.