How to install SSReflect and MathComp in Linux?

前端 未结 2 1751
耶瑟儿~
耶瑟儿~ 2020-12-16 20:19

I have successfully installed Coq 8.6 and CoqIDE in Linux (Ubuntu 17.04). However, I don\'t know to proceed in order to add SSReflect and MathComp to this installation. All

2条回答
  •  温柔的废话
    2020-12-16 20:31

    For sake of completeness, an alternative way is by using the Nix package manager (instead of OPAM). After installing it (curl https://nixos.org/nix/install | sh), you can launch a CoqIDE with Math-Comp available with the following command:

    nix-shell -p coqPackages_8_6.mathcomp --run coqide
    

    Then you can just start your file with From mathcomp Require Import ssreflect.

提交回复
热议问题