Questions tagged [macports]

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

Filter by
Sorted by
Tagged with
154
votes
4answers
90k 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 ...
88
votes
6answers
135k 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 ...
15
votes
3answers
8k 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 ...
10
votes
1answer
23k 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 ...
17
votes
1answer
13k 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
4answers
4k 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: org....
2
votes
1answer
136 views

Using launchd to update MacPorts

I want to use launchd to update my MacPorts tree periodically (i.e. port selfupdate. I have created /Library/LaunchDaemons/org.macports.selfupdate.plist: $ ls -l /Library/LaunchDaemons/org.macports....
0
votes
1answer
2k 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 ...
39
votes
4answers
23k views

MacPorts vs. Fink vs. Homebrew [duplicate]

I always used MacPorts to install and maintain my GCC compilers and other programs. Now I've heard about Fink and Homebrew. It seems these two utilities are gaining ground in the Mac community, but I ...
31
votes
2answers
18k 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]
11
votes
2answers
3k 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 ...
6
votes
4answers
12k 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: ...
6
votes
1answer
4k views

How to delete MacPorts user after using the Migration Assistant

My 2012 MacBook Air (11", i7 2GHz 8GB RAM) crashed and I had to erase the SSD and re-install macOS High Sierra with the Internet Recovery Mode tools. Once I had the working OS, I used the Migration ...
6
votes
1answer
7k 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 ...
8
votes
5answers
4k views

Files wrongly considered as damaged in encfs volume

I am using encfs @1.7.5 and osxfuse @2.6.4 installed via MacPorts 2.2.1 on my MacBook Pro Retina Late 2013 which is running OS X Mavericks 10.9.2. When opening certain files (e.g. xlsx, pdf) in my ...
5
votes
1answer
2k 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 ...
3
votes
4answers
457 views

How to get to know OS X/Unix better? [closed]

Not sure how to ask this but this problem has troubled me for so long. I'd long been a DOS/Windows user until about 12 years ago when Mac OS X first came out I turned to the Mac, and stayed here ever ...
1
vote
1answer
139 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 ...
0
votes
0answers
21 views

Forward deleting (Macports/bash): Is there an alternative to Fn+Delete and Control+D?

As a more general version to this question, is there a way to forward-delete in a bash terminal that doesn't involve Fn+Delete or Control+D? Motivation: When using the Macports port command ...
3
votes
3answers
2k 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. ...
2
votes
1answer
83 views

How long does it take for MacPorts to catch up with new macOSes?

A Wikipedia page is pretty good at showing the precise date when a version of macOS was released. The corresponding wikipedia page for MacPorts is not quite so helpful, and the MacPorts.org download ...
2
votes
1answer
4k 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
1k 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 ...
1
vote
1answer
3k views

Python IDLE from MacPorts can't start

I tried installing the python27 and python32 packages via MacPorts in Mac OS X 10.6.8. It includes the standard IDLE, Python Launcher, and Build Applet applications. However, when I start them, their ...
0
votes
3answers
6k 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
1answer
31 views

How to forward delete in Macports?

When using the interactive Macports shell (running port), is there a way to delete characters to the right of the cursor? Normally, you can simply use key the combination Fn + Delete to forward-...
0
votes
1answer
52 views

Can I tell MacPorts to build against its own X11 or Xorg?

In this comment there is a distinction drawn between "native macOS libraries" and X11, Haven‘t used MacPorts for years, but most probably Kitty is compiled with the native macOS libraries, not with ...
0
votes
1answer
107 views

How does MacPorts work with /Applications/MacPorts and /opt/usr/local/bin

I have installed i3 under MacPorts. Whenever I run uxterm under X11 it works as expected and I can get vertical and horizontal splits with i3. However, when I try to run kitty -- also installed under ...
0
votes
0answers
71 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: /...