Close Menu
Java HelpsJava Helps
    What's Hot

    Things To Do After Installing IntelliJ IDEA

    December 20, 2022

    How to Set Proxy for IntelliJ IDEA?

    December 20, 2022

    What is Garbage Collection?

    December 7, 2022
    Facebook X (Twitter) Instagram
    Java HelpsJava Helps
    • Home
    • How To
      1. Install
      2. Run
      3. Configure
      4. View All

      How to Install MySQL with phpMyAdmin on Ubuntu?

      December 4, 2022

      Install The Latest IntelliJ IDEA on Linux

      November 28, 2022

      Install The Latest Apache Maven on Linux

      November 27, 2022

      Install The Latest Oracle JDK on Linux

      November 27, 2022

      Run NiFi Cluster in Docker with SSL Enabled

      December 6, 2022

      How to Run Apache NiFi Docker on Mac M1?

      December 1, 2022

      How to Run Apache NiFi on Docker?

      December 1, 2022

      Create A New Maven Project In IntelliJ IDEA

      November 29, 2022

      Things To Do After Installing IntelliJ IDEA

      December 20, 2022

      How to Set Proxy for IntelliJ IDEA?

      December 20, 2022

      How to Set Proxy for Maven?

      December 6, 2022

      How to Create a Fat JAR Using Maven?

      December 5, 2022

      Things To Do After Installing IntelliJ IDEA

      December 20, 2022

      How to Set Proxy for IntelliJ IDEA?

      December 20, 2022

      Manage GitHub Artifact Storage Quota

      December 6, 2022

      Run NiFi Cluster in Docker with SSL Enabled

      December 6, 2022
    • Hello World
      1. Framework
      2. Library
      3. View All

      JPA Hello World! using Hibernate and MySQL

      December 3, 2022

      Jersey 3.x – Hello World!

      December 2, 2022

      Microservices Framework for Java (MSF4J) – Hello World!

      December 1, 2022

      How to Parse PCAP files in Java?

      November 30, 2022

      JPA Hello World! using Hibernate and MySQL

      December 3, 2022

      Jersey 3.x – Hello World!

      December 2, 2022

      Microservices Framework for Java (MSF4J) – Hello World!

      December 1, 2022

      How to Parse PCAP files in Java?

      November 30, 2022
    • More
      • Privacy Policy
        • Java Helps
        • Android Apps
      • Contact US
      • About
    Facebook X (Twitter) Instagram
    Java HelpsJava Helps
    Home » Install The Latest IntelliJ IDEA on Linux
    IntelliJ IDEA
    IntelliJ IDEA
    Install

    Install The Latest IntelliJ IDEA on Linux

    Gobinath LoganathanBy Gobinath LoganathanNovember 28, 2022Updated:December 4, 2022No Comments3 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    There are a handful of editors and Integrated Development Environments (IDE) for Java. However, IntelliJ IDEA beats them all hands down when it comes to features and productivity. Eclipse fans don’t take me wrong. I was an Eclipse fan but after switching to IntelliJ IDEA I never looked back. IntelliJ IDEA does not stop with being a better Java IDE. It goes beyond and supports the entire Java ecosystem. After all, it also provides a free and open-source community edition. When it comes to installing on Linux, there are different ways to get IntelliJ IDEA. On the other hand, you can have different Linux distributions including but not limited to Debian, Ubuntu, CentOS, Fedora, Arch, or Gentoo. This article explains a distribution-agnostic method to install IntelliJ IDEA.

    Download IntelliJ IDEA

    Download the latest version of IntelliJ IDEA from the official website. The community edition 2022.2.4 is used in this article to explain the process but download the latest version and change the commands accordingly.

    Download

    Installation

    Step 1:
    Open the terminal (Ctrl + Alt + T) and enter the following command to change the directory.

    cd /opt

    Step 2:
    Extract the ideaIC-2022.2.4.tar.gz file in the opt directory using the following command.

    sudo tar -xvzf ~/Downloads/ideaIC-2022.2.4.tar.gz

    The above command assumes the IntelliJ IDEA binary archive filename is ideaIC-2022.2.4.tar.gz and it is located in the ~/Downloads folder. If your downloaded file is in any other location, change the command according to your path.


    Step 3 (Optional):
    In case you are the admin user of the system or the only user using your computer, you can change the permissions of the IntelliJ IDEA using the following command to allow you to make any changes in the IntelliJ installation folder. This will later allow you to upgrade IntelliJ IDEA from the application itself without requiring sudo permission. Note that JetBrains normally releases a new version of IntelliJ IDEA every month. Sometimes even twice a month. It is an annoyance to upgrade IntelliJ without user permission.

    sudo chown -R $USER:$USER /opt/idea

    Step 4:
    Once installed, you can keep your copy updated from the IDE itself. Therefore, it doesn’t make sense to keep the version number in the extracted directory. Use the following command to rename the folder. Depending on the version you have downloaded, the original folder name can be different.

    sudo mv idea-IC-222.4459.24 idea

    Step 5:
    Start the IntelliJ IDEA for the first time from the terminal by using the following command.

    /opt/idea/bin/idea.sh

    Step 6:
    Accept the user agreement and continue. In the opened window, click the gear icon in the bottom left corner and select Create Desktop Entry… menu.

    Install IntelliJ IDEA

    In the appeared dialog, select the checkbox if you want to create the desktop entry for all users on your computer and click OK. If you have chosen to create the desktop entry for all users, another prompt will ask you to give sudo access so that IntelliJ can create the menu entry for all users.


    Step 7:
    Now you can close the IntelliJ IDEA window and close the terminal. Search for IntelliJ IDEA in your application menu and start using it just like any other application. If you have any questions or feedback related to this article, please comment below.

    IntelliJ IDEA comes with its own Java Runtime Environment. However, it is highly recommended to deploy an external Java Development Kit for your development purposes. If you haven’t installed it already, install any version of Oracle Java Development Kit on Linux by following this article: Install The Latest Oracle JDK on Linux.

    install intellij linux
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

    Related Posts

    Things To Do After Installing IntelliJ IDEA

    December 20, 2022

    How to Set Proxy for IntelliJ IDEA?

    December 20, 2022

    What is Garbage Collection?

    December 7, 2022

    How to Set Proxy for Maven?

    December 6, 2022

    Create Scala Project with Maven in IntelliJ IDEA

    December 4, 2022

    How to Install MySQL with phpMyAdmin on Ubuntu?

    December 4, 2022
    Don't Miss
    Configure

    Things To Do After Installing IntelliJ IDEA

    December 20, 2022

    IntelliJ Idea: the famous IDE for JVM languages including Java, Scala, and Kotlin. If you…

    How to Set Proxy for IntelliJ IDEA?

    December 20, 2022

    What is Garbage Collection?

    December 7, 2022

    Manage GitHub Artifact Storage Quota

    December 6, 2022
    Our Picks

    Things To Do After Installing IntelliJ IDEA

    December 20, 2022

    How to Set Proxy for IntelliJ IDEA?

    December 20, 2022

    What is Garbage Collection?

    December 7, 2022

    Manage GitHub Artifact Storage Quota

    December 6, 2022
    About Us
    About Us

    Java Helps is the platform to share all about the Java ecosystem. All the sample code available on Java Helps articles are published under Apache 2.0 License. Readers are free to use them according to the Apache 2.0 License.

    "The world is my town; its people my kinsmen."
    -Kaṉiyan Pūngunṟanār

    Email Us: www.javahelps@gmail.com

    Our Picks

    Things To Do After Installing IntelliJ IDEA

    December 20, 2022

    How to Set Proxy for IntelliJ IDEA?

    December 20, 2022

    What is Garbage Collection?

    December 7, 2022
    New Comments

      Type above and press Enter to search. Press Esc to cancel.

      Go to mobile version