Shasum Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS

Shasum Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS

shasum

Calculate or check cryptographic SHA checksums.

Maintainer: Debian Perl Group



Section: perl

Install shasum

  • Debian apt-get install libdigest-sha-perl Click to copy
  • Ubuntu apt-get install libdigest-sha-perl Click to copy
  • Alpine OS apk add perl Click to copy
  • Arch Linux pacman -S perl Click to copy
  • Kali Linux apt-get install libdigest-sha-perl Click to copy
  • Fedora dnf install perl-Digest-SHA-1 Click to copy
  • Raspbian apt-get install libdigest-sha-perl Click to copy
  • macOS brew install perl Click 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 copy
Calculate the SHA256 checksum for a file:
shasum --algorithm 256 filenameClick to copy
Calculate the SHA512 checksum for multiple files:
shasum --algorithm 512 filename1 filename2Click to copy
Check a file with a list of sums against the directory's files:
shasum --check list_fileClick to copy
Calculate 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.