Building minio's mc and restic on termux

If you use the binaries provided by minio and restic to run the ‘mc’ and ‘restic’ commands on android’s termux, it won’t work, due to restriction on DNS resolution, you need to build them yourself.

This is how to do it:


$ go get -d
$ cd $HOME/go/src/
$ GOPATH=$HOME/go make


$ git clone
$ cd restic
$ go run build.go -v --enable-cgo