From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 13A947EE80 for ; Sat, 23 Mar 2013 10:14:02 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of misterherr@freenet.de) identity=pra; client-ip=195.4.92.91; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="misterherr@freenet.de"; x-sender="misterherr@freenet.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of misterherr@freenet.de) identity=mailfrom; client-ip=195.4.92.91; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="misterherr@freenet.de"; x-sender="misterherr@freenet.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mout1.freenet.de) identity=helo; client-ip=195.4.92.91; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="misterherr@freenet.de"; x-sender="postmaster@mout1.freenet.de"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgwBAIdxTVHDBFxbiWdsb2JhbABDhEKDb78nFg4BAQEVEhQDJYIbM1UfAR0WCwILAwIBAgFYCAEBh30BEwOgXY5Vh20JgTYBiHKPNYIXgRMDnGKOEQ X-IPAS-Result: AgwBAIdxTVHDBFxbiWdsb2JhbABDhEKDb78nFg4BAQEVEhQDJYIbM1UfAR0WCwILAwIBAgFYCAEBh30BEwOgXY5Vh20JgTYBiHKPNYIXgRMDnGKOEQ X-IronPort-AV: E=Sophos;i="4.84,897,1355094000"; d="scan'208,217";a="8945757" Received: from mout1.freenet.de ([195.4.92.91]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 23 Mar 2013 10:14:01 +0100 Received: from [195.4.92.140] (helo=mjail0.freenet.de) by mout1.freenet.de with esmtpa (ID misterherr@freenet.de) (port 25) (Exim 4.80.1 #2) id 1UJKWW-00084w-Lt for caml-list@inria.fr; Sat, 23 Mar 2013 10:14:00 +0100 Received: from localhost ([::1]:33266 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID misterherr@freenet.de) (Exim 4.80.1 #2) id 1UJKWW-0000or-Fj for caml-list@inria.fr; Sat, 23 Mar 2013 10:14:00 +0100 Received: from [195.4.92.23] (port=41377 helo=13.mx.freenet.de) by mjail0.freenet.de with esmtpa (ID misterherr@freenet.de) (Exim 4.80.1 #2) id 1UJKUB-0003cK-FA for caml-list@inria.fr; Sat, 23 Mar 2013 10:11:35 +0100 Received: from cl-252.ham-02.de.sixxs.net ([2001:6f8:1c00:fb::2]:51432) by 13.mx.freenet.de with esmtpsa (ID misterherr@freenet.de) (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (port 465) (Exim 4.80.1 #2) id 1UJKUB-0004M9-0E for caml-list@inria.fr; Sat, 23 Mar 2013 10:11:35 +0100 Message-ID: <514D71C6.8040301@freenet.de> Date: Sat, 23 Mar 2013 10:11:34 +0100 From: "Mr. Herr" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: caml-list@inria.fr Content-Type: multipart/alternative; boundary="------------090003010501080201040606" Subject: [Caml-list] OPAM for system wide install, Linux This is a multi-part message in MIME format. --------------090003010501080201040606 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit How could I do a system wide install of modules with OPAM? In linux, in this case. It looks like this is not preconfigured, but should be not too hard: Change the environment variables to your system install dir, put them into /etc/profile.d/ or what is convenient. Or do you think this is only for development, and deployment will be binary? I am especially interested in scripting with ocaml. /Str. --------------090003010501080201040606 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
How
could I do a system wide install of modules with OPAM? In linux, in this case.

It looks like this is not preconfigured, but should be not too hard:

Change the environment variables to your system install dir, put them into /etc/profile.d/ or what is convenient.

Or do you think this is only for development, and deployment will be binary?

I am especially interested in scripting with ocaml.

/Str.

--------------090003010501080201040606--