Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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
    
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
add comment

migrated from serverfault.com Feb 8 '12 at 18:18

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

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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