@jessfraz jessfraz released this Sep 25, 2018 · 4 commits to master since this release

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="7ed0b95690e14cf0d2ee01f0494bdb1860d0d8c929e01a44614672ae20692268"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.5/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="5860cf7350a41b8dcca1f84beef9e66682aafa3faa48b8719dca49396980a169"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.5/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="22a5d74fe140d7202ec531852ef79a314563d2ba5e87804344a962c99b7b636b"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.5/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="67bb9ced4db58373167d27959afb5b0cff8b6bcd162d64594836aca57485d06f"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.5/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="f1cf8c99a21b99632614c156af123e998a7086f62d7f032f24e31541bf97193b"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.5/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="6cbd92aea6448b0f526d76e1a910b97799bbcba9bed99a6049d0b80a03e2295c"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.5/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="b8a9d7479cd9684dea745bdfbc2b0a7d211cd9ccb946b46a2069459de96603ab"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.5/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="c61171804aab85ba694d65bcce4e228b652195e8d7b716b340074335f0ffd50d"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.5/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="ec2df0998cabae9ac8704a1a9d326583c230d6d30e0883a121d8b9042a573d68"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.5/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="d3cd2a7abd035e4bafb3307565e08cb8417d6c15dbc8fd3e3af627459df94598"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.5/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="b8b6af89db2dd23431f6ce5cb966b5b767771be529c891de45f9076c68138632"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/apk-file/releases/download/v0.3.5/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
Assets 35