tags:

views:

147

answers:

1

I want to install SWIG on My linux server to test some stuff.

How can install that

+2  A: 

You have a few options. The easiest is to check for a binary package in the CentOS repository.

sudo yum install swig.i386

Alternatively, you can download SWIG from http://www.swig.org/download.html, untar it, ./configure, make, sudo make install and you're done.

Of course, finding the proper dependencies may be a little difficult, but with a little bit of Google-fu, you'll find what you need.

BenJolitz
SWIG is pretty independent if you're building from source. But you do need to have the devel packages for the language you want to build extensions for.
Dave Bacher