Check md5sum, sha1sum and checkelf for Packages

The command line commands md5sum, sha1sum, sha256sum etc. are included in the package coreutils.

The GNU Core Utilities or coreutils is a package of GNU software containing many of the basic tools, such as cat, ls, and rm, needed for Unix-like operating systems. It is a combination of a number of earlier packages, including textutils, shellutils, and fileutils, along with some other miscellaneous utilities.


The MD5 message-digest algorithm is a widely used cryptographic hash function producing a 128-bit (16-byte) hash value, typically expressed in text format as a 32 digit hexadecimal number. MD5 has been utilized in a wide variety of cryptographic applications, and is also commonly used to verify data integrity.

You can check easy the md5sum from a iso or a package, as example you have download the Pisi-Linux-1.2-XFCE-x86_64.iso and will check it, give in the following command in a Terminal:

md5sum Pisi-Linux-1.2-XFCE-x86_64.iso

The Output was the following:

cdcc9d260271db7f8e8cdbfc0b575321  Pisi-Linux-1.2-XFCE-x86_64.iso

Check a single md5sum give in the following:

echo “cdcc9d260271db7f8e8cdbfc0b575321  Pisi-Linux-1.2-XFCE-x86_64.iso” | md5sum -c –

The output was:

Pisi-Linux-1.2-XFCE-x86_64.iso: OK

Create a md5sum

When you will create a md5sum open a Terminal and give in:

md5sum Pisi-Linux-1.2-XFCE-x86_64.iso > hash.md5

you became as Output a file named:

hash.md5 and in this one you see the md5sum.


sha1sum is a computer program that calculates and verifies SHA-1 hashes. It is commonly used to verify the integrity of files. It (or a variant) is installed by default in most Unix-like operating systems. Variants include shasum (which permits SHA-1 through SHA-512 hash functions to be selected manually) and sha224sum, sha256sum, sha384sum and sha512sum, which use a specific SHA-2 hash function. Versions for Microsoft Windows also exist, and the ActivePerl distribution includes a perl implementation of shasum. On FreeBSD this utility is called ‘sha512’ and contains additional features.

Several source code management systems, including Git, Mercurial, Monotone, and Fossil, use the sha1sum of various types of content (file content, directory trees, ancestry information, etc.) to uniquely identify them.

In Pisi Linux you need the sha1sum for package Building:

To check a package give in the following command in the Terminal we use here now the vokoscreen-2.4.11-beta.tar.gz as example:

sha1sum vokoscreen-2.4.11-beta.tar.gz

as output became you the following:

4f8955d3f3621361455abc81fc98787913ca90b2 vokoscreen-2.4.11-beta.tar.gz

to create an sha1sum type the following in a Terminal:

sha1sum vokoscreen-2.4.11-beta.tar.gz … > SHA1SUM

it create as output a file with the complete sha1sum in it



Checkelf is a script which facilitates developers to find dependencies, undefined symbols of packages, etc. It’s based on Ozan’s checklib’s script. I’ve tried to explain all available options, which you can examine below. It has a lot of fine-tuning options which allows the user to get the desired output directly. For more info please read the options and examples at the end of the page.

As example for Pisi Linux we use here the Package mpv-player, when you have build your package successfully but you need the output from the Runtime dependencies type in the Terminal the following to check it.

checkelf -s -x


You see a output like this one for the mpv-player:


When it missing some Dependencies you see it at the right side under “Missing Dependencies”

Links to read it:

GNU Core Utilities