{"id":4257,"date":"2021-02-10T12:45:28","date_gmt":"2021-02-10T12:45:28","guid":{"rendered":"https:\/\/linuxways.net\/?p=4257"},"modified":"2021-02-10T13:00:45","modified_gmt":"2021-02-10T13:00:45","slug":"how-to-install-intellij-idea-on-ubuntu-20-04-lts","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/how-to-install-intellij-idea-on-ubuntu-20-04-lts\/","title":{"rendered":"How to Install IntelliJ IDEA on Ubuntu 20.04 LTS"},"content":{"rendered":"<p>Developed by JetBrains, <a href=\"https:\/\/www.jetbrains.com\/idea\/\">IDEA IntelliJ<\/a> is an open-source, and cross-platform IDE for writing Java applications. For a heads up, JetBrains is also the company behind the development of PyCharm IDE which is specific to Python applications. IntelliJ provides useful features such as :<\/p>\n<ol>\n<li>Smart code completion<\/li>\n<li>Color coded syntax for easier identification<\/li>\n<li>Detection of duplicate code on the fly<\/li>\n<li>Error detection and application of quick fixes<\/li>\n<li>Integration of other languages into Java string literals. For example, you can include fragments of HTML, CSS or SQL within Java code.<\/li>\n<\/ol>\n<p>IntelliJ IDEA comes in three flavors or editions.<\/p>\n<p>i) <strong>Community edition<\/strong> which is free of charge under the Apache 2.0 License. It\u2019s ideal for those trying out the IDE for the first time.<\/p>\n<p>ii) <strong>Ultimate Edition<\/strong> which is the commercial version tailored for enterprise use and comes with a 30-day free trial and<\/p>\n<p>iii) <strong> Educational edition<\/strong> which targets students and educational institutions.<\/p>\n<p>There are 2 broad ways that you can employ to install IntelliJ IDEA. You can install the IDEA via the terminal by running commands, or using Ubuntu Software Center.<\/p>\n<p><strong>With the brief overview about IntelliJ IDEA, let\u2019s now install it on Ubuntu 20.04.<\/strong><\/p>\n<h2><strong>Prerequisites<\/strong><\/h2>\n<p>As you get started, perform a flight check and ensure you have the following:<\/p>\n<ol>\n<li>Java (Open JDK) installed on your system.<\/li>\n<li>A stable internet connection<\/li>\n<\/ol>\n<h2><strong>1. Install IntelliJ IDEA via the terminal<\/strong><\/h2>\n<p>On the terminal, there are various ways that you can use to install IntelliJ IDEA.<\/p>\n<h3><strong>Install IntelliJ IDEA using snap package<\/strong><\/h3>\n<p>Snap is a package manager for Linux systems that was engineered by Canonical. It makes use of snaps which are compressed and prebuilt universal software packages which pack with their own libraries and dependencies. Snaps are distribution-agnostic and thus make it easy to install and deploy applications across various Linux distributions.<\/p>\n<p>To use snaps, the snap package manager needs to be installed first. Thankfully, snap comes enabled in Ubuntu 20.04.<\/p>\n<h4><strong>Install IntelliJ IDEA Community edition:<\/strong><\/h4>\n<p>As earlier stated, the Community edition is absolutely free of charge and comes in handy for beginners in programming. It provides you the essential set of tools and frameworks just to get started and learn the ropes. You can install the community edition using snap as follows.<\/p>\n<pre><strong>$ sudo snap install intellij-idea-community --classic<\/strong><\/pre>\n<h4><strong>Install IntelliJ IDEA Ultimate edition:<\/strong><\/h4>\n<p>The Ultimate Edition, unlike the community Edition, has a wider spectrum of languages, features, and framework support. It\u2019s mostly used in enterprise-level circles and also for web development.<\/p>\n<p>If you intend to go for the Ultimate Edition, execute the command:<\/p>\n<pre><strong>$ sudo snap install intellij-idea-ultimate --classic<\/strong><\/pre>\n<h4><strong>Install IntelliJ IDEA Educational edition<\/strong><\/h4>\n<p>This edition mainly targets learners and provides support for Kotlin, Java, and Scala. This serves as a good place for learners to start practicing programming.<\/p>\n<p>Run the command below to install the Educational edition.<\/p>\n<pre><strong>$ sudo snap install intellij-idea-educational --classic<\/strong><\/pre>\n<h3><strong>Install IntelliJ IDEA Using flatpak package<\/strong><\/h3>\n<p>Apart from snap, flatpak is another packaging system for Linux kernel. Flatpaks are also universal and work equally well across various Linux distributions.<\/p>\n<p>To install IntelliJ IDEA on Ubuntu 20.04, first ensure that flatpak package manager is installed.<\/p>\n<pre><strong>$ sudo apt install flatpak<\/strong><\/pre>\n<p>With the flatpak package in place, a Flathub repository needs to be added. So far, Flathub is the most popular repository with tons of flapaks. Therefore, enable the flathub repository.<\/p>\n<pre><strong>$ flatpak remote-add --if-not-exists flathub https:\/\/flathub.org\/repo\/flathub.flatpakrepo<\/strong><\/pre>\n<p>Next, browse the Flathub website and search for IntelliJ IDEA as shown. Hit \u2018Install\u2019 button and the download of theIntelliJ IDEA flatpak will be underway.<\/p>\n<p>Next, head over to your download folder and install the IntelliJ flatpak package.<\/p>\n<pre><strong>$ cd Downloads<\/strong><\/pre>\n<pre><strong>$ sudo flatpak install com.jetbrains.IntelliJ-IDEA-Community.flatpakref<\/strong><\/pre>\n<h3><strong>2. Install IntelliJ IDEA using Ubuntu Software Center<\/strong><\/h3>\n<p>If you are not a fan of the command-line, then the Software Center is you best friend. Software Center is a graphical front-end for managing packages on Ubuntu. You can install, update and remove software packages with a click of a button.<\/p>\n<p>To start off, click on the Software Center icon as shown.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"425\" height=\"258\" class=\"wp-image-4258\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-132.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-132.png 425w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-132-300x182.png 300w\" sizes=\"auto, (max-width: 425px) 100vw, 425px\" \/><\/p>\n<p>Once Software Center is launched, search for IntelliJ IDE and select your preferred edition to install. In this example, we have selected the IDEA Community edition.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"974\" height=\"473\" class=\"wp-image-4259\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-3.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-3.jpeg 974w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-3-300x146.jpeg 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-3-768x373.jpeg 768w\" sizes=\"auto, (max-width: 974px) 100vw, 974px\" \/><\/p>\n<p>After selecting your preferred Edition, click the \u2018<strong>Install<\/strong>\u2019 button.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"990\" height=\"639\" class=\"wp-image-4260\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-133.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-133.png 990w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-133-300x194.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-133-768x496.png 768w\" sizes=\"auto, (max-width: 990px) 100vw, 990px\" \/><\/strong><\/p>\n<p>When prompted for authentication, provide your details and hit ENTER.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"936\" height=\"553\" class=\"wp-image-4261\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-134.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-134.png 936w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-134-300x177.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-134-768x454.png 768w\" sizes=\"auto, (max-width: 936px) 100vw, 936px\" \/><\/p>\n<p>Then just sit back as the installation gets underway.<\/p>\n<h2><strong>Launch IntelliJ IDEA<\/strong><\/h2>\n<p>With IntelliJ IDE installed, the only part remaining is to launch it. Use the application manager shown<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"758\" height=\"417\" class=\"wp-image-4262\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-135.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-135.png 758w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-135-300x165.png 300w\" sizes=\"auto, (max-width: 758px) 100vw, 758px\" \/><\/strong><\/p>\n<p>Accept the EULA and click <strong>\u2018Continue\u2019<\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"637\" height=\"513\" class=\"wp-image-4263\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-4.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-4.jpeg 637w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-4-300x242.jpeg 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-4-150x120.jpeg 150w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/strong><\/p>\n<p>IntelliJ will start loading as shown. Just give it some time as it loads all the components.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"645\" height=\"405\" class=\"wp-image-4264\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-5.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-5.jpeg 645w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-5-300x188.jpeg 300w\" sizes=\"auto, (max-width: 645px) 100vw, 645px\" \/><\/strong><\/p>\n<p>And finally, the welcome section will be displayed as shown. Click on the \u2018<strong>New project<\/strong>\u2019 icon to launch your workspace and start coding away.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"698\" height=\"534\" class=\"wp-image-4265\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-136.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-136.png 698w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/02\/word-image-136-300x230.png 300w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><\/strong><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>In developing Java applications, IntelliJ IDEA is arguably one of the most ergonomic and formidable IDEs there is. It ships with all the right tools and a set of plugins to make coding a seamless exercise.<\/p>","protected":false},"excerpt":{"rendered":"<p>Developed by JetBrains, IDEA IntelliJ is an open-source, and cross-platform IDE for writing Java applications. For a heads up, JetBrains is also the company behind the development of&hellip;<\/p>","protected":false},"author":32,"featured_media":4266,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[190,100],"class_list":["post-4257","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-intellij-idea","tag-ubuntu-20-04"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/4257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=4257"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/4257\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/4266"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=4257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=4257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=4257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}