Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

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.) –  Eliah Kagan Feb 17 '13 at 16:10
add comment

3 Answers

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
share|improve this answer
add comment

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.

share|improve this answer
add comment

that would be fink, which uses apt and dpkg.

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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