regdiff command not found

In this troubleshooting guide we learn how to fix regdiff command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

regdiff: command not found

or when using sudo you get the following error message

sudo: regdiff: command not found

Solutions to regdiff: command not found

How To Fix regdiff: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu regdiff is provided by registry-tools package.

registry-tools is:

Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as a domain controller or member server in both NT4-style and Active Directory domains.

This package contains tools for viewing and manipulating the binary “registry” found on Windows machines, both locally and remote.

To fix this problem, we can install more using the command below.

sudo apt-get -y install registry-tools

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install registry-tools.

sudo apt -y install registry-tools

Or if you have aptitude installed you can use the following command.

sudo aptitude install registry-tools

Summary

In this tutorial we learn how to fix regdiff command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.