<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 27, 2014 at 5:15 AM, Gio Bacareza <span dir="ltr">&lt;<a href="mailto:gbacareza@gmail.com" target="_blank">gbacareza@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><span style="font-family:Arial">4. If I decide to not attempt the port installation of Octave and try other means, how do I clean up?</span></div>

</div></blockquote><div><br></div><div>The &#39;leaves&#39; pseudo-portname for &quot;installed ports that are unrequested and have no dependents&quot; is useful for cleanup after something like this. (If you&#39;re not planning to try re-installing.)</div>

</div><br></div><div class="gmail_extra">This can be combined with port psuedo-portnames for some very useful combinations:</div><div class="gmail_extra">   port echo leaves and rdepof:octave</div><div class="gmail_extra">
   sudo port uninstall leaves and rdepof:octave</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Note some things (like automake / autoconf) are required by many ports during build phases, but become leaves as they are not required after the install completes. You can &#39;request&#39; these ports (so they are no longer leaves) after the fact with &quot;sudo port [un]setrequested &lt;portname&gt;&quot; ... Be sure to look at the list you are about to uninstall to make sure you really don&#39;t want any of the items. (Or just deactivate them for now if you&#39;re not low on disk space -- they can be reactivated very quickly.)</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">See &quot;man port&quot; for more information.</div><div class="gmail_extra"><br></div><div class="gmail_extra"> - Eric</div></div>