coqqueryworker.opt command not found

In this troubleshooting guide we learn how to fix coqqueryworker.opt command not found error message

Introduction

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

coqqueryworker.opt: command not found

or when using sudo you get the following error message

sudo: coqqueryworker.opt: command not found

Solutions to coqqueryworker.opt: command not found

How To Fix coqqueryworker.opt: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu coqqueryworker.opt 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 coqqueryworker.opt command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.