Coq Setup

Posted on October 2, 2012
Tags: hacksoft
  1. install opam
sudo bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)"
  1. init opam
opam init
eval $(opam env)

if on RHEL, you will get “error [ERROR] Missing dependencies – the following commands are required for opam to operate: - patch.”

sudo dnf install patch

then try again

1 install vscoq

which coqtop
#output may be 
opam repo add coq-released https://coq.inria.fr/opam/released
opam search compcert
opam install coq-compcert
opam search vst
opam install coq-vst

Change key setting Coq: Interpret to Point Alt+ Right arrow
Ctrl Alt P, >Coq: Interpret to Point click the settings icon next to it
Edit it to Shift + Right arrow

2 Software foundations