Is it generally okay to uninstall all inactive leaves?

Marko Käning MK-MacPorts at
Sun Feb 15 10:42:42 PST 2015

Hi Carlo,

On 15 Feb 2015, at 19:25 , Carlo Tambuatco <oraclmaster at> wrote:
> $> port list leaves and inactive

Especially because you searched for inactive, it should be okay to delete them.

But even if you omitted inactive you could uninstall everything, yet those ports
might be necessary for builds, like here in my case:
$ port installed leaves
The following ports are currently installed:
  asciidoc @8.6.9_2 (active)
  autoconf @2.69_3 (active)
  automake @1.15_0 (active)
  cmake @3.0.2_1 (active)
  db46 @4.6.21_9 (active)
  gmake @4.1_0 (active)
  intltool @0.50.2_4+perl5_16 (active)
  p5.16-test-exception @0.360.0_0 (active)
  p5.16-test-nowarnings @1.40.0_1 (active)
  p5.16-test-warn @0.300.0_0 (active)
  pkgconfig @0.28_0 (active)
  texi2html @5.0_1 (active)
  Xft2 @2.3.2_0 (active)
  xmlto @0.0.25_1 (active)
  xorg-xcb-util @0.4.0_0 (active)
  yasm @1.3.0_0 (active)

If all those where gone, next time you build something they’d be installed
automagically again.

To have a little more control over it, you might use “sudo port setrequested”
as described in the Guide [1]. If you then call “port installed leaves” you’d
only see those which you were not explicitly installing previously.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list