How to install Curl

Hey There,

I’m wondering how I can go about installing the curl application onto FrePBX Distro?

I am trying to use it to post data to a webservice from a custom macro but it is failing stating:

[2013-04-05 12:00:52] WARNING[-1]: pbx.c:4218 pbx_extension_helper: No application ‘curl’ for extension (macro-writefile, s, 6)