Questions tagged [macports]

MacPorts is a package management tool for OS X, which provides many third party applications the operating system doesn't ship with.

Filter by
Sorted by
Tagged with
50 votes
1 answer
40k views

Bash completion for commands in Mac OS X

How do I get fink and macports to autocomplete program names when typing commands, as in Ubuntu's apt-get? For example when I type sudo port install ca and press tab, I want the terminal to ...
Osama Gamal's user avatar
  • 1,147
7 votes
3 answers
4k views

`which python` points to the python I want, but `python` runs the wrong version

I want to use python24 provided by ports, so I've installed it, and python_select -s shows that the version I want is indeed selected. Running which python gives /opt/local/bin/python, and running /...
tramdas's user avatar
  • 173
1 vote
2 answers
16k views

Getting PATH right for python after MacPorts install

I can't import some python libraries (PIL, psycopg2) that I just installed with MacPorts. I looked through these forums, and tried to adjust my PATH variable in ~/.bash_profile in order to fix this ...
BenjaminGolder's user avatar
77 votes
3 answers
57k views

How can I clean up my MacPorts installation?

Which command should I run to delete all old port versions delete downloaded files temp files created during build all other stuff which I don't need when I am sure that updated version works fine ...
tig's user avatar
  • 4,734
64 votes
3 answers
47k views

Using `shred` from the command line

I need to securely erase some files. I have used shred on linux systems before, so I looked around and found that shred is part of the coreutils package in macports. I did port install coreutils to ...
inspectorG4dget's user avatar
42 votes
2 answers
65k views

How do you remove MacPorts and all the packages it has installed?

I have installed MacPorts on my Mac OS X Lion, and I would like to remove it. There should be no more trace of MacPorts? Is there a way to do this?
user893730's user avatar
  • 1,217
28 votes
2 answers
18k views

Linux-like top/netstat/etc. on Mac OS X?

Unix utilities on Mac OS X are quite painful to use. port install coreutils +with_default_names and a few other such replacements fix most of them, but it leaves some in broken Mac OS X defaults - ...
taw's user avatar
  • 1,947
11 votes
4 answers
17k views

How can I copy into the Mac clipboard from vim?

I can paste from vim in one terminal window to vim in another, but not to anything outside vim. I've read numerous posts on the subject, and nothing I've found has helped. Copy/pasting from MacVim ...
Reefersleep's user avatar
6 votes
2 answers
3k views

Can pkgsrc, Homebrew, Fink, and MacPorts peacefully coexist?

I heard that some people like to use both Fink and Macports since some packages exist in one and not the other. Recently I've had trouble building and running packages like GRASS and Digikam w/ ...
hpy's user avatar
  • 6,091
3 votes
1 answer
1k views

meld on OS X 10.7 doesn't work?

I'm installing meld on Mac OS 10.7 using port. It has downloaded all dependencies and told that everything is ok: Staging meld into destroot Installing meld @1.5.3_0 Activating meld @1.5.3_0 ...
klm123's user avatar
  • 333
3 votes
3 answers
4k views

X11.app (on SnowLeopard) won't start

Today I discovered that X11.app no longer works on my Mac. I'm not sure when this happened. I think it's been several weeks since I last used an X11 application. By "no longer works" I mean it does ...
Laurence Gonsalves's user avatar
2 votes
1 answer
2k views

Unable to execute port when installing ImageMagick

I'm trying to install ImageMagick by using MacPorts. I've successfully installed MacPorts by using their Mountain Lion .pkg file. I open the terminal and run: sudo port install ImageMagick However ...
Lashae's user avatar
  • 193
2 votes
1 answer
1k views

Installing MacPorts on Snow Leopard

I installed MacPorts from the DMG package at http://www.macports.org/install.php After installing it I tried to use it and get this: dlopen(/opt/local/share/macports/Tcl/macports1.0/MacPorts.dylib, ...
Bemmu's user avatar
  • 1,038
1 vote
2 answers
190 views

Installing MySQL on MacOS

I want to install mysql. Big Internet told me that I should do it via MacPorts. I've downloaded MacPort's dmg and it asks me to install XCode which I can buy via App Store. It is ridiculous to pay ...
fl00r's user avatar
  • 215
1 vote
6 answers
3k views

Can't install mercurial on Mac OS X

I can't install Mercurial. I am getting this error: ---> Computing dependencies for mercurial Error: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/...
user avatar
0 votes
1 answer
938 views

Trying to install coreutils via MacPorts: "Error: Port coreutils not found"

I'm trying to use MacPorts to install coreutils. I check that MacPorts was installed correctly, $ port version Version: 2.3.4 and try to install coreutils, $ sudo port install coreutils Error: ...
NewNameStat's user avatar
0 votes
2 answers
17k views

Can't log into account on Macbook Pro

I installed MacPorts on my Macbook pro with lion, restarted, and now I cannot log into my account. After the restart it hung at the loading screen (the apple with the loading icon) for a while. I ...
user3476345's user avatar