This program written in C will help you to automatically install everything you need and configure it so that you can run Photoshop on your Linux without problems.
Why do you think that https://github.com/MiMillieuh/Photoshop-CC2021-Linux is a good alternative to Photoshop