How to update already installed IntelliJ IDEA on Ubuntu?

update intellij idea
install intellij ubuntu
install jetbrains toolbox ubuntu
uninstall intellij ubuntu
how to install intellij from zip file
repair intellij install
upgrade intellij community to ultimate
intellij silent install

Currently, I have IntelliJ IDEA 2016.3 installed in my Ubuntu 16.04 for Java programming. I have installed it through the IntelliJ website and not the ppa. Upon launching it, I get an update available notification on bottom right corner and upon clicking update, it opens the IntelliJ IDEA webpage for downloading the latest IDE tar file. I know that in order to install it, I need to download the tar file, untar it inusr/local, and run idea.sh from the bin folder. Even after doing that, when I search for IntelliJ in the Unity Dash, I see the icon for the old 2016.3 version and upon clicking it, it opens the same old version.

So my question is, how can I update the entire existing IntelliJ platform and see it as the result upon search in the Unity Dash? Can I update it in the same way in which I can update the existing plug-ins and see them in effect upon restarting IntelliJ?

I recommend using Toolbox App for the seamless automatic updates.

If you have upgraded manually, use the Tools | Create Command-line Launcher and Create Desktop Entry to update the old ones.

How to update already installed IntelliJ IDEA on Ubuntu?, By default, IntelliJ IDEA is configured to check for updates automatically and notify you when a If you installed IntelliJ IDEA using the Toolbox App, it will suggest you to update when a new For Windows and Linux: Help | Check for Updates. Start by opening a terminal window and execution of the bellow apt command. Select your preferred version to install: $ sudo snap install intellij You can start the IntelliJ IDEA using the below command: $ intellij-idea-community OR $ intellij-idea-ultimate OR $ intellij-idea-educational.

I also suggest to use ToolBox but in case it is not an option, I just upgraded from IntelliJ 173 to 181 in Ubuntu 16.04 manually and I did it like this.

  1. Download the new IntelliJ version's .tar.gz file from Jetbrains website
  2. Untar the file and put all of its content to the desired location. I put mine in /opt folder for example: sudo tar -zxf ideaIU-2018.1.tar.gz -C /opt
  3. Go inside the new IntelliJ's folder and run the idea.sh script. Example: cd /opt/idea-IU-181.4203.550/bin then ./idea.sh and follow the instructions (select the option to import your settings from your previous Idea's version).

At this moment you have two versions installed but you run the old one when clicking on the Idea icon from the launcher. The problem is that the file (with extension .desktop) that sets up the launcher's icon still points to your old version. You can change that.

The desktop file may be in ~/.local/share/application or /usr/share/applications. Mine was in ~/.local/share/application and its name was jetbrains-idea.desktop.

  1. Edit jetbrains-idea.desktop file with your favorite editor and change the values that need to be changed. In my case I only had to change the values of "Icon" and "Exec" properties. Check the real path from your IntelliJ's installation folder (what we did in point 2 above). Example below of my modified .desktop file:

    [Desktop Entry]
    Version=1.0
    Type=Application
    Name=IntelliJ IDEA Ultimate Edition
    Icon=/opt/idea-IU-181.4203.550/bin/idea.png
    Exec="/opt/idea-IU-181.4203.550/bin/idea.sh" %f
    Comment=The Drive to Develop
    Categories=Development;IDE;
    Terminal=false
    StartupWMClass=jetbrains-idea
    
  2. Save the file and check that its syntax with the command desktop-file-validate pathOfYour.desktopFile (no output means all is fine).

  3. Update your system with the latest changes for .desktop files: sudo update-desktop-database.

  4. Check that the icon from the launcher now launches the new version of IntelliJ. If it does not, log off and log on from Ubuntu. That should do.

  5. You can delete the directory of your previous IntelliJ's version + its hidden directory in your home folder.

  6. You may want to update the values of the executable file /usr/local/bin/idea (if it exists) to point to your new version.

Update IntelliJ IDEA - Help, This won't break any manually installed plugins, rather the updated versions of plugins for the latest Intellij version are suggested. IDEA is  You can install IntelliJ IDEA as a self-contained snap package. Since snaps update automatically, your IntelliJ IDEA installation will always be up to date. To use snaps, install and run the snapd service as described in the installation guide. On Ubuntu 16.04 LTS and later, this service is pre-installed.

