<div dir="ltr"><div>I was referring to $HOME/.agda/libraries.</div><div><br></div>See here for more information:<div><br></div><div><a href="https://agda.readthedocs.io/en/latest/tools/package-system.html">https://agda.readthedocs.io/en/latest/tools/package-system.html</a><br></div><div><br></div><div>/ Ulf</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 8, 2016 at 10:03 PM, Sergei Meshveliani <span dir="ltr">&lt;<a href="mailto:mechvel@botik.ru" target="_blank">mechvel@botik.ru</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 2016-12-08 at 21:43 +0100, Ulf Norell wrote:<br>
&gt; You just need to put the path to the .agda-lib file in<br>
&gt; your .agda/libraries file.<br>
&gt; No further installation should be required.<br>
&gt;<br>
<br>
</span>I see   agda/standard-library.agda-lib<br>
<br>
but do not see  .agda/libraries<br>
anywhere.<br>
<br>
On the other hand, I use  $adgaStLib  in the command line<br>
that points to            agda/std-lib/src,<br>
and it seems working.<br>
(?)<br>
<br>
------<br>
Sergei<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
&gt; On Thu, Dec 8, 2016 at 9:09 PM, Sergei Meshveliani &lt;<a href="mailto:mechvel@botik.ru">mechvel@botik.ru</a>&gt;<br>
&gt; wrote:<br>
&gt;         On Thu, 2016-12-08 at 22:43 +0300, Sergei Meshveliani wrote:<br>
&gt;         &gt; On Thu, 2016-12-08 at 19:30 +0100, Ulf Norell wrote:<br>
&gt;         &gt; &gt; Each commit of Agda contains a reference to the particular<br>
&gt;         commit of<br>
&gt;         &gt; &gt; the standard library<br>
&gt;         &gt; &gt; that it has been tested with. To find out which one you<br>
&gt;         can do the<br>
&gt;         &gt; &gt; following (after checking<br>
&gt;         &gt; &gt;<br>
&gt;         &gt; &gt; out the commit of Agda that you are interested in):<br>
&gt;         &gt; &gt;<br>
&gt;         &gt; &gt;<br>
&gt;         &gt; &gt; $ git submodule init<br>
&gt;         &gt; &gt; Submodule &#39;std-lib&#39; (<a href="https://github.com/agda/agda-stdlib" rel="noreferrer" target="_blank">https://github.com/agda/agda-<wbr>stdlib</a>)<br>
&gt;         registered<br>
&gt;         &gt; &gt; for path &#39;std-lib&#39;<br>
&gt;         &gt; &gt; $ git submodule update<br>
&gt;         &gt; &gt; Cloning into &#39;std-lib&#39;...<br>
&gt;         &gt; &gt; Submodule path &#39;std-lib&#39;: checked out<br>
&gt;         &gt; &gt; &#39;<wbr>7220ca3ee025e9339aa8e5d11efcd0<wbr>69764e7977&#39;<br>
&gt;         &gt; &gt; $ cd std-lib<br>
&gt;         &gt; &gt; $ git status<br>
&gt;         &gt; &gt; HEAD detached at 7220ca3<br>
&gt;         &gt; &gt;<br>
&gt;         &gt; &gt;<br>
&gt;         &gt; &gt; So the commit of the standard library that works with the<br>
&gt;         Agda commit<br>
&gt;         &gt; &gt; I tested this on is<br>
&gt;         &gt; &gt; 7220ca3. This is probably the easiest way for your users<br>
&gt;         to get a<br>
&gt;         &gt; &gt; compatible version of<br>
&gt;         &gt; &gt; the standard library as well, saving them the trouble of<br>
&gt;         keeping track<br>
&gt;         &gt; &gt; of two commit hashes.<br>
&gt;         &gt; &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; I am trying to find out what is the whole installation<br>
&gt;         process.<br>
&gt;         &gt;<br>
&gt;         &gt; For example, I have downloaded  agda-2.5.2-dc9ffae<br>
&gt;         &gt; by running the commands<br>
&gt;         &gt;<br>
&gt;         &gt;   &gt; git clone <a href="https://github.com/agda/agda.git" rel="noreferrer" target="_blank">https://github.com/agda/agda.<wbr>git</a><br>
&gt;         &gt;   &gt; cd agda<br>
&gt;         &gt;   &gt; git checkout dc9ffae<br>
&gt;         &gt;<br>
&gt;         &gt; Then I install Agda by<br>
&gt;         &gt;<br>
&gt;         &gt;   &gt; cabal update<br>
&gt;         &gt;   &gt; cabal install<br>
&gt;         &gt;   &gt; agda-mode compile<br>
&gt;         &gt;<br>
&gt;         &gt; Then I need to download the needed Standard library version.<br>
&gt;         &gt; To do this, I command<br>
&gt;         &gt;<br>
&gt;         &gt;   &gt; cd agda<br>
&gt;         &gt;   &gt; git submodule init<br>
&gt;         &gt;   Submodule &#39;std-lib&#39; (<a href="https://github.com/agda/agda-stdlib" rel="noreferrer" target="_blank">https://github.com/agda/agda-<wbr>stdlib</a>)<br>
&gt;         &gt;   registered for path &#39;std-lib&#39;<br>
&gt;         &gt;<br>
&gt;         &gt;   &gt; git submodule update<br>
&gt;         &gt;   Cloning into std-lib...<br>
&gt;         &gt;   ...<br>
&gt;         &gt;   Submodule path &#39;std-lib&#39;: checked out<br>
&gt;         &gt;   &#39;<wbr>7220ca3ee025e9339aa8e5d11efcd0<wbr>69764e7977&#39;<br>
&gt;         &gt;<br>
&gt;         &gt;   &gt; cd std-lib<br>
&gt;         &gt;<br>
&gt;         &gt; Initially this directory was empty. And now is has the files<br>
&gt;         of the<br>
&gt;         &gt; needed library version.<br>
&gt;         &gt; Right?<br>
&gt;         &gt;<br>
&gt;         &gt; To install the library, I command<br>
&gt;         &gt;<br>
&gt;         &gt;   &gt; cabal install<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         But there is not any .cabal file.<br>
&gt;         And I have an impression that<br>
&gt;<br>
&gt;           &gt; git submodule update<br>
&gt;<br>
&gt;         has already installed the needed library.<br>
&gt;<br>
&gt;         ------<br>
&gt;         Sergei<br>
&gt;<br>
&gt;         ______________________________<wbr>_________________<br>
&gt;         Agda mailing list<br>
&gt;         <a href="mailto:Agda@lists.chalmers.se">Agda@lists.chalmers.se</a><br>
&gt;         <a href="https://lists.chalmers.se/mailman/listinfo/agda" rel="noreferrer" target="_blank">https://lists.chalmers.se/<wbr>mailman/listinfo/agda</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
</div></div></blockquote></div><br></div>