Ubuntu Linux is the only officially supported platform, though installation from source should work without problems on other Linux distributions. If there are no rosdep rules for your platform, have a look at the rosdep.yaml file in the knowrob folder to see a list of programs that need to be installed and install the packages yourself.
In principle, installation in MacOS and Windows should also be possible (at least all dependencies are available), but there is no support. If you succeed in installing the system on one of these platforms, please notify the KnowRob developers.