@Abhinov-Singh-0 you can. I have centos 6
First install devtoolset-2 to get gcc 4.8.x
Then enable the environment, and install libvip 8.8.3
https://github.com/libvips/libvips/releases
Then install nodebb but with environment enabled also under nodebb user run.