A package management system for OS X. It allows for easy installation of free/open source software. Formerly called DarwinPorts.

learn more… | top users | synonyms

2
votes
1answer
3k views

How do I find what packages I've installed via terminal?

I've been learning the shell for a few weeks and have installed several packages. I know/remember what some of them are, like oh-my-zsh and emacs 24 (which was a nightmare to upgrade to), but not sure ...
0
votes
1answer
1k views

MacPorts fails to find 'make'

I've installed Xcode and MacPorts on a brand new mid-2013 MacBook Air, but MacPorts doesn't work, saying that it cannot find anything. mba:~ cnst$ sudo port install wget Warning: The Command Line ...
43
votes
2answers
14k views

What are pros and cons for MacPorts, Fink and Homebrew?

I'm just migrating from Ubuntu Linux to Mac, and everything is new and I'm re-learning a lot of stuff. On Linux I had the excellent apt-get to manage software packages. I googled for an alternative ...
48
votes
6answers
36k views

How to remove unused MacPorts packages?

Whenever I install a program via MacPorts, it gets and installs lots of dependencies. When I uninstall said program, how do I make MacPorts recursively remove all unused dependencies with it?
35
votes
4answers
23k views

Are my permissions for /usr/local/ correct?

I’m using HomeBrew for my port needs (seems a bit “cleaner” than MacPorts). I can install without sudoing (which is great), but the man linking step seems to require it (/usr/local/share/man/man3 ...
12
votes
1answer
3k views

How to cleanly remove MacPorts

I'd like to cleanly remove all changes made by MacPorts as well as MacPorts itself, to try my luck with homebrew. How can I do that?
6
votes
4answers
10k views

Mac OS X Lion and sshpass

I've upgraded from Mac OS X Snow Leopard to Lion. I used several scripts with sshpass but after I upgraded to Lion the following error appears: Permission denied, please try again. debug1: ...
8
votes
2answers
2k views

Migrating from MacPorts to Homebrew. Is there any specific advice in how to minimize disruption?

I want to stop using macports, and use homebrew instead, I have been reading on their approach and it makes more sense to me. Now, I don't care much about having to reinstall my packages, even if some ...
1
vote
1answer
88 views

Macports cccc terminates when run - how to solve

One tool I really appreciate when analyzing source code for software is Sourcemonitor, but unfortunately it is only available on windows. Having searched around for alternatives on my mac, it seems ...
2
votes
1answer
480 views

Benefit of using MacPorts coreutils instead of stock OS X?

I noticed that MacPorts contains lots of software that are already present as part of a stock Mac OS X installation (I am running 10.6.8 Snow Leopard), such as coreutils, tar, etc. Is there a benefit ...
2
votes
1answer
3k views

How to install and run nautilus using macports (or any other way)

I've installed macports and then done 'sudo port install nautilus' to install nautilus, which all works fine. Now i'm not sure how to actually run nautilus - there's no app in the applications, and if ...
1
vote
1answer
667 views

How do I install Macports and Xcode for OS X Snow Leopard

I'm new to OS X and I have an older Snow Leopard system. I need to compile a few simple C programs for some analysis work. It seems that gcc et al are part of a package called Xcode, and that many ...
0
votes
3answers
2k views

Issue installing MacPorts on Mavericks

I try to install MacPorts and get this $ sudo make install make: getcwd: Permission denied shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied ...
0
votes
0answers
62 views

/opt insufficient permissions [duplicate]

After updating Mountain Lion to Mavericks xQuartz and MacPorts throws errors about insufficient permissions. (xQuartz and MacPorts are the latest version) I noticed: $ sudo mkdir /opt/tmp mkdir: ...
0
votes
0answers
480 views

Installing RPM with MacPorts on Mac OS X 10.7.5

I installed MacPorts from the official site usting .pkg installer for Mac, accepting all default installation settings. Then my goal was to install rpm, so I typed respectively : sudo port -v ...