Hi,
If you're trying to install PowerShell Core on Linux (CentOS 7) you can refer to the following documentations:
https://github.com/powershell/powershell
----------
(If the reply was helpful please don't forget to upvote or accept as answer, thank you)
Best regards,
Leon