In this tutorial, we will show you how to install IntelliJ IDEA on Fedora 35. For those of you who didn’t know, IntelliJ IDEA is a programming environment or IDE. It is widely used for the development of Java programs. It is developed by JetBrains. IntelliJ IDEA supports Java, Groovy, Kotlin, Scala, Android, JavaScript, SQL, and lots of other languages and frameworks. It offers instant and clever code completion, on-the-fly code analysis, and reliable refactoring tools.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of the IntelliJ IDEA on a Fedora 35.
Prerequisites
- A server running one of the following operating systems: Fedora 35.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install IntelliJ IDEA on Fedora 35
Step 1. Before proceeding, update your Fedora operating system to make sure all existing packages are up to date. Use this command to update the server packages:
sudo dnf upgrade sudo dnf update
Step 2. Installing IntelliJ IDEA on Fedora 35.
- Install IntelliJ IDEA From Official Page.
By default, IntelliJ IDEA is not available on Fedora 35 base repository. Now run the following command below to download the IntelliJ IDEA installer on your Fedora system:
wget https://download.jetbrains.com/idea/ideaIC-2021.2.3.tar.gz
Next, extract downloading file:
tar -zxvf ideaIC-*.tar.gz sudo mkdir /opt/idea/ sudo chmod 777 /opt/idea/ mv idea-*/* /opt/idea/
Then, create a symbolic link using the following command:
sudo ln -sf /opt/idea/bin/idea.sh /bin/intellijidea-ce
Finally, we create a desktop entry so that you start IntelliJ IDEA from the Activities menu:
sudo nano /usr/share/applications/android-studio.desktop
Add the following 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
- Install IntelliJ IDEA Using Snap.
First, we install Snap Packages Manager to your Fedora system using the following command below:
sudo dnf install -y snapd sudo ln -s /var/lib/snapd/snap /snap sudo snap install core && sudo snap refresh core
Once done, install IntelliJ IDEA using the snap
command:
sudo snap install intellij-idea-community --classic
Step 3. Accessing IntelliJ IDEA on Fedora.
Once successfully installed, launch the IntelliJ IDEA by going to Activities -> search for IntelliJ IDEA Community Edition or running the IntelliJ IDEA command in the terminal:
intellijidea-ce
Congratulations! You have successfully installed IntelliJ IDEA. Thanks for using this tutorial for installing IntelliJ IDEA on your Fedora 35 system. For additional help or useful information, we recommend you check the official JetBrains website.