VerificationCommands
- Having downloaded any file, one will need to verify its integrity and its authenticity.
- For example, an image file may have the file extension .iso or .img. It is an exact copy, or image, of a complete file system.
- To ensure that the file is downloaded completely and without corruption use the wget command, e.g.:
wget -c /<image_file_location>/<image_file>.iso
- If wget is not used to acquire the file then one should verify the integrity of the acquired file by using the sha256sum or sha512sum command:
sha256sum --check --ignore-missing sha256sum.txt
- The authenticity of the acquired file is verified by using the gpg command:
gpg --import gnupg-pubkey.txt && gpg --verify <image_file>.iso.asc <image_file>.iso
References
- https://docs.voidlinux.org/installation/index.html#verifying-images
HomePagePlus | RecentChanges | Forum