In the official repository, even Ubuntu 16.04 (the newest now) has only version 2.3 for NINJA IDE. If you want higher version than the official one, you can install it from PPA. We will use daily build PPA from NINJA IDE developer. Here the instruction how to do it.