universalInstaller can help to create bash scripts for installing your tools on any Linux distributions.
You should contain your tool to directory with structure:
/path/to/your/tool/
|
| -- bin/
| |
| | -- binaries/of/your/tool
| -- lib/
| |
| | -- libs/of/your/tool
- Build your tool
git clone https://github.com/mperov/universalInstaller.gitcd universalInstaller/./builder.sh /path/to/your/tool
sudo ./universalInstaller.sh- There is uninstaller can remove your tool from target machine:
sudo ./universalUninstaller.sh
sudo only allows to install your tool to /usr/local