Archives For IntelliJ IDEA

This simple tutorial shows how to install IntelliJ IDEA 2020.3 via its official Linux tarball via PPA.

For those don’t like Snap and Flatpak packages, IntelliJ IDEA offers official Linux tarball in its download page. You can download the package, extract, and run the executable file to launch the IDE.

To make things easy, an installer script was made to automatically download the tarball from Jetbrains website, extract the source to /opt/ directory for global use, and finally create an app shortcut so you can launch the program from system application menu.

And there’s an Ubuntu PPA contains the latest installer scripts for IntelliJ IDEA 2020.3 both community and ultimate editions.

1.) Open terminal from system application menu. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:mmk2410/intellij-idea

Type user password (no asterisk feedback) and hit Enter. The PPA supports all current Ubuntu releases and derivatives.

2.) Then refresh package cache and install the script:

sudo apt update

sudo apt install intellij-idea-community

Replace intellij-idea-community with intellij-idea-ultimate for ultimate edition.

If everything goes OK, you’ll be able to launch the IDE from application launcher.

How to Remove the Package:

To remove the PPA, either go to Software & Updates > Other Software, or run command in terminal:

sudo add-apt-repository --remove ppa:mmk2410/intellij-idea

And to remove IntelliJ IDEA, run command to remove the installer script which also removes the IDE packages:

sudo apt remove intellij-idea-community intellij-idea-ultimate

A new major update IntelliJ IDEA 2019.2 was released a few days ago with a lot of exciting new features and improvements.

IntelliJ IDEA 2019.2 release highlights:

  • Java 13 Preview support:
    • support for the Switch Expressions preview feature and its new syntax.
    • support for the Text Blocks preview feature
  • Much improved startup times
  • Work smoothly with large files.
  • New modern borderless UI on Windows 10.
  • Integrate with Async profiler (macOS and Linux), and with Java Flight Recorder.
  • See announcement for more details.

How to Insall the Latest IntelliJ IDEA in Ubuntu:

It’s quite easy to install the latest IDEA packages in Ubuntu since Jetbrains offers official snap (containerised software package) package in snappy store.

Simply open Ubuntu Software, search for and you’ll see IDEA ultimate and community packages available for install.

NOTE for Ubuntu 16.04 users who never installed a snap package, make sure snapd is installed by running command in terminal (Ctrl+Alt+T):

sudo apt-get install snapd

Then install the package via command (you may replace community in the code with ultimate):

sudo snap install intellij-idea-community --classic

Jetbrains announced the release of IntelliJ IDEA 2018.2.3 a day ago with various bug-fixes and some improvements for v2018.2.

IntelliJ IDEA 2018.2.3 release highlights:

  • Ability to open HTML files in Edge using the Open in Browser action.
  • Fixed IntelliJ IDEA freezes.
  • Git: The built-in SSH doesn’t fail when Git protocol version 2 is enabled.
  • Fixed regressions in Mercurial support.
  • Docker: the IDE now validates Command line options and reports unknown options.
  • Docker: volume mounting now works on Windows using Linux containers.
  • Minor Gradle bug-fixes.

How to Insall the Latest IntelliJ IDEA in Ubuntu:

It’s quite easy to install the latest IDEA packages in Ubuntu since Jetbrains offers official snap (containerised software package) package in snappy store.

Simply open Ubuntu Software, search for and you’ll see IDEA ultimate and community packages available for install.

NOTE for Ubuntu 16.04 users who never installed a snap package, make sure snapd is installed by running command in terminal (Ctrl+Alt+T):

sudo apt install snapd snapd-xdg-open

The first bug-fix release of IntelliJ IDEA 2018.1 was released a few days ago with several important and critical bug-fixes.

IntelliJ IDEA 2018.1.1 includes following fixes:

  • An important fix that restores the automatic check for updates.
  • The keystrokes aren’t lost during freezing anymore
  • Clicking the Replace all option from the Replace in path dialog doesn’t cause the IDE to freeze
  • Issue with broken JPS that inhibits all non-gradle Android builds
  • Facet settings stored externally are now loaded by the build process
  • support for annotationProcessorPaths option in the maven-compiler-plugin 3.5 for external dependencies.
  • Performance for scrolling huge text file on 4K monitors was improved
  • The issue with AWT popups, which were above other process windows after alt-tab, was fixed

Install IntelliJ IDEA 2018.1.1 in Ubuntu:

Jetbrains offers official snap packages for Ubuntu Linux users. You can install it in Ubuntu 16.04, Ubuntu 17.10, Ubuntu 18.04 via following steps.

1. (Ubuntu 16.04 only) For those who never installed a snap package, open terminal (Ctrl+Alt+T) and run command to install snapd daemon:

sudo apt-get install snapd snapd-xdg-open

No visual feedback while typing your password due to security reason.

2. Then you can search for and install IDEA via Ubuntu Software:

Or run command in terminal instead to install the IDE:

snap install intellij-idea-community --classic

For the ultimate edition, replace intellij-idea-community with intellij-idea-ultimate in the code.

The fourth update for the IntelliJ IDEA 2017.3 was released a few days ago with a whole variety of improvements.

The most notable bug-fixes in IntelliJ IDEA 2017.3.4 include:

  • Roll back the fix for the UI upper scale limit on Linux (because of regressions)
  • Allow to choose test runner even when “Delegate IDE build/run action to gradle” enabled.
  • Now renaming a module is reflected in the dependent module’s file (.iml)
  • Allow to use TAB key to jump to the Result pane in the Evaluate Expression window.
  • Fix the issue with Gradle silent import doing nothing when the Gradle JDK is invalid
  • The Show Local Changes as UML action doesn’t let you scroll infinitely
  • Unlimited resizing in Diagrams when scrolling with the mouse wheel has been fixed
  • New shortcuts Shift + Del and Сtrl + X (cmd + X) to the remove results action in the Find Tool Window

How to Install IntelliJ IDEA 2017.3.4 in Ubuntu:

method 1: Download official Linux package (NON-INSTALL), extract and run the executable to launch the IDE:

Download IntelliJ IDEA for Linux

method 2: The Jetbrains team also provides snap, the universal Linux app packaging format, for Ubuntu Linux.

For Ubuntu 16.04 (need to install snapd first), Ubuntu 17.10, and higher, the latest snap app can be easily installed via Ubuntu Software.

Or you can open terminal via Ctrl+Alt+T or by searching ‘terminal’ from app launcher. And run command:

sudo snap install intellij-idea-community --classic

Replace intellij-idea-community with intellij-idea-ultimate for ultimate edition. And type your password (no visual feedback) when it asks.

Uninstall:

For the snap packages, you can either remove them from Ubuntu Software, or by running command in terminal:

snap remove intellij-idea-community intellij-idea-ultimate