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

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?
42
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 ...
34
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 ...
24
votes
2answers
15k views

MacPorts vs. Fink vs. Homebrew

I always used MacPorts to install and maintain my GCC compilers (4.4, 4.5, 4.6, 4.7, ...) and gnuplot. Now I've heard about Fink and Homebrew. I think these two utilities are gaining ground in the Mac ...
22
votes
7answers
7k views

missing /usr/bin/gnutar on Mavericks (MacPorts)

MacPorts is complaining about missing /usr/bin/gnutar on Mavericks :info:extract sh: /usr/bin/gnutar: No such file or directory gnutar is indeed not there anymore. As suggested here I tried to ...
15
votes
8answers
13k views

What are your “must-have” MacPorts? [closed]

I hate to be all cliché with yet another "best [something]" question, but I am genuinely interested in what you most often install with MacPorts. When you get a new Mac, which ports do you first ...
14
votes
3answers
5k views

Is there any alternative to MacPorts?

MacPorts became really a pain because it does compile the packages on your machine, like the infamous gentoo and I would like something with a smaller footprint on your machine. I know that Fink and ...
12
votes
2answers
4k views

Listing all files installed by some MacPorts package

How to list all files that was installed by some MacPorts package? For example in Funtoo (or in Gentoo) I can achieve the same with a command: equery b [package name]
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?
12
votes
3answers
9k views

Where does macports install programs

I have installed both moria and ettercap using MacPorts (via pallet) and I can't for the life of me find out where the things were installed to run them! Where is the install directory? EDIT: When I ...
9
votes
3answers
6k views

Installing wine with homebrew

So, I am running a bit of a different install. Here's the background: I have installed wine before with MacPorts. Later, I decided to install homebrew. Then, wine didn't work so I tried brew install ...
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 ...
7
votes
4answers
1k views

What's the best way to install command line utilities such as GIT?

I'm a Windows/Linux guy that just got my Macbook Air. I do web dev, and am currently trying to setup this machine for some on-the-go development. After some research attempts, I'm wondering: what's ...
6
votes
1answer
3k views

Mountain Lion Broke MacPorts - Cannot Update

I am trying to update MacPorts but get the following error. sudo port selfupdate Password: ---> Updating MacPorts base sources using rsync MacPorts base version 2.1.1 installed, MacPorts base ...
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: ...
5
votes
4answers
9k views

Xcode appears to be installed but xcodebuild is unusable

I was had to reinstall Xcode 4 and now I'm getting message Xcode appears to be installed but xcodebuild is unusable; and xcodebuild exists but failed to execute all the time when I try to install ...
5
votes
4answers
791 views

MacPorts: Continue installing other updates after error

Say I have the following outdated packages: foo bar baz I want to update as many as them as possible, so I try to run: sudo port -n -f upgrade outdated However this fails with: Error: ...
5
votes
3answers
3k views

Unable to install Meld via MacPorts 2.0.3 on OSX 10.6.8

I am trying to get Meld onto my OS X 10.6.8 box using MacPorts 2.0.3 and am not having success. bobk-mbp:opt bobk$ port version Version: 2.0.3 bobk-mbp:opt bobk$ sudo port install meld ---> ...
5
votes
1answer
4k views

How do I change back from MacPorts Python to system default version?

I used MacPorts to install a newer version of Python on my system (10.5.8 PPC), and then used the MacPorts select command to change the default invoked version of Python to the MP version. Now I want ...
5
votes
1answer
350 views

ImageMagick - Convert multipage pdf to animated gif

I have a two-page PDF file that I would like to convert to an animated GIF file. A post on the TeX StackExchange gives the following ImageMagick one-liner: convert -verbose -delay 50 -loop 0 ...
4
votes
1answer
1k views

Stopping a macports installed mysql daemon

I'm trying to reset my root password on a macports installed MySQL on OS X. But none of the ways to do this that I can find works, for various reasons. One reason common to all is that I can't stop ...
4
votes
1answer
543 views

Can homebrew and macports work together to let Firefox-X11 be installed?

I want to install firefox-x11 but theres no repo in homebrew, only macports seems to have one, hence I'm at a loss how to get firefox-X11 on a system that relies on homebrew for OSS. The way I'd ...
3
votes
2answers
3k views

How can I change default X11 application?

I compiled my own X11 Server for Mac OS X and want it to replace the original outdated X11.app supplied by Lion. How do I do that?
3
votes
2answers
552 views

LaunchDaemon not recognised

I've installed CouchDB via MacPorts. Now I want to start it when my Mac boots, so I executed the instructions given in the install process: sudo launchctl load -w ...
3
votes
3answers
1k views

How do I set which Apache / PHP 10.6 should run?

All my problems stemmed from trying to get mcrypt for PHP installed. Last night I gave in and followed a tutorial of how to do a totally fresh apache2 and php5.3.3 install. I did this using macports ...
3
votes
1answer
4k views

Macports issues after Mountain Lion upgrade

After upgrading Lion to Mountain Lion, the MacPorts system seems broken. Refering to the MacPorts's migration page, the best solution seems to unistall all and reinstall all the ports. Is there a ...
3
votes
2answers
589 views

How can I install getent on Snow Leopard?

I have several scripts which require the utility getent. In addition, I've read several handy tips which use getent. getent is a Networking utility which is widely available on Unix, *BSD and ...
3
votes
1answer
1k views

