@RaviSingh Please follow the below links as per your requirements:
1. Installing splunk on linux including creating splunk user and opening splunk port follow this link: https://blog.avotrix.com/installing-splunk-on-vm/
2. Just looking for installing splunk in linux and not linux steps as above, please follow this link: https://splunkonbigdata.com/how-to-install-splunk-on-linux-server/
Also Splunk provided detailed video on splunk portal for installing splunk on linux which can be followed using this link: https://www.splunk.com/en_us/resources/videos/installing-splunk-enterprise-on-linux.html
Also if this reply helped you in solving your problem, an up-vote would be appreciated.