Ranorex is a Windows only application thus you cannot install it on Linux or macOS.
You could install Windows in a virtual machine, for example with VirtualBox and the free 90 day testing images of Microsoft. Now you can install Ranorex in the virtual machine.