partial installs

Ryan Schmidt ryandesign at macports.org
Thu Jul 29 11:35:10 PDT 2010


On Jul 29, 2010, at 13:30, Scott Haneda wrote:

> On Jul 29, 2010, at 10:43 AM, Ryan Schmidt wrote:
> 
>> It doesn't take 15 minutes to install phpmyadmin itself, so I assume it was installing some dependencies too?
> 
> Ayup.  I thought it would take seconds to install, but then remembered at the very least, it wants mcrypt, which I already had, but for some reason or another, phpmyadmin also depends on php5-gd, php5-mbstring, php5-mcrypt, php5-mysql, php5-zip.
> 
> That php5-gd also needs a few deps too.

Some people store images in blob columns in their databases, and PHP can display thumbnails of them in its lists, and uses gd to create them.


>> If you don't remember what all dependencies were installed that you don't need anymore, you can use the port_cutleaves script (available by installing the port_cutleaves port), or possibly the leaves pseudoport (as in "port installed leaves" to see what MacPorts thinks are leaves, and if you agree, then "sudo port uninstall leaves", etc.).
> 
> Silly me, I just ran `sudo port uninstall leaves` which decided to remove pretty much everything.  Ha ha, at least I have a nice list of what I need to put back in place now :)


Ports installed prior to MacPorts 1.9.0 will be considered leaves, which may not be correct. "sudo port setrequested" and "sudo port unsetrequested" exist to help you correct the list of leaves, if you want to use that feature.





More information about the macports-users mailing list