It might work or it might not. CS5 and CS6 are on life support. But they can still be activated providing you have the following: 1. original media (disks or downloads) you received at purchase and a way to read them, 2. a legitimate serial number for that version, language and platform (Win/Mac), 3. an older operating system that can support legacy 32-bit apps.
NOTE: Legacy Creative Suite is discontinued & unsupported. Use at your own risk.
Creative Cloud Photography Plan -- approx $10/month for 12 months. Includes the very latest versions of these great products & services: -- Photoshop CC and Photoshop on iPad -- Lightroom on desktop, mobile and the web -- Lightroom Classic -- Portfolio website + hosting -- Spark with premium features -- Bridge -- 20 GB cloud storage (upgradable to 1 TB). https://www.adobe.com/creativecloud/photography.html