How to Install IntelliJ IDEA On Fedora 36 / Fedora 35
IntelliJ IDEA is a Java integrated development environment (IDE) created by JetBrains. It has built-in support for Java, Kotlin, Groovy, and XML/XSL languages. You can also install plugins to support other languages such as Go, Python, Perl, Erlang, etc.
It also supports the integration of build automation tools such as Maven, Ant, and Gradle and version control systems such as Git and SVN.
Ensure your system has a minimum of 2 GB RAM, 4 GB of disk space, and a 1024×768 display resolution for IntelliJ IDEA installation.
Install IntelliJ IDEA on Fedora 36
IntelliJ IDEA is available in two editions, community and ultimate. However, you should note that there are few programming languages and technologies only supported in IntelliJ IDEA ultimate edition. Therefore, before installing IntelliJ IDEA, compare the editions, and decide which one suits your needs.
You can follow any of the below methods to install IntelliJ IDEA on Fedora 36.
1. Install IntelliJ IDEA Using Snap
IntelliJ IDEA is available as a snap package for Fedora operating system. So, first, install the Snap package on your system if it is not already installed.
sudo dnf install -y snapd sudo ln -s /var/lib/snapd/snap /snap sudo snap install core && sudo snap refresh core
Then, install IntelliJ IDEA using the
sudo snap install intellij-idea-community --classic
The installation will take some time to complete. After installing IntelliJ IDEA, verify the installation using the below command.
sudo snap list intellij-idea-community
Name Version Rev Tracking Publisher Notes intellij-idea-community 2022.1.1 361 latest/stable jetbrains✓ classic
2. Install IntelliJ IDEA From Official Archive
Download the latest version of IntelliJ IDEA Community Edition from the official website or use the below command to download the IntelliJ IDEA CE v2021.2.3 using the terminal. If you want to install the IntelliJ IDEA ultimate edition, you can download this package.
After downloading the package, extract it using the
tar -zxvf ideaIC-*.tar.gz sudo mkdir /opt/idea/ sudo chmod 777 /opt/idea/ mv idea-*/* /opt/idea/
Then, link the executable to
/bin directory so that you can start IntelliJ IDEA using the
intellijidea-ce command from the terminal.
sudo ln -sf /opt/idea/bin/idea.sh /bin/intellijidea-ce
Next, create a desktop entry so that you start IntelliJ IDEA from the Activities menu.
sudo vi /usr/share/applications/intellij-ce.desktop
Use the following information in the above file.
[Desktop Entry] Version=1.0 Type=Application Name=IntelliJ IDEA Community Edition Icon=/opt/idea/bin/idea.svg Exec="/opt/idea/bin/idea.sh" %f Comment=Capable and Ergonomic IDE for JVM Categories=Development;IDE; Terminal=false StartupWMClass=jetbrains-idea-ce StartupNotify=true
Launch IntelliJ IDEA
You can launch IntelliJ IDEA by going to Activities >> search for IntelliJ IDEA Community Edition or using the
intellijidea-ce command in the terminal.
You will get an IntelliJ IDEA window, and you will need to,
1. Click the checkbox I confirm that I have read and accept the terms of this User Agreement and then click the Continue button.
2. You can wish to Send Anonymous Statistics or Don’t send anonymous statistics.
Before you create a new or open a project,
3. Click Customize to change the theme, font, and other settings.
4. Click Plugins to install the plugins you need for your project.
5. You can choose to create a new or open an existing project or import a project from version control systems such as Git, GitHub, Subversion, etc.
To create a new Java project, click new and set the Java SDK path in IntelliJ IDEA. To do that, Java >> Project SDK >> Add SDK or Download SDK
/snap/intellij-idea-community/current/jbr/directory for your Java project.
Click Next and then again Next on Create Project from Template >> enter Project Name and finally click Finish.
The following screenshot shows the IntelliJ IDEA community edition running on Fedora.