How To Install md5deep on CentOS 8

md5deep is A set of cross-platform tools to compute hashes

Introduction

In this tutorial we learn how to install md5deep on CentOS 8.

What is md5deep

This is md5deep, a set of cross-platform tools to compute hashes, or message digests, for any number of files while optionally recursively digging through the directory structure. It can also take a list of known hashes and display the filenames of input files whose hashes either do or do not match any of the known hashes. This version supports MD5, SHA-1, SHA-256, Tiger, and Whirlpool hashes.

We can use yum or dnf to install md5deep on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install md5deep.

Install md5deep on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install md5deep using dnf by running the following command:

sudo dnf -y install md5deep

Install md5deep on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install md5deep using yum by running the following command:

sudo yum -y install md5deep

How To Uninstall md5deep on CentOS 8

To uninstall only the md5deep package we can use the following command:

sudo dnf remove md5deep

md5deep Package Contents on CentOS 8

/usr/bin/hashdeep
/usr/bin/md5deep
/usr/bin/sha1deep
/usr/bin/sha256deep
/usr/bin/tigerdeep
/usr/bin/whirlpooldeep
/usr/lib/.build-id
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/6136d5f9d86d0ee5cf0642a98a785a5aeb6ce4
/usr/lib/.build-id/bd/6136d5f9d86d0ee5cf0642a98a785a5aeb6ce4.1
/usr/lib/.build-id/bd/6136d5f9d86d0ee5cf0642a98a785a5aeb6ce4.2
/usr/lib/.build-id/bd/6136d5f9d86d0ee5cf0642a98a785a5aeb6ce4.3
/usr/lib/.build-id/bd/6136d5f9d86d0ee5cf0642a98a785a5aeb6ce4.4
/usr/lib/.build-id/bd/6136d5f9d86d0ee5cf0642a98a785a5aeb6ce4.5
/usr/share/doc/md5deep
/usr/share/doc/md5deep/AUTHORS
/usr/share/doc/md5deep/COPYING
/usr/share/doc/md5deep/ChangeLog
/usr/share/doc/md5deep/NEWS
/usr/share/doc/md5deep/README
/usr/share/doc/md5deep/TODO
/usr/share/man/man1/hashdeep.1.gz
/usr/share/man/man1/md5deep.1.gz
/usr/share/man/man1/sha1deep.1.gz
/usr/share/man/man1/sha256deep.1.gz
/usr/share/man/man1/tigerdeep.1.gz
/usr/share/man/man1/whirlpooldeep.1.gz

References

Summary

In this tutorial we learn how to install md5deep on CentOS 8 using yum and dnf.