How to install psycopg2-2.6 with python2.6?

How do I install Unix stuff on my mac?!?

  • So I found this wonderful program unix program, that needs to be installed and used on my macbook (yosemite).OMG. How do you install stuff like this?!? The problem is that: 1. I don't know how to install it 2. I don't know how to use it. 3. I have very limited experience with terminal. 4. I don't know unix. 5. I don't know what is the latest version or where I can get it. The program is http://en.wikipedia.org/wiki/Hypermail How do I install this, and use it? I can set up all sorts of directories on my mac, and I have root privileges, but I don't know how to install it and use it. BONUS: 6. It may need updating or something. I'm not a developer, I don't know how to install this, but I really need to use it on my mac. Can anybody help me??!?! I will be available on this thread if I missed anything vital. In case there is ANOTHER way to do it, I'm totally game. I heard of a program called mhonarc and I'm wondering if it would do the same thing.

  • Answer:

    The cool kids seem to be using Homebrew now, not MacPorts, for installing and managing Unix packages. Not sure why. Homebrew distributes binary packages is why. When it works, that saves time and power. In my experience, though, brew is less reliable- their htop release, for instance, is broken so as to lack the interactive menu features.

katventures at Ask.Metafilter.Com Visit the source

Was this solution helpful to you?

Other answers

The cool kids seem to be using Homebrew now, not MacPorts, for installing and managing Unix packages. Not sure why.

thelonius

Thelonius, Homebrew tends to work with OS X's bundled distributions of, e.g., Python, Perl, Ruby, Clang/LLVM, etc. while MacPorts and Fink tend to build their own little redundant world off in /opt/. Advantages to both, but Homebrew definitely has momentum, for better or for worse. And as fifthrider mentions, it's basically a binary package service now. But this sadly doesn't help katventures, since Hypermail isn't packaged in Homebrew, and both https://github.com/Homebrew/homebrew/pull/19679 and https://github.com/Homebrew/homebrew/pull/15230 were rejected for philosophical reasons.

SemiSophos

Fifthrider is correct. I was unable to compile Hypermail from the source, but MacPorts makes it simple to install a compatible binary. 1. Download and install the https://distfiles.macports.org/MacPorts/MacPorts-2.3.3-10.9-Mavericks.pkg for Mavericks. 2. Open Terminal (CMD + SPACEBAR and start typing "terminal" -- press enter). 3. In Terminal, type "sudo port install hypermail" 4. Type in your system password when prompted. 5. In Terminal, type "hypermail -h" to see what options are available to you on the command line. Example: hypermail -m myfile.mbox -d ~/Desktop/MyFolder

plasticbugs

I'm looking at Mhonarc, but I neither know how to install it or use it.

katventures

https://www.macports.org/ports.php?by=variant&substr=gdbm has hypermail in its repos. It can handle updates as well.

fifthrider

I'm about to head to bed, but while you wait for more complete answers, you can go ahead and get started by downloading and installing a compiler toolchain, which is almost certainly going to be a prerequisite for this sort of stuff. Open up your terminal (Applications -> Utilities -> Terminal) and type: sudo xcode-select --install It will ask you for your password. Type it in and press return (you won't see *'s show up or anything, but I swear it's there). You should then get some popups and whatnot, at the end of which you'll have a working build toolchain. Hooray! ...now someone else needs to show up and discuss what it takes to actually compile hypermail or similar on OS X. :-)

SemiSophos

It will ask you for your password. Type it in and press return (you won't see *'s show up or anything, but I swear it's there). You should then get some popups and whatnot, at the end of which you'll have a working build toolchain. Hooray! Done!

katventures

Whoops! I misread. You need the https://distfiles.macports.org/MacPorts/MacPorts-2.3.3-10.10-Yosemite.pkg. Sorry about that!

plasticbugs

4. Type in your system password when prompted. After that, it spit this out: sudo: port: command not found Sorry. Won't threadsit anymore. I appreciate all your help, especially if you can help me with what is blocking me now.

katventures

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.