v0.3.0
Below are easy install instructions by OS and Architecture. As always there are always the standard instructions in the README.md as well.
darwin
386 - darwin
# Export the sha256sum for verification.
$ export APK-FILE_SHA256="4526e97440286ee9e7ed7e1ce87208a2ad537422e8d8a254afde3ded75bffae7"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.0/apk-file-darwin-386" -o "/usr/local/bin/apk-file" \
&& echo "${APK-FILE_SHA256} /usr/local/bin/apk-file" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/apk-file"
$ echo "apk-file installed!"
# Run it!
$ apk-file -h
amd64 - darwin
# Export the sha256sum for verification.
$ export APK-FILE_SHA256="a0004820006d026ce0857c6e167515bb7ca342c903592e154dbcd624da2015fb"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.0/apk-file-darwin-amd64" -o "/usr/local/bin/apk-file" \
&& echo "${APK-FILE_SHA256} /usr/local/bin/apk-file" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/apk-file"
$ echo "apk-file installed!"
# Run it!
$ apk-file -h
freebsd
386 - freebsd
# Export the sha256sum for verification.
$ export APK-FILE_SHA256="9e06414f03fc8c6702c4ec8bd0db0f1df69bb738d729bf2ff1248dcc59549d50"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.0/apk-file-freebsd-386" -o "/usr/local/bin/apk-file" \
&& echo "${APK-FILE_SHA256} /usr/local/bin/apk-file" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/apk-file"
$ echo "apk-file installed!"
# Run it!
$ apk-file -h
amd64 - freebsd
# Export the sha256sum for verification.
$ export APK-FILE_SHA256="a9129f89e29329c68887b128fa5366659865e9dca22febdc414b7f13ddffe2a2"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.0/apk-file-freebsd-amd64" -o "/usr/local/bin/apk-file" \
&& echo "${APK-FILE_SHA256} /usr/local/bin/apk-file" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/apk-file"
$ echo "apk-file installed!"
# Run it!
$ apk-file -h
linux
386 - linux
# Export the sha256sum for verification.
$ export APK-FILE_SHA256="3c679395f80b41dbe5639fb06c051a824ab17903dae59a6f6a9e3863182daaf3"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.0/apk-file-linux-386" -o "/usr/local/bin/apk-file" \
&& echo "${APK-FILE_SHA256} /usr/local/bin/apk-file" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/apk-file"
$ echo "apk-file installed!"
# Run it!
$ apk-file -h
amd64 - linux
# Export the sha256sum for verification.
$ export APK-FILE_SHA256="b7b77b1de9eda525d9ec3dc99bce6431c8cfa96df50d13895130731dda1d6567"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.0/apk-file-linux-amd64" -o "/usr/local/bin/apk-file" \
&& echo "${APK-FILE_SHA256} /usr/local/bin/apk-file" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/apk-file"
$ echo "apk-file installed!"
# Run it!
$ apk-file -h
arm - linux
# Export the sha256sum for verification.
$ export APK-FILE_SHA256="4e17de993492a4ca8dcae24273fc0cc3b8686bbea87f0eed5fe62a9def7282d2"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.0/apk-file-linux-arm" -o "/usr/local/bin/apk-file" \
&& echo "${APK-FILE_SHA256} /usr/local/bin/apk-file" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/apk-file"
$ echo "apk-file installed!"
# Run it!
$ apk-file -h
arm64 - linux
# Export the sha256sum for verification.
$ export APK-FILE_SHA256="aaf8621cb99da14c45520f20eb6f78d58a2604b4bc29d19ca43f19e1bc716a92"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.0/apk-file-linux-arm64" -o "/usr/local/bin/apk-file" \
&& echo "${APK-FILE_SHA256} /usr/local/bin/apk-file" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/apk-file"
$ echo "apk-file installed!"
# Run it!
$ apk-file -h
solaris
amd64 - solaris
# Export the sha256sum for verification.
$ export APK-FILE_SHA256="28922fd4111c09c69ddbca0cc9d8fde42621e9b58c520bac524a8e6ba2ea6d5d"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.0/apk-file-solaris-amd64" -o "/usr/local/bin/apk-file" \
&& echo "${APK-FILE_SHA256} /usr/local/bin/apk-file" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/apk-file"
$ echo "apk-file installed!"
# Run it!
$ apk-file -h
windows
386 - windows
# Export the sha256sum for verification.
$ export APK-FILE_SHA256="cb900188a96f3007089446ccc769f56b3dfc6c6d6e73759d8f93b7435bf98cd6"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.0/apk-file-windows-386" -o "/usr/local/bin/apk-file" \
&& echo "${APK-FILE_SHA256} /usr/local/bin/apk-file" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/apk-file"
$ echo "apk-file installed!"
# Run it!
$ apk-file -h
amd64 - windows
# Export the sha256sum for verification.
$ export APK-FILE_SHA256="8225455b8c1ae6a73602018d89694c57335efb467359ca5162af8265488b4535"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.0/apk-file-windows-amd64" -o "/usr/local/bin/apk-file" \
&& echo "${APK-FILE_SHA256} /usr/local/bin/apk-file" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/apk-file"
$ echo "apk-file installed!"
# Run it!
$ apk-file -h