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 github.com/minio/mc $ cd $HOME/go/src/github.com/minio/mc $ GOPATH=$HOME/go make
$ git clone https://github.com/restic/restic $ cd restic $ go run build.go -v --enable-cgo