How To

Install IntelliJ IDEA on Ubuntu 18.04 via Snap: Setup Guide

IntelliJ IDEA is a full-featured IDE for JVM and Android development made by JetBrains. It includes built-in debugging support, Docker and Docker Compose integration, embedded Git, Maven and Gradle support, intelligent code completion, an SSH terminal, and powerful refactoring and navigation tools.

IntelliJ IDEA is not limited to Java. It supports Kotlin, Groovy, Scala, Python, Erlang, and Dart through its plugin system, making it a capable IDE for a wide range of projects beyond Android and JVM development.

This guide explains how to install IntelliJ IDEA on Ubuntu 18.04 via the Snap packaging system. The same steps work on Ubuntu 16.04, Kubuntu, Linux Mint, and Elementary OS.

System requirements:

  • 2 GB RAM minimum (4 GB recommended)
  • 1.5 GB disk space plus at least 1 GB for caches
  • 1024×768 screen resolution minimum

Prerequisite: You need sudo access.

Install IntelliJ IDEA on Ubuntu via the Snap Package Manager

The easiest way to install IntelliJ IDEA on Ubuntu 18.04 is through Snap. Snap packages self-update in the background, so you always have the latest release without running upgrade commands manually.

To install the Community Edition:

bashsudo snap install intellij-idea-community --classic

To install the Ultimate Edition instead:

bashsudo snap install intellij-idea-ultimate --classic

The --classic flag is required because IntelliJ IDEA needs unrestricted access to the filesystem to compile code, manage project files, and integrate with build tools. Without it, the snap sandbox would block these operations.

When the download finishes, the terminal confirms the installation:

intellij-idea-community 2018.3.4 from 'jetbrains' installed

IntelliJ IDEA Community vs Ultimate: Which Edition to Choose

Both editions share the same core IDE infrastructure, but they serve different development needs.

Community Edition is free and open-source under the Apache 2.0 license. It fully covers Java SE, Kotlin, Groovy, and Scala development, including the debugger, code analysis, refactoring tools, Maven and Gradle support, and Git integration. For most open-source projects and personal development, Community covers everything you need.

Ultimate Edition is a paid commercial product with a 30-day free trial. It adds support for Java EE, Spring, Micronaut, and Quarkus, along with a built-in database client, HTTP client, profiler, and first-class support for JavaScript, TypeScript, and popular frontend frameworks. If you are building full-stack applications or working in an enterprise Java environment, Ultimate is worth evaluating.

For Android development specifically, Android Studio is the better choice. It is built on IntelliJ IDEA Community but is purpose-built for Android and maintained by Google.

First Launch: Settings, Privacy, and Initial Configuration

Start IntelliJ IDEA from the Activities menu by searching for “IntelliJ IDEA.”

The first screen asks whether to import settings from a previous IntelliJ installation. On a fresh install, choose Do not import settings and click OK.

Next, you are asked to accept the JetBrains privacy policy and optionally share anonymous usage statistics. The statistics option does not affect how the IDE works — you can safely decline.

The customization screen lets you choose a UI theme (Darcula dark or IntelliJ light), adjust font size and keymap, and install plugins from the JetBrains Marketplace. Popular choices include the Docker plugin, database tools, Kubernetes support, and framework-specific integrations. You can skip this and install plugins later through File > Settings > Plugins.

Click Start using IntelliJ IDEA to open the welcome screen, where you can create a new project, open an existing directory, or check out a project from GitHub or another remote repository.

IntelliJ IDEA is now installed on your Ubuntu 18.04 system. Visit the IntelliJ IDEA documentation to learn about the debugger, run configurations, version control integration, and keyboard shortcuts. Leave a comment below if you run into any issues.

Cyber Defence

Recent Posts

Install Samba on Ubuntu 18.04: Configure Shares and User Access

Samba is a free, open-source implementation of the SMB/CIFS network protocol that lets Linux servers share…

17 minutes ago

Set Up an OpenVPN Server on Ubuntu 18.04 with EasyRSA and UFW

Running your own VPN gives you full control over your traffic, privacy, and connection security. It encrypts…

27 minutes ago

Install Steam on Ubuntu 18.04: Multiverse Setup and First Run

Steam is a cross-platform digital distribution platform by Valve Corporation that gives you access to thousands…

47 minutes ago

Install Redmine on Ubuntu 18.04 with MySQL, Passenger, and Nginx

Redmine is one of the most popular open-source project management and issue tracking platforms. It is…

51 minutes ago

Install VirtualBox on Ubuntu 18.04 from the Oracle Repository

VirtualBox is a free, open-source, cross-platform virtualization application maintained by Oracle. It lets you run multiple…

1 day ago

Install PostgreSQL on Ubuntu 18.04 with Remote Access Setup

PostgreSQL (also called Postgres) is a free, open-source, object-relational database management system with a strong reputation…

1 day ago