Build the C++ compilation environment under ubuntu

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.

C++ environment settings##

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

Build the C++ compilation environment under ubuntu
Build a python development environment under Ubuntu
Django&MySQL environment deployment under Ubuntu 14.04
Build docker environment under Centos6.5
Build Ubuntu 12.04 cross compilation server
ubuntu1804 build the latest Suricata
ubuntu build python development environment
Resolve the problems encountered in the linux environment under ubuntu
Ubuntu 18.04.1 build Java environment and HelloWorld
Deploy the mail system under Ubuntu 19.10
Ubuntu16.04 build php5.6 Web server environment
Build a LAMP development environment on Ubuntu 16.04
Steps to build LNMP environment on ubuntu 20.04
Build arm virtual operating environment on Ubuntu
[PHP] Build a PHP operating environment under CentOS
GPU programming (1): CUDA8.0 environment construction under Ubuntu
Configure Nginx + PHP 7.0 + MySQL environment under Ubuntu 16.04
Docker those things in the Ubuntu environment
Expand the disk size of Ubuntu under VMware
ubuntu kernel compilation
Build Discuz Forum in LNMP Environment under CentOS7
Ubuntu build etcd
Build LEMP (Linux+Nginx+MySQL+PHP) environment under CentOS 8.1 (detailed tutorial)
Publish the node.js project under Ubuntu to heroku
Build Dedecms website in LNMP environment under CentOS7
Mount the disk in a directory under Ubuntu 18.04
Ubuntu build Seafile
Build a basic environment for Java development under Centos7
Embedded Linux development environment to build and configure Ubuntu
Install node.js under Ubuntu
CentOS6.7 build LNMP environment
Install mysql under Ubuntu 16.04
Install Thrift under ubuntu 14.10
Install OpenJDK10 under Ubuntu
Install Caffe under Ubuntu 14.04
Python MySQLd under Ubuntu
Ubuntu configuration development environment
Start working under ubuntu
Ubuntu 18.04 LTS LAMP build
[python] python2 and python3 under ubuntu
Use iptables under ubuntu
Ubuntu development environment configuration
2018-09-11 Install arduino under Ubuntu
LNMP installation under Ubuntu
Network configuration under Ubuntu
Python virtual environment: Ubuntu16.04
Ubuntu Touch environment setup
Ubuntu18.10 configure Java environment
Install ROS under ROS Ubuntu 18.04[2]
Install MySQL under Ubuntu
Install Yarm-PM2 under Ubuntu
ubuntu environment deployment project
CentOS 7 build LNMP environment
Encountered in the process of building a virtual environment in ubuntu
Detailed steps for installing Django under Python 3.6 in Ubuntu 16.04 environment
Method of setting up PHP operating environment under Ubuntu server
Build a Hustoj competition platform under the server under ubuntu 14|15 with multiple question banks and problem analysis