Install coq8.8.1 or 8.8.2 on ubuntu

本文档提供了在Ubuntu系统上安装Coq 8.8.1或8.8.2的详细步骤,包括安装OCaml包管理器OPAM,配置环境,使用OPAM安装Coq,CoqIDE,以及额外的Coq包如coq-sudoku和compcert。此外,还提到了安装Emacs和Proof General以优化Coq的使用体验。
摘要由CSDN通过智能技术生成

# install ocaml palcage manager
sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)

# Install bubblewrap on Ubuntu 18.04
sudo apt update
sudo apt install bubblewrap

# Install bubblewrap on Ubuntu 16.04
###     install dependent
sudo apt-get install libcap-dev

sudo apt-get install m4
compile source code in https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/bubblewrap/0.2.1-1/bubblewrap_0.2.1.orig.tar.xz
./configure
make -j4
sudo make install

#install ocaml-base-compiler 4.02.3

http://caml.inria.fr/pub/distrib/ocaml-4.02/ocaml-4.02.3.tar.gz

read install of ocaml to install

# Using OPAM to install Coq
export OPAMROOT=~/opam-coq.8.8.1 # installation directory
opam init -n --comp=ocaml-base-compiler.4.02.3 -j 2 # 2 is

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值