Shasum Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS
Install shasum
-
Debian
apt-get install libdigest-sha-perlClick to copy -
Ubuntu
apt-get install libdigest-sha-perlClick to copy -
Alpine OS
apk add perlClick to copy -
Arch Linux
pacman -S perlClick to copy -
Kali Linux
apt-get install libdigest-sha-perlClick to copy -
Fedora
dnf install perl-Digest-SHA-1Click to copy -
Raspbian
apt-get install libdigest-sha-perlClick to copy -
macOS
brew install perlClick to copy
Calculate or check cryptographic SHA checksums.
How to use shasum?
Below are few example commands for shasum that you can use in the terminal.
Calculate the SHA1 checksum for a file:shasum filenameClick to copyCalculate the SHA256 checksum for a file:shasum --algorithm 256 filenameClick to copyCalculate the SHA512 checksum for multiple files:shasum --algorithm 512 filename1 filename2Click to copyCheck a file with a list of sums against the directory's files:shasum --check list_fileClick to copyCalculate the SHA1 checksum from stdin:somecommand | shasumClick to copy
Installing shasum command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of shasum 2026 package in your OS.




