Last week I needed to install twidge on a centos 5.7 server.

Truly, twidge is very simple to install into debian (or derived) linux distribution, but I found some problems while installing it into my centos server. 

First of all you shall download the twidge binaries from here:

https://github.com/jgoerzen/twidge/downloads

the twidge binary requires libcurl-gnutls

simply type the following command:

# ln -s /usr/lib/libcurl.so.3.0.0 /usr/lib/libcurl-gnutls.so.4

Then if you try to run twidge it asks you for libffi

Use yum to install libffi

 

# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

# rpm -Uvh http://download.fedoraproject.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

 

# yum install libffi

 

That's all, now you can run twidge.

Gg1