MacOS – What’s the equivalent of Ubuntu’s apt-get command on a Mac

macosruby-on-railsUbuntu

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.

Best Answer

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
Related Question