<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"><<a href="mailto:gbacareza@gmail.com" target="_blank">gbacareza@gmail.com</a>></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 'leaves' pseudo-portname for "installed ports that are unrequested and have no dependents" is useful for cleanup after something like this. (If you'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 'request' these ports (so they are no longer leaves) after the fact with "sudo port [un]setrequested <portname>" ... Be sure to look at the list you are about to uninstall to make sure you really don't want any of the items. (Or just deactivate them for now if you're not low on disk space -- they can be reactivated very quickly.)</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">See "man port" for more information.</div><div class="gmail_extra"><br></div><div class="gmail_extra"> - Eric</div></div>