boogie command not found

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

Introduction

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

boogie: command not found

or when using sudo you get the following error message

sudo: boogie: command not found

Solutions to boogie: command not found

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

In Ubuntu boogie is provided by boogie package.

boogie is:

Boogie is a compiler intermediate language with support for automatic invariant checking using an SMT solver such as Z3. It supports program verification for a variety of other, higher-level languages, including Spec#, C, Dafny, and Chalice.

This package contains the Boogie compiler, as well as bvd, the Boogie Verification Debugger.

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

sudo apt-get -y install boogie

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

You can also use apt command to install boogie.

sudo apt -y install boogie

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

sudo aptitude install boogie

Summary

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