From the unpacked distribution run ./setup.py install . Jar files will be installed to the defined appDir and a binary to the defined binDir. By default appDir and binDir are ~/java and ~/bin respectively for a non-root user and are /usr/share and /usr/bin for root. The appDir and binDir directories must exist and be writable by the person installing. They may be overridden. For example: ./setup.py install --binDir /bin will write the executable to /bin. See ./setup.py -h to get details of options.
Any existing installation will be removed first.
To uninstall use ./setup.py uninstall which has the same options and will do nothing if there is no installation.