Created
September 13, 2016 21:56
-
-
Save lrascao/24a73c375d8aafd6fd5a3a91545aaee1 to your computer and use it in GitHub Desktop.
Validating gcc signature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# download the Gnu keyring and import it | |
curl http://ftp.gnu.org/gnu/gnu-keyring.gpg -O | |
gpg --import gnu-keyring.gpg | |
# download the gcc tarball and verify it | |
curl ftp://ftp.gnu.org/pub/gnu/gcc/gcc-5.4.0/gcc-5.4.0.tar.bz2.sig -O | |
gpg --verify ./gcc-5.4.0.tar.bz2.sig | |
gpg --verify ./gcc-5.4.0.tar.bz2.sig gcc-5.4.0.tar.bz2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment