Install

sudo dpkg —install splunk-*-linux-amd64.deb).
cd /opt/splunk/bin
sudo ./splunk enable boot-start -user splunk -systemd-managed 1 --accept-license

Verify the installation

sudo find /opt/splunk -user root -o -group root -ls
sudo find /opt/splunk -not -user splunk -o -not -group splunk -ls  

Start the service and check the status

sudo systemctl start Splunkd # From the next reboot onwards Splunkd will start automatically
sudo systemctl status Splunkd

Verify that the Splunk processes are running as user ‘splunk’ and not as ‘root’

ps -eaf | grep -i splunk

Change the license group to ‘Free’