dgit command not found

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

Introduction

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

dgit: command not found

or when using sudo you get the following error message

sudo: dgit: command not found

Solutions to dgit: command not found

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

In Ubuntu dgit is provided by dgit package.

dgit is:

dgit (with the associated infrastructure) makes it possible to treat the Debian archive as a git repository.

dgit push constructs uploads from git commits

dgit clone and dgit fetch construct git commits from uploads.

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

sudo apt-get -y install dgit

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

You can also use apt command to install dgit.

sudo apt -y install dgit

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

sudo aptitude install dgit

Summary

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