Linux Apps
Now Reading
How to install Clion in Ubuntu

How to install Clion in Ubuntu

To install CLion in Ubuntu 16.04

CLion is a free IntelliJ Platform. It supports HTML, CSS, JavaScript, and XML. Languages can also be added via plugins. Installation of CLion in Ubuntu is explained in this article.


  • Easy start
  • Smart editor
  • Navigation & Search
  • On-the-fly code analysis
  • Editor customization
  • Code generation & refactorings

To Install CLion

Add java repo file using “add-apt-repository”.

root@linuxhelp:~# add-apt-repository ppa:webupd8team/java
 Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK7 / JDK8 / JDK9). There are no actual Java files in this PPA.

More info (and Ubuntu installation instructions):
- for Oracle Java 7:
- for Oracle Java 8:

Debian installation instructions:
- Oracle Java 7:
- Oracle Java 8:

Oracle Java 9 (for both Ubuntu and Debian):

For JDK9, the PPA uses standard builds from: (and not the Jigsaw builds!).
Important!!! For now, you should continue to use Java 8 because Oracle Java 9 is available as an early access release (it should be released in 2016)! You should only use Oracle Java 9 if you explicitly need it, because it may contain bugs and it might not include the latest security patches! Also, some Java options were removed in JDK9, so you may encounter issues with various Java apps. More information and installation instructions (Ubuntu / Linux Mint / Debian):
 More info:
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpw9zot6qc/secring.gpg' created
gpg: keyring `/tmp/tmpw9zot6qc/pubring.gpg' created
gpg: requesting key EEA14886 from hkp server
gpg: /tmp/tmpw9zot6qc/trustdb.gpg: trustdb created
gpg: key EEA14886: public key "Launchpad VLC" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)

Update apt repo by using “apt-get update” command.

root@linuxhelp:~# apt-get update
Hit:1 xenial-security InRelease
Hit:2 xenial InRelease               
Hit:3 xenial-updates InRelease       
Hit:4 xenial InRelease  
Hit:5 xenial-backports InRelease     
Reading package lists... Done

Install java using “apt-get install” command.

root@linuxhelp:~# apt-get install java-common oracle-java8-installer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
Suggested packages:
  binfmt-support visualvm ttf-baekmuk | ttf-unfonts | ttf-unfonts-core
  ttf-kochi-gothic | ttf-sazanami-gothic ttf-kochi-mincho | ttf-sazanami-mincho
The following NEW packages will be installed:
  gsfonts-x11 java-common oracle-java8-installer
0 upgraded, 3 newly installed, 0 to remove and 302 not upgraded.
Need to get 38.2 kB of archives.
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/lib/amd64/ to provide /usr/lib/mozilla/plugins/ ( in auto mode
Oracle JRE 8 browser plugin installed
Setting up gsfonts-x11 (0.24) ...

During the java installation,  the license agreement page appears.  click OK to proceed further.
next click “yes” to accept the license.


Go to “/home/user1/Downloads/” directory and then download “CLion” from official site with the help of “wget” command.

root@linuxhelp:~# cd /home/user1/Downloads/
root@linuxhelp:/home/user1/Downloads# wget
--2016-07-19 01:08:04--
Resolving (
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: [following]
--2016-07-19 01:08:04--
Resolving (,,, ...
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 245457031 (234M) [binary/octet-stream]
Saving to: ‘CLion-2016.1.3.tar.gz’

CLion-2016.1.3.tar.g 100%[=====================>] 234.09M   504KB/s    in 8m 36s  

2016-07-19 01:16:42 (465 KB/s) - ‘CLion-2016.1.3.tar.gz’ saved [245457031/245457031]

After download, extracted that downloaded tar file using “tar” command.

root@linuxhelp:/home/user1/Downloads# tar zfx CLion-2016.1.3.tar.gz 
root@linuxhelp:/home/user1/Downloads# ls
clion-2016.1.3  CLion-2016.1.3.tar.gz

Set execute permission to that extract directory using “chmod” command

root@linuxhelp:/home/user1/Downloads# chmod -R 0755 clion-2016.1.3

Open the extracted folder using the following command.

root@linuxhelp:/home/user1/Downloads# cd clion-2016.1.3/
root@linuxhelp:/home/user1/Downloads/clion-2016.1.3# ls
bin  build.txt  help  Install-Linux-tar.txt  jre  lib  license  plugins

Run the following command to enter into “bin” directory.

root@linuxhelp:/home/user1/Downloads/clion-2016.1.3# cd bin/
root@linuxhelp:/home/user1/Downloads/clion-2016.1.3/bin# ls
clion64.vmoptions  fsnotifier           fsnotifier64
clion.svg          fsnotifier-arm  LLDBFrontend
cmake              gdb       log.xml

Run the file.

root@linuxhelp:/home/user1/Downloads/clion-2016.1.3/bin# sh

Click “ok” for fresh installation.
Read all the privacy policy and click “accept” to enter into next step.
Select the type of License to be owned and Click OK to continue.
Here I am choosing “evaluate for free for 30 days” it gives 30 days trail.
Next click “accept” for license.
Set the UI theme and click “next”.
Configure “Cmake” and “debugger” then bang “Next default Plugins”
click “Next featured Plugins”
Install the required plugins if any and click “Next:Desktop entries”
Finally click “start using Clion”
Next welcome to Clion page opens. Select “New project”
Set project name and path. Then click “ok”.
The project source editing terminal page appears as follows.

Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.

For more help topics browse our website

Be the first to comment, we value your suggestions. For further queries please comment below.

Leave a Response