Download the latest tarball, expand it and run
$ ./configure $ make $ sudo make installThis installs the binary
freesasato your path,
freesasa.hto your include path and the library
libfreesasato your lib-path.
If you got the code directly from the git repo, first
autoreconf -i to create the configure script, which
requires an autotools installation.
Tarballs for older versions are attached to the GitHub-releases
After building the package, calling
$ freesasa -h
explains how the commandline interface (CLI) can be used.
The reference documentation contains info on most CLI options, the C and Python APIs and some implementation details.
Simon Mitternacht (2016) FreeSASA: An open source C library for solvent accessible surface area calculation.