In case anyone still needs an optional solution.

First of all, just install the new version IntelliJ as the first three steps of @Stephane B.'s solution

  1. Download the new IntelliJ version's .tar.gz file from Jetbrains website
  2. Untar the file and put all of its content to the desired location. I put mine in /opt folder for example: sudo tar -zxf ideaIU-2018.1.tar.gz -C /opt
  3. Go inside the new IntelliJ's folder and run the idea.sh script. Example: cd /opt/idea-IU-181.4203.550/bin then ./idea.sh and follow the instructions (select the option to import your settings from your previous Idea's version).

At this moment you have two versions installed but you run the old one when clicking on the Idea icon from the launcher.

To start the new version intelliJ from the launcher:

  1. In the new version IntelliJ, click Configure -> Create Desktop Entry. Now you can start new version from the launcher.

  2. (Optional) You may want to delete the old one. sudo rm -rf /opt/idea-xxx-old-version-xxx

How to update a JetBrains IDE on Ubuntu, Installing IntelliJ IDEA is available in Ubuntu Software Center. You just have to select the preferred version and then click on the install button. The easiest way is to install IntelliJ IDEA on Ubuntu 18.04 is by using the snappy packaging system. To download and install the IntelliJ IDEA snap package, open your terminal using the Ctrl+Alt+T keyboard shortcut and type: sudo snap install intellij-idea-community --classic

If you are an admin on your system, you are usually in the sudo group

# This will change the group of Intellij folder, subfolders and files to a
# likely existing admin group `sudo` that you will likely be apart of as an admin.
sudo chgrp -R sudo /opt/intellij-idea-community

# Add `+` `w`rite permission for `g`roup for the Intellij folder, subfolders and files
sudo chmod -R g+w /opt/intellij-idea-community

Now you should be able to run the update from the UI (Tested successfully on Ubuntu 14.04).

Install IntelliJ IDEA on Ubuntu & other Linux Distributions, Open IntelliJ IDEA from the terminal using the following command. Note that there is no sudo in front of the command. /opt/idea/bin/idea.sh. Exciting news for Ubuntu users: you can now use snaps to install IntelliJ IDEA EAP builds, including both community and ultimate editions. Snaps will update your app automatically, and you’ll always have a fresh IntelliJ IDEA build right out of the oven. Snaps are really easy to install and use.

Install IntelliJ IDEA on Linux, WHAT IS INTELLIJ IDEA? IntelliJ IDEA is an integrated development environment written in Java for developing computer software. Ubuntu Make is a command line tool that helps the developer to install various development utility tools and IDEs including PyCharm, Android Studio, Eclipse etc. IntelliJ IDEA is one of them that is supported by Ubuntu make.

How to install IntelliJ IDEA on Ubuntu 20.04 Linux Desktop , IntelliJ IDEA Community Edition is a free and open-source edition of IntelliJ IDEA, the commercial Java IDE by JetBrains. IntelliJ IDEA  Ubuntu Make is a command line utility from Ubuntu that enables developers to install various development tools and IDEs such as Eclipse, PyCharm, Ubuntu SDK, Android Studio etc. IntelliJ IDEA is one of the supported IDEs by Ubuntu Make.

Install IDEA Community on Ubuntu using the Snap Store, It is developed by JetBrains and is available in two editions, Community and Ultimate. IntelliJ IDEA supports major build automation tools such as  Now that IntelliJ IDEA is installed, you can also run it from the Application Menu of Ubuntu as you can see in the screenshot below. Creating a New Java Project in IntelliJ IDEA: In this section, I will show you how to create a new Java project in IntelliJ IDEA.

Comments
  • does it support upgrade of Intellij IDEA from 2.x to 3.x on Ubuntu as well. I had really hard time to update. Even after downloading 3.x and running idea.sh, IDEA version always kept on showing as 2.x . Later I had to delete both versions and reinstall fresh. This is really painful compared to Eclipse
  • thank you for such a detailed answer, just what I was looking for!
  • I used this post again to upgrade from IntelliJ18.2 to 19.2 and it worked the same way (Ubuntu 16.04).