Quote: ##
I have been debugging programs under the ubuntu system these days, but there is still no C++ IDE environment that is very hands-on. The vs code is actually not easy to use. According to the settings on the Internet, none of them can succeed. Other editors are not convenient for debugging, and they are not as easy to use under the ubuntu system as the Windows system. So all kinds of trouble, uncomfortable. Today I finally found a way to solve it perfectly. That is Clion!
Clion is a bit like pycharm, but the biggest thing about Clion is that it has both C++ and python at the same time, and the environment setting is very convenient, eliminating the cumbersome vs code.
1、 A brief introduction to Clion
CLion is a cross-platform IDE based on IntelliJ and designed for the development of C and C++. It can be used on Windows, Linux and MacOS. Here I installed it on ubuntu 16.0.4.
2、 Installation of Clion on Linux
1 ), get the .tar.gz compressed package of Clion for Linux
Method 1: Go to the official website to download [https://www.jetbrains.com/clion/](https://www.jetbrains.com/clion/) directly
https://www.jetbrains.com/clion/download/#section=linux
Method 2: Use wget command, wget https://download.jetbrains.8686c.com/cpp/CLion-2016.2.2.tar.gz
2 ), unzip CLion-2016.2.2.tar.gz to the current folder
tar -zxvf CLion-2016.2.2.tar.gz
3 ) Run the clion.sh script
cd clion-2016.2.2/bin/
. /clion.sh
4)、 Open workspace
Open for the first time and click ok
Then just agree
CLion is charged, you can choose to try it for 30 days and build a cracked server.
Enter in the License server on the activation interface: http://idea.liyang.io
Or: click help→Register→License sever, enter [http://idea.liyang.io](http://idea.liyang.io/)
Choose the theme you like.
Recommended Posts