To install from the Ruby repositories, simply run:
$ gem install paillier
To build from source you can clone our Github repository.
Our Paillier implementation is released under the GNU Lesser General Publice License, Version 3.