Summary of the complete CLion installation process under Ubuntu
Some time ago, I encountered various problems when installing CLion under an empty Ubuntu. The following is the specific installation process and the problems encountered.
Download CLion
下载地址 https://www.jetbrains.com/clion/
下载后开始安装
tar xzvf CLion-2019.1.4.tar.gz
cd 解压后的文件夹/bin
./clion.sh
Run ./clion.sh if an error is reported: NOT Found various JDKs. It means that the JDK software is not installed or the environment path is configured incorrectly
解决方法:
下载对应版本的jdk软件,安装后配置系统路径即可解决
可以参考(==注意下载的系统位数要正确==):
https://blog.csdn.net/smile_from_2015/article/details/80056297
如果 java -version 失败可能是下载本系统位数错误
If there is no error, the installation is complete, and the cracking method can refer to this
https://zhile.io/2020/11/18/jetbrains-eval-reset-da33a93d.html
Next install cmake
https://www.linuxidc.com/Linux/2018-09/154165.htm
Configure cmake in CLion
一般cmake安装在 /usr/local/bin/cmake