Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Software foundation for older versions of coq

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Software foundation for older versions of coq


Chronological Thread 
  • From: Michael Soegtrop <MSoegtrop AT Michael-Soegtrop.de>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Software foundation for older versions of coq
  • Date: Mon, 21 Dec 2020 21:44:26 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=MSoegtrop AT Michael-Soegtrop.de; spf=None smtp.mailfrom=MSoegtrop AT michael-soegtrop.de; spf=Pass smtp.helo=postmaster AT mo4-p00-ob.smtp.rzone.de
  • Ironport-phdr: 9a23:nBtX9hAevfPKR9kT1UASUyQJP3N1i/DPJgcQr6AfoPdwSPT9pMbcNUDSrc9gkEXOFd2Cra4d1KyM6/qrADRaqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba5wIRmsswndqtcajYR/Jqot1BfCv2dFdflRyW50P1yYggzy5t23/J5t8iRQv+wu+stdWqjkfKo2UKJVAi0+P286+MPkux/DTRCS5nQHSWUZjgBIAwne4x7kWJr6rzb3ufB82CmeOs32UKw0VDG/5KplVBPklCEKPCM//WrKiMJ/kbhbrQq8qRJhzY7aYIKbOvRwcazSf9wVWWVPU91NVyFDGI6wc5cDAuQDMOtesoLzp0EOrRy7BQS0A+3vyyNHhn/s0qIk1+QqDBzI3As+ENIBrHTUttL1NL8PWu2yy6fG0DLDYO1Z2Tfh8ojIdQghrOqLU7JxbcXRyVMgGB3BjlmJtILlOC2a1usRs2iB6OpgTfijhHM5pAxopDWk28gjhJXTiI0P1lDE6Tt2wJwzJdCgS0N2Y9ypHpVQuiyHNoZ6XN0vTmBntSs+zrALtoC2ciYOxZg7xxPRZf2Kf5aU7h//UOufLjd1in1kdb+8iRu/7U6twfD/WMmsyFtHrTdJnsPRun0M0xHf8NWLR/R880u7xzqDygTe5+dZKk4uj6XbMYQuwrsom5oTr0vDGij2lV3zjK+ReUgo4/Co5/j7brn/oZ+TLJV4ihr7MqQygsyzG/44MwkJX2id5+uwzqDs8lPhTLVLiP05jLXZvYjZKMgGvKK1Hg5Y34I55xqiADqr0c4UkWcaIF9BYB6HipLmO1DKIPD2F/e/hFGsnS9syf7bOb3uHJrNLmTZkLfmZbZw8EtcyAsvwtBf/Z1bFLUBLOvoWk/2qtPYAQM5Mxazw+b/Etlyy50RVXqVAqCFKKPSrUOI5uU3LuaQY48VoS/xJOQh5/7zlnA0gkQdfKms3ZsPcn+0BPVmI0ODYXrtmNgNC2kKvhBtBNDt3VaFSHtYY2u4d6M6/DAyToy8XqnZQYX4pb2K3C62GtVtYW1JFkqLCT+8Ur6DVvgQciWKCupgmTwNWLzkcIgs2g20sxe8x7cxfbmcwTERqZ+2jIs93ObUjxxnrWUoXfTY6HmESiRPpk1NXyU/hvkthE12yl6O1e1DhPFXCcZU/7VFX1VibMOO/6lBE9n3Hzn5UJKJRVKhGIv0BDZtC8ppm5oJaQBmHsm6yArR2CynRbMYxeXSVc4Et5nE1n20HP5TjnPP1a0vlV4jGJIdMGythqdy803IAIPGj1+ej+CmePZE0Q==

Hi Pierre,

ah ok, so you have a system wide installation of Coq and are looking for a way to maintain it. This is definitely something we should and could support.

Enrico recently made a change in Coq to make it relocatable in a more controlled / reliable way. So one way would be to build Coq with opam in the usual way and then installing it to system folders using this relocation mechanism. We also create Windows installers from an opam switch which also uses this relocation mechanism. One could derive a Linux system install script from that.

It should also be possible to redirect the prefix of an opam switch to system folders, but this would likely mean that one has to disable opam sandboxing. Opam has a mechanism to ensure that make install of packages does not touch any files outside of .opam. It is not entirely free of danger to call make install for 100 open source packages with root rights. A rm -rf * in the wrong folder run as root is no fun.

Finally Enrico is working on a downloadable snap package for Linux. It should be sufficient to install the snap package just once.

Btw.: one feature of the Coq platform is that it is easy to customize for lecturers, so that they can provide a customized multi platform (Mac, Windows, Linux) setup for Coq. This way you can ensure that private installations of your students are identical to what you have and that the setup is easy to do and similar on all platforms.

We can discuss further details in the Zulip "Coq platform" topic of the Coq channel.

Best regards,

Michael



Archive powered by MHonArc 2.6.19+.

Top of Page