How can I install the X11 version of Firefox on Snow Leopard? (Preferably without MacPorts or Fink?)

I’m doing some screen-scraping using Selenium, a framework which lets you programmatically control web browsers on your system. I’m running it as part of a web app on a Linux server, and on my MacBook ...
3
votes
1answer
152 views

How to link SVG files to Inkscape?

I installed Inkscape-0.48.3.1 via MacPorts to my Mac OS X 10.9.1 System. I Can start it from the Terminal using the command inkscape, which starts inkscape fomr the location /opt/local/bin/inkscape. ...
3
votes
1answer
333 views

port selfupdate fails after upgrading to next OS X version

port selfupdate fails with the following error message: port -d selfupdate can't find package machista 1.0 while executing "package require machista 1.0" (procedure "mportinit" line 487) ...
3
votes
1answer
457 views

Help getting Nautilus running under MacPorts

I have been trying to run Nautilus on OS X 10.6.8 without any luck. First, I installed MacPorts, then installed Nautilus. However when I try to run it from the command line, I am getting an error. I ...
2
votes
3answers
326 views

MacBook Pro 2012 appearance

I just got the latest MacBook Pro (2.6 GHz i7 Quad Core, 8GB RAM, non-retina). But the packaging and overall appearance looks just like the older 15" one (I don't see any HDMI and stuff). Are the ...
2
votes
2answers
389 views

What are the key differences between fink and macports?

I don't want to start a holywar, but as far as I am concerned, I am on track according to the faq. I wanted to know the key differences between macports and fink. I am a long time macports user and ...
2
votes
2answers
114 views

Will upgrading to Mavericks break my Macports?

I have a late 2010 Macbook Pro 15", running 10.7.5, with a configured dev environment, containing tons of installed ports (specifically Apache/PHP5.4/MySQL/Mongo/Node etc). Apparently, the only way ...
2
votes
1answer
2k views

Set default shell to MacPorts bash in Mac OS X 10.6.8?

As a follow up to my previous question, I reinstalled my MacPorts and want to try its newer version of bash again. I installed the newest bash via MacPorts on my Mac OS X 10.6.8 system, but when I ...
2
votes
2answers
143 views

How to find which ports depends on a given one when using macports?

I want to find which ports depends on a given installed port (texlive in my case). I found port deps texlive, but this is working in the "wrong" direction. How can I do it?
2
votes
2answers
3k views

Installing gnuplot (or similar) on Lion

All the packages needed to install gnuplot through MacPorts on Lion succeed, except for aquaterm. Installing gnuplot through Fink is far less lucky on Lion. Fink bails out after only a third of the ...
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 ...
2
votes
1answer
2k 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 ...
2
votes
2answers
1k views

Mac ports installation of gcc46 failing due to architecture problems

When trying to install gcc46 on OS X 10.6.4 using port (MacPorts 1.9.1) i get the following errors: artemis:foo$ sudo port install gcc46 Error: Cannot install gcc46 for the arch(s) 'x86_64' because ...
2
votes
2answers
473 views

Homebrew gives a warning: “You have MacPorts or Fink installed”

I just got a new Mac Pro with OS X 10.9. When I run: brew doctor I get the warning: Warning: You have MacPorts or Fink installed: /opt/local/bin/port This can cause trouble. You don't have to ...
2
votes
2answers
840 views

Installing ghostscript using MacPorts fails

I recently upgraded MacOSX to version 10.9. Before I did that, i uninstalled all macports-packages using: sudo port uninstall --follow-dependencies installed Now I'm running MacPorts 2.2.1 and ...
2
votes
1answer
69 views

Switch to MacPorts SSH by default 10.8/10.9

I've installed the MacPorts high-performance variant of SSH (sudo port install openssh +hpn) but now I would like to switch the default ssh command over. However, there appears to be some moral panic ...
2
votes
1answer
429 views

How can I uninstall the macports tex packages?

I have installed MacTex 2013 and it seems to be properly installed, except that the binaries used at are from macports. "sudo port uninstall texlive" will not do anything. No output from the command. ...
2
votes
1answer
478 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
572 views

MacPorts Software clean-up: /opt/local/var/macports/software

The MacPorts directory /opt/local/var/macports/software is really full of "stuff": Can all the .tbz2 files be deleted? I am running out of space on the SSD.
2
votes
1answer
770 views

Problem installing rpm using macports

I am trying to install the rpm package using MacPorts, but this is what I get: ~ wdb$ sudo port install rpm ---> Computing dependencies for rpm Error: org.macports.activate for port rpm returned: ...
2
votes
1answer
252 views

Run x11 app from dock

I have an app in /usr/local/bin directory and can not drag it onto the dock and have to open Terminal everytime I want to run this program. Is it possible to run a macported/homebrewed application ...
2
votes
2answers
309 views

Installed MacPorts packages sizes

Can I retrieve a list of the sizes of MacPorts installed packages? Yes, I know they are compiled from sources, but if a list of generated files is known, it should be computable anyway.
2
votes
2answers
327 views

How to get rid of Xorg from Macports?

I have installed some packages from macports, and nearly all of them required to install Xorg. How can I remove the Xorg packages? Is there a way to reinstall all my Xorg dependant package without ...