Two branches of libmodbus are currently maintained:
Download the tarball of the version you want by clicking and the version numbers and run:
./configure && make && make install;
The latest stable release is also available in many Linux distributions:
You can also browse the source code on
github or clone with the command
git clone git://github.com/stephane/libmodbus to compile and test the latest version.