<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>I used "sudo apt remove agda". It reported success, and when I attempt to repeat the command it reports that it is not installed so cannot be removed. However, "agda --version" still results in "Agda version 2.4.2.5". And "type agda" results in "agda is hashed (/usr/bin/agda)".</div>

<div> </div>

<div>Note that success was reported from the previous attempt at installing 2.5. It did take a very long time to install, but it printed the success message copied below verbatim.</div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Sent:</b> Saturday, December 02, 2017 at 11:12 PM<br/>
<b>From:</b> "Andrés Sicard-Ramírez" <asr@eafit.edu.co><br/>
<b>To:</b> "Manny Romero" <mannyromero@mail.com><br/>
<b>Cc:</b> "Andreas Abel" <andreas.abel@ifi.lmu.de>, "Agda users" <agda@lists.chalmers.se><br/>
<b>Subject:</b> Re: [Agda] Trying to load modules from Norell OPLSS tutorial</div>

<div name="quoted-content">It is weird that you have this problem after fixing the cpphs problem.<br/>
<br/>
If you installed Agda 2.4.2.5 from your distribution, please remove it.<br/>
<br/>
Which is the output of<br/>
<br/>
$ type agda<br/>
<br/>
?<br/>
<br/>
<br/>
<br/>
On 2 December 2017 at 22:45, Manny Romero <mannyromero@mail.com> wrote:<br/>
> Using this advice I was able to install the new version (or so it would<br/>
> certainly appear):<br/>
><br/>
> ----------<br/>
><br/>
> Configuring Agda-2.5.3...<br/>
> Building Agda-2.5.3...<br/>
> Installed Agda-2.5.3<br/>
><br/>
> ----------<br/>
><br/>
> ...but when I enter "Agda --version"<br/>
> I still get 2.4.2.5<br/>
><br/>
> and the original tutorial problems, resulting from the earlier version,<br/>
> persist as before.<br/>
><br/>
><br/>
> (Also: I added this<br/>
><br/>
> ----------<br/>
><br/>
> PATH=~/.cabal/bin:$PATH<br/>
> export PATH<br/>
><br/>
> -----------<br/>
><br/>
> to the end of my ~/.profile document, as suggested on the Internet. But it<br/>
> doesn't change my path when I call up a fresh session. What did I do wrong?<br/>
><br/>
> --Note: I don't think this problem is related to the first, because I was<br/>
> checking the Agda version from within the same session with the altered path<br/>
> that enabled me to finally install the 2.5 Agda in the first place.)<br/>
> Sent: Saturday, December 02, 2017 at 6:01 PM<br/>
> From: "Andrés Sicard-Ramírez" <asr@eafit.edu.co><br/>
> To: "Manny Romero" <mannyromero@mail.com><br/>
> Cc: "Andreas Abel" <andreas.abel@ifi.lmu.de>, "Agda users"<br/>
> <agda@lists.chalmers.se><br/>
> Subject: Re: [Agda] Trying to load modules from Norell OPLSS tutorial<br/>
> On 2 December 2017 at 16:11, Manny Romero <mannyromero@mail.com> wrote:<br/>
>> I am now attempting to use cabal to install the newest Agda. It keeps<br/>
>> failing because of different programs I have not installed yet, so that's<br/>
>> what I'm doing now. I am stuck at this point on one in particular, cpphs.<br/>
>> What happened is I initially installed one version, 1.19.3, using "sudo<br/>
>> apt<br/>
>> install", but this was apparently not as new as the Agda 2.5 requires.<br/>
>> I was<br/>
>> able to use cabal to install the latest, cabal-1.20.8, but apparently this<br/>
>> does not affect what is found under usr/bin/cpphs. Nor can I use the "sudo<br/>
>> apt install cabal-1.20.8" at this point; it reports that it cannot find<br/>
>> it.<br/>
>> What is going on here?<br/>
><br/>
> It seems you installed two versions of cpphs:<br/>
><br/>
> cpphs 1.19.3 in usr/bin/cpphs (vía sudo apt install) and<br/>
><br/>
> cpphs 1.20.8 in ~/.cabal/bin/cpphs (via cabal install)<br/>
><br/>
> but you didn't add the directory ~/.cabal/bin to your path.<br/>
><br/>
> Note: The directory ~/.cabal/bin should be the first one in your path.<br/>
><br/>
> --<br/>
> Andrés<br/>
> La información contenida en este correo electrónico está dirigida únicamente<br/>
> a su destinatario y puede contener información confidencial, material<br/>
> privilegiado o información protegida por derecho de autor. Está prohibida<br/>
> cualquier copia, utilización, indebida retención, modificación, difusión,<br/>
> distribución o reproducción total o parcial. Si usted recibe este mensaje<br/>
> por error, por favor contacte al remitente y elimínelo. La información aquí<br/>
> contenida es responsabilidad exclusiva de su remitente por lo tanto la<br/>
> Universidad EAFIT no se hace responsable de lo que el mensaje contenga. The<br/>
> information contained in this email is addressed to its recipient only and<br/>
> may contain confidential information, privileged material or information<br/>
> protected by copyright. Its prohibited any copy, use, improper retention,<br/>
> modification, dissemination, distribution or total or partial reproduction.<br/>
> If you receive this message by error, please contact the sender and delete<br/>
> it. The information contained herein is the sole responsibility of the<br/>
> sender therefore Universidad EAFIT is not responsible for what the message<br/>
> contains.<br/>
> La información contenida en este correo electrónico está dirigida únicamente<br/>
> a su destinatario y puede contener información confidencial, material<br/>
> privilegiado o información protegida por derecho de autor. Está prohibida<br/>
> cualquier copia, utilización, indebida retención, modificación, difusión,<br/>
> distribución o reproducción total o parcial. Si usted recibe este mensaje<br/>
> por error, por favor contacte al remitente y elimínelo. La información aquí<br/>
> contenida es responsabilidad exclusiva de su remitente por lo tanto la<br/>
> Universidad EAFIT no se hace responsable de lo que el mensaje contenga. The<br/>
> information contained in this email is addressed to its recipient only and<br/>
> may contain confidential information, privileged material or information<br/>
> protected by copyright. Its prohibited any copy, use, improper retention,<br/>
> modification, dissemination, distribution or total or partial reproduction.<br/>
> If you receive this message by error, please contact the sender and delete<br/>
> it. The information contained herein is the sole responsibility of the<br/>
> sender therefore Universidad EAFIT is not responsible for what the message<br/>
> contains.<br/>
<br/>
<br/>
<br/>
--<br/>
Andrés<br/>
La información contenida en este correo electrónico está dirigida únicamente a su destinatario y puede contener información confidencial, material privilegiado o información protegida por derecho de autor. Está prohibida cualquier copia, utilización, indebida retención, modificación, difusión, distribución o reproducción total o parcial. Si usted recibe este mensaje por error, por favor contacte al remitente y elimínelo. La información aquí contenida es responsabilidad exclusiva de su remitente por lo tanto la Universidad EAFIT no se hace responsable de lo que el mensaje contenga. The information contained in this email is addressed to its recipient only and may contain confidential information, privileged material or information protected by copyright. Its prohibited any copy, use, improper retention, modification, dissemination, distribution or total or partial reproduction. If you receive this message by error, please contact the sender and delete it. The information contained herein is the sole responsibility of the sender therefore Universidad EAFIT is not responsible for what the message contains.</div>
</div>
</div>
</div></div></body></html>