As a Software Developer, you need a complete development environment for your projects to ensure delivery and quality is not compromised. IntelliJ IDEA is an integrated development environment build with love for Java by JetBrains. The community edition is released under the Apache 2, but there is a proprietary commercial edition as well. In this blog post, we will see how you can install IntelliJ IDEA in Ubuntu Linux Desktop machine.

Setup Requirements

You need the following to run IntelliJ IDEA on Ubuntu Linux system.

  • Java installed – Oracle JDK or OpenJDK
  • Working Ubuntu Desktop machine
  • User with sudo powers
  • Internet connection to download and install IntelliJ IDEA on Ubuntu.

We can get started with the installation of dependencies then install and confirm that we can launch IntelliJ IDEA on Ubuntu.

Step 1: Install Java on Ubuntu

Let’s ensure we have Java installed.

sudo apt update
sudo apt -y install default-jdk default-jre

Confirm if Java has been installed successfully.

$ java -version
openjdk version "11.0.5" 2019-10-15
OpenJDK Runtime Environment (build 11.0.5 10-post-Ubuntu-0ubuntu1.118.04)
OpenJDK 64-Bit Server VM (build 11.0.5 10-post-Ubuntu-0ubuntu1.118.04, mixed mode, sharing)

Step 2: Download IntelliJ IDEA tarball

Pull the latest stable release of IntelliJ IDEA source.

sudo apt -y install wget
wget https://download.jetbrains.com/idea/ideaIC-2019.3.1.tar.gz

Extract the archive.

tar xvf ideaIC-2019.3.1.tar.gz

Move the folder created to the /opt directory.

sudo mv idea-IC-193.5662.53/ /opt/idea
  • Launch IntelliJ IDEA from CLI:
$ /opt/idea/bin/idea.sh
  • For fresh installation, select “Do not import settings
  • Agree to Privacy Policy.
  • Select your preferred UI interface in the next dialog
  • Agree to create Desktop entry – Do for all users if you have multiple users in the system
  • Create launcher script in the installation directory
  • Optionally customize IntelliJ IDEA plugins – No need to do this at this point
  • You can choose to install featured plugins
  • Finally create new project since IntelliJ IDEA is ready for use

This marks the end of installation of IntelliJ IDEA on Ubuntu / Debian / Linux Mint Linux.

More guides:

Best Books for Learning Java Programming

Top Best Android Programming Books

Installing Boostnote Markdown editor for developers on Ubuntu / Debian / Arch Linux