@Sriman Thank you for reaching out.
You do not "install" Redis cache on App service, you provision it just like you provisioned an Azure App Service.
You can then connect to the Redis cache from your app service.
A detailed tutorial with code sample is here
Please let us know if you have further questions.
----------
If an answer is helpful, please "Accept answer" or "Up-Vote" which might help other community members reading this thread.