coq-makefile-make-both-time-files command not found

In this troubleshooting guide we learn how to fix coq-makefile-make-both-time-files command not found error message

Introduction

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

coq-makefile-make-both-time-files: command not found

or when using sudo you get the following error message

sudo: coq-makefile-make-both-time-files: command not found

Solutions to coq-makefile-make-both-time-files: command not found

How To Fix coq-makefile-make-both-time-files: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu coq-makefile-make-both-time-files is provided by coq package.

coq is:

Coq is a proof assistant for higher-order logic, which allows the development of computer programs consistent with their formal specification. It is developed using Objective Caml and Camlp5.

This package provides coqtop, a command line interface to Coq.

A graphical interface for Coq is provided in the coqide package. Coq can also be used with ProofGeneral, which allows proofs to be edited using emacs and xemacs. This requires the proofgeneral package to be installed.

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

sudo apt-get -y install coq

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

You can also use apt command to install coq.

sudo apt -y install coq

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

sudo aptitude install coq

Summary

In this tutorial we learn how to fix coq-makefile-make-both-time-files command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.