Skip to playerSkip to main contentSkip to footer
  • 5/10/2025
Welcome to this step-by-step tutorial on how to install IntelliJ IDEA on Ubuntu 24.04 LTS! Whether you're a beginner or an experienced developer, IntelliJ IDEA is a powerful Integrated Development Environment (IDE) that simplifies your coding experience for Java and other programming languages. In this guide, I'll walk you through the entire installation process from start to finish, ensuring you have IntelliJ IDEA up and running smoothly on your Ubuntu 24.04 system.

Why IntelliJ IDEA?

IntelliJ IDEA is known for its rich set of features, including intelligent code completion, in-depth debugging, and seamless integration with various tools and frameworks. It’s one of the most popular IDEs among Java developers and is widely used in the development of enterprise-level applications. Whether you’re working on web development, mobile development, or backend systems, IntelliJ IDEA provides a robust environment to streamline your workflow.

Prerequisites

Before we dive into the installation process, here are a few prerequisites you’ll need:
1. *Ubuntu 24.04 LTS* installed on your system.
2. *A stable internet connection* for downloading necessary packages.

Installation Process

1. *Step 1: Update Your System*
Begin by updating your system to ensure all packages are up to date. Run the following commands:
```bash
sudo apt update
sudo apt upgrade
```

2. *Step 2: Download IntelliJ IDEA*
Navigate to the IntelliJ IDEA download page and download the latest version for Linux:
```bash
wget http
```

3. *Step 3: Extract the Tar File*
Once the download is complete, extract the tar file:
```bash
sudo tar -xvzf
ideaIU-2023.x.x.tar.gz
-C /opt/
```

4. *Step 4: Create a Desktop Shortcut*
To make IntelliJ IDEA easily accessible, create a desktop shortcut:
```bash
sudo ln -s /opt/idea-IU-2023.x.x/bin/
idea.sh
/usr/local/bin/idea
```

5. *Step 5: Launch IntelliJ IDEA*
You can now launch IntelliJ IDEA by simply typing `idea` in your terminal:
```bash
idea
```

Configuration & Setup

After launching IntelliJ IDEA, you may need to configure it based on your specific development needs, including adding plugins, setting up project environments, and managing Java SDKs.

Conclusion

In this tutorial, you’ve learned how to install IntelliJ IDEA on Ubuntu 24.04 LTS step-by-step. Whether you're a new developer or switching from another IDE, IntelliJ IDEA offers a rich feature set to enhance your productivity and coding efficiency. Don’t forget to explore IntelliJ IDEA’s extensive documentation and community resources for additional support!


💻 Want to create and run your first Java project using IntelliJ IDEA on Ubuntu 24.04 LTS?
In this step-by-step guide, I’ll show you how to install IntelliJ IDEA on Ubuntu and set up a Java project in minutes! Perfect for beginners, students, and programmers starting with Linux + Java in 2025.

✅ In this video, you’ll learn:

How to download and install IntelliJ IDEA on Ubuntu 24.04 LTS

Install OpenJDK for Java development

Category

📚
Learning
Transcript
00:00Hey guys, in this video, I'm going to show you how you can install and set up IntelliJ IDEA
00:04on your Ubuntu operating system. So there can be various different ways using which you can
00:13install IntelliJ IDEA. I'm going to show you the way which I personally use and I feel that is the
00:20most efficient way of installing IntelliJ IDEA. So let's get started and let's see how we can do it.
00:28So first of all, open your favorite browser and search for IntelliJ IDEA. And the first link which
00:33will appear here will be from jetprints.com forward slash IDEA. We are going to navigate this website
00:40just to verify which is the latest version at the time of making this video. So I'm going to click
00:45on this link here and then scroll down a little. You can see the download button. So I'm going to
00:51click on the download button. Now you might already know that IntelliJ IDEA comes in
00:57a few different formats. First one is IntelliJ IDEA Ultimate, which is the paid version of
01:04IntelliJ IDEA. And then you can also install the community edition of IntelliJ IDEA, which is free
01:12to use and it's open source, right? Now, as you can see at the time of making this video,
01:19the version 2024.1.2 is the latest version. Here you can see. I can also see that the 2024.2
01:34is coming soon at the time of making this video, right? So we want to install this version of
01:41IntelliJ IDEA IDEA. But we are not going to click on this download button, which is on the IntelliJ
01:50IDEA website. We are going to use a utility called Snap, which is from Canonical, which is the developer
01:59of Ubuntu operating system also. And Snap is a package manager using which you can install various different
02:08tools, including IntelliJ IDEA on your Ubuntu operating system. So if you have the latest version
02:16of Ubuntu, it already comes with this Snap utility. Now, in order to find out what are the versions
02:26which are available for IntelliJ IDEA using Snap, you can open the terminal. To open the terminal,
02:33click on this show apps icon and then click on terminal, which is going to open the terminal for
02:39you. And here just write Snap find IntelliJ in double quotes and then press enter. And it's going to show
02:49me all the versions which I can install via Snap. So you can see the version which is available
02:57using the Snap is also 2024.1.2. This is the same version we have seen on the official website, which is the
03:08latest version. We are going to download the community version. So this is the name for that Snap package.
03:15You can also go to your favorite browser and search for Snap IntelliJ. And then you will see this website which
03:23says snapcraft.io forward slash IntelliJ IDEA community. And when you click on this link,
03:30you can see how you can install the community version of IntelliJ using Snap. So click on this
03:37install button. And this is the command which you can use to install the community version of
03:43IntelliJ IDEA. So I'm going to copy this command and then go to my terminal and then paste this command
03:50on my terminal. And this command is sudo snap install space IntelliJ IDEA community space
03:58hyphen hyphen classic. I'm going to press enter here and give my password which I used to log into my
04:05Ubuntu operating system and then press enter. And this is going to start the download and install of this
04:12IntelliJ IDEA IDE. It's not going to take too much time to install this IntelliJ IDEA IDE. So just wait
04:20for a few seconds until you see this progress bar reaches to the 100% mark. You can also see the progress
04:29here. So right now it's 12, 13%, right? So just wait for this. And after a few seconds, you can see this
04:37message which says IntelliJ IDEA community from JetBrains is installed, right? So now IntelliJ IDEA IDE has been
04:46installed on our Ubuntu operating system. Now to verify that IntelliJ IDEA is properly installed, we are
04:54going to try to open IntelliJ IDEA. And we are also going to see how we can create a Java project using
05:01IntelliJ IDEA. So for that click on this show apps icon once again, and you can see the IntelliJ IDEA
05:08icon here. You can also search for IntelliJ IDEA and click on this icon here, which is going to start
05:16the IntelliJ IDEA and you can see the IDE has been started now. Now for the first time when you start
05:23IntelliJ IDEA, it's going to show you this kind of community edition terms and license page. So if you
05:31agree with these terms and license conditions, then click on icon form, and then click on continue here.
05:39And then if you want to share data with IntelliJ IDEA, then click on send anonymous statistics.
05:48In my case, I don't want to do this. So I'm going to click on don't send here. Now in the next step,
05:52you can see if you have Visual Studio code already installed, then you can also import some settings
06:00from Visual Studio code editor. This I don't want to do. So I'm going to skip the import for now.
06:08And now I can see that IntelliJ IDEA has been started on my Ubuntu operating system. So it's
06:16going to look something like this. To create a new Java project, you can click on the new project
06:21option here. And then you can create a Java project. So from the left hand side, you can select
06:27the language, I'm going to select the Java here. And the name of the project will be let's say,
06:33Hello here. And the location will be your home folder forward slash idea projects,
06:39I'm going to leave it as default. If you want to use some version control like git version control,
06:47you can also click or check this checkbox, which is going to create this repository,
06:53I'm going to leave it as default, which is unchecked. For the build system, I'm going to leave it as
07:00IntelliJ here, you can also choose Maven on Gradle from here. And in the JDK version, I can click on
07:09this drop down menu. And then I can select the version of IntelliJ IDEA, which I have on my Ubuntu operating
07:19system. So from here, you can see IntelliJ IDEA have already detected this version of
07:27Java JDK on my Ubuntu operating system, which is Oracle OpenJDK. And it's in my user forward slash lib
07:37forward slash jvm forward slash JDK folder. So I'm going to select this version here. And then in the
07:45advanced setting, you can also select the module name, current root and module file location,
07:52I'm going to leave everything as default here. And then click and then click on create here,
07:59which is going to create a Java project for me. And once this Java project is created, you can see
08:06we have our hello project here. And we also have the source folder under which we have the main class.
08:14And in this main class, we also have some sample code to test with, right? The sample code prints
08:23hello and welcome here and also loops through this for loop and will print the value up to the limit
08:29specified here. So let's try and build this main class and let's see if everything works fine or not.
08:40Now to build your project and run your project, you can click on this hamburger menu, which is going to
08:45open this kind of menu items on the top. To build your project, you can click on build and then click on
08:53build project here, which is going to build your project. You can also see the progress of your build
09:01here. You can click on this progress bar and you will also see it on the bottom right corner also,
09:10right? You also have a few icons here. So you can see this build icon, which is going to show you the
09:17logs for your build. So you can see when you click on this hammer icon, you can see in my case, the build
09:25completed successfully in 28 seconds. So build is successful to run your code. Once again, click on
09:32this hamburger menu and then click on run and then click on run main dot Java, which is going to run
09:38down. And then you can see our code. And you can see our code ran successfully and it has printed
09:47hello and welcome and also printed the value is equal to I from one to five because of this for loop,
09:54right? So everything is working fine on IntelliJ IDEA IDE. You can also open the terminal from
10:03here. So if you want to build your project using the command line or the terminal, you can also
10:11do this from here. So we have successfully installed our IntelliJ IDE IDE and build and
10:18compiled our first Java program using IntelliJ IDE IDE. So that's it for this video. I hope you've
10:25enjoyed this video and I will see and I will see you in the next video.

Recommended