I'm trying to install the Feedzirra gem to do some work with RSS feeds. One documented issue with the installation is the need to install libcurl3-dev to address a common error in the installation process.

I came across this solution: Feedzirra and How I Installed it but it's for Ubuntu.

sudo apt-get install libcurl3-dev

I'm running ruby on rails on a Mac and was hoping someone could tell me the equivalent command for my system.

migrated from stackoverflow.com Feb 17 '13 at 23:43

This question came from our site for professional and enthusiast programmers.

  • 4
    If you are looking for a package manager, you could use homebrew – smk Feb 17 '13 at 15:16
  • The Fink project provides apt-get for OS X. So you may want to use that. This is really off-topic for Stack Overflow (or marginally on-topic as it pertains peripherally to install Ruby gems), so I recommend asking on Unix.SE or Ask Different instead. (Please read their FAQs and consider which would be appropriate given your question.) – user105707 Feb 17 '13 at 16:10

There is no exact parallel on mac to apt (switch to Linux for that), but some of the more common package names can most likely be installed from MacPorts. So, after installing MacPorts, run:

sudo port install libcurl3-dev

Homebrew is a popular alternative to the above-suggested MacPorts. I haven't used MacPorts but my impression from all the forum posts about the two is that Homebrew is easier to use.


that would be fink, which uses apt and dpkg.

due to the fact that official project website www.finkproject.org is often down, you can get an overview here finkers.wordpress.com/about/.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.