Skip to content

Instantly share code, notes, and snippets.

@alecGraves
Last active May 31, 2017 01:25
Show Gist options
  • Save alecGraves/0293cb8eb61e8abd7ee85d248d856abd to your computer and use it in GitHub Desktop.
Save alecGraves/0293cb8eb61e8abd7ee85d248d856abd to your computer and use it in GitHub Desktop.
Install tensorflow from sources on arm
echo -n | openssl s_client -connect services.gradle.org:443 | \
sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/cert.crt && \
sudo keytool -import -trustcacerts -keystore /usr/lib/jvm/default-java/jre/lib/security/cacerts \
-keyalg rsa -storepass changeit -noprompt -alias mycert -file /tmp/cert.crt && \
rm /tmp/cert.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment