Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I want to install something, mac ports keeps on re-installing Perl, Python, etc. although the same packages are already installed on the system. Is there some setting to avoid this?

share|improve this question

migrated from Feb 8 '12 at 18:18

This question came from our site for system and network administrators.

Have you tried removing them completely (and their dependencies) and then reinstalling? What you are seeing is certainly not normal. I've installed both Python and Perl as dependencies of another package and neither have been updated since. – EmmEff Feb 9 '12 at 3:35
What are some of the things you are installing that are causing the repeated installs of Perl, Python, etc...? – MrDaniel Feb 10 '12 at 2:42

What you are seeing there are most probably upgrades for your ports. MacPorts will automatically upgrade all dependencies before installing new ports. Check port outdated to see a list of available upgrades and sudo port upgrade outdated to install them.

It is usually recommended to let MacPorts upgrade dependencies before installing new ports to get the latest fixes. However, if you really need to install a port quickly, you can use sudo port -n install to avoid this behavior and just install the new port only.

share|improve this answer

It also might be worth your while checking out Homebrew. Unlike MacPorts it tries to work with the unix software that comes with your Mac rather than installing alternative versions.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.