MongoDB 2.6.11 on CentOS 6.5 to MongoDB 6.0.15 upgrade

trying to upgrade MongoDB 2.6.11 running on CentOS 6.5 to MongoDB 6.0.15.

2.6.11 → 3.0.15 → 3.2.22 → 3.4.24 → 3.6.23 → 4.0.28 → 4.2.24 → 4.4.29 → 5.0.27 → 6.0.15

I’m trying to upgrade like this, but there are cases where I don’t have the Mongodb file for RedHat 6.x, so I’m wondering if I can use the file for RedHat 7.0.