Make sure you have java in the system, if not, do the following.
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Then go to the place where you have Clion. Go into the bin folder and do
sudo sh install.sh
Good luck!



Leave a comment