Archives For IDE

PyCharm Python IDE 2022.3 was finally released a few days ago. Here are the new features and how to guide for installing it in Ubuntu Linux.

Changes in PyCharm 2022.3 include:

  • Ability to search, install, and delete Conda packages through the Python Packages tool window
  • New Settings Sync plugin
  • export DataFrames in various formats (for professional only)
  • The Quick Documentation popup now displays the Attributes section of the class docstrings
  • Support await keyword in the built-in Python Console.
  • Experimental asyncio support for the debugger.
  • Vitest support (for professional only)
  • New project templates for Next.js and Vite (for professional only)
  • Redis support (for professional only)

How to Install PyCharm 2022.3 in Ubuntu Linux

There are 3 ways to install the Python IDE in Ubuntu and other Linux: Snap, Flatpak, and portable tarball. Just choose the one that you prefer.

Option 1: PyCharm Snap package

The easiest way to get the IDE is using the official Snap package. It is a containerized software package that run in sandbox, and updates automatically.

For Ubuntu 20.04, Ubuntu 22.04 and higher, simply search for ‘PyCharm’ then install either community or professional edition from Ubuntu Software.

Or, run command in terminal to install the Snap package:

sudo snap install pycharm-community --classic

Replace pycharm-community with pycharm-professional for the professional edition.

Option 2: PyCharm Portable package (tar.gz)

The website also provides official tar.gz package for downloading at the link below:

Then open the folder that stores the tarball (usually Downloads folder), right-click on blank area and select ‘Open in Terminal‘.

When terminal opens, run the commands below one by one to install it for all system users (replace community with professional accordingly):

  • First, create a folder under ‘/opt’ to store the source:
    sudo mkdir -p /opt/pycharm-community
  • Then extract the tarball into that folder:
    sudo tar -zxf pycharm-community-2022.3.tar.gz --strip-components=1 -C /opt/pycharm-community/
  • Finally, create & edit shortcut icon file for the IDE package:
    sudo gedit /usr/share/applications/pycharm-community.desktop

    Replace gedit with nano for Ubuntu 22.10.

The last command should open an empty text editor window. There paste the lines below and save it.

[Desktop Entry]
Name=PyCharm Community Edition
Comment=Lightweight IDE for Python & Scientific development
Exec=/opt/pycharm-community/bin/pycharm.sh
Icon=/opt/pycharm-community/bin/pycharm.svg
Terminal=false
Type=Application
Categories=Development;IDE;
StartupWMClass=jetbrains-pycharm

After saving the file, you should be able to search for and launch PyCharm IDE from start menu or ‘Activities’ overview, depends on your desktop environment.

Option 3: PyCharm Flatpak

The open-source community also maintains the PyCharm packages as Flatpak package, which is also containerized package runs in sandbox.

First, open terminal by pressing Ctrl+Alt+T keys on keyboard. When it opens, run command to install the daemon package:

sudo apt install flatpak

Next, run command to install PyCharm Community as Flatpak:

flatpak install https://dl.flathub.org/repo/appstream/com.jetbrains.PyCharm-Community.flatpakref

Or, install the professional version as Flatpak via command:

flatpak install https://dl.flathub.org/repo/appstream/com.jetbrains.PyCharm-Professional.flatpakref

Uninstall PyCharm

For the Snap package, remove it either via Ubuntu Software or by running command in terminal:

sudo snap remove pycharm-community --classic

For the portable package, remove the source as well as shortcut file via command:

sudo rm -R /opt/pycharm-community
sudo rm /usr/share/applications/pycharm-community.desktop

And, remove the Flatpak package via command:

flatpak uninstall --delete-data com.jetbrains.PyCharm-Community

For the professional edition, remove pycharm-community in the commands above with pycharm-professional.

This is a step by step guide shows how to install the Lazarus IDE in Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.10 and their derivatives, e.g., Linux Mint, Elementary OS and more.

Lazarus is a free Delphi compatible cross-platform IDE for rapid application development using the Free Pascal compiler. User may install the project either from Ubuntu repository or by using the official DEB packages.

Lazarus IDE in Ubuntu

Option 1: Install Lazarus via Ubuntu repository:

Ubuntu includes Lazarus in its own repositories, but it does not provide updates for the package. So the package will always be old, though Ubuntu 21.10 has v2.0.12, most recent release at the moment.

The good side is that user may install the package on 64-bit modern PC, old 32-bit PC on Ubuntu 18.04, and/or arm64/armhf devices (e.g., Apple silicon and Raspberry Pi).

To install the package, press Ctrl+Alt+T on keyboard to open terminal. When it opens, paste the command below and hit Enter:

sudo apt install lazarus

This command will install Lazarus, fpc compiler, as well as all other required packages:

Once installed, search for and open the IDE from activities overview and enjoy!

Option 2: Install Lazarus via its official DEB packages:

The IDE provides official Linux packages available to download at the sourceforge.net. You can always get the latest version from the link button below, though it’s only provides packages for modern 64-bit and old 32-bit PC.

The official deb packages are made up of:

  • fpc-laz – the Compiler, some command line tools, base units and non visual components like database access
  • fpc-src – the sources of fpc and its packages, needed for code browsing
  • lazarus-project – the IDE, visual components and help files

Grab all the 3 packages. Then, open file manager and go to ‘Downloads‘ folder, right-click and choose ‘Open in Terminal‘ to open terminal with that folder as working directory. Finally, run command to install them:

sudo apt install ./fpc*.deb ./lazarus-project*.deb

NOTE: the official package conflicts with the one in Ubuntu own repository. Though the IDE supports for having multiple package versions in same system, installing Lazarus via either way in this tutorial will remove another (if any) automatically.

And it will prompt to either upgrade or downgrade configuration when switching between different app versions on first startup.

Uninstall Lazarus:

To remove the Lazarus IDE, run command below in terminal will do the trick for the software installed via both methods.

sudo apt remove --autoremove lazarus lazarus-project fpc-*

That’s all. Enjoy!

This quick tutorial is going to show you how to install the IntelliJ IDEA IDE, both community and ultimate editions, via PPA in all current Ubuntu releases.

IntelliJ IDEA is a Java IDE developed by JetBrains. So far the latest is version 2017.1.5 that was released more than a week ago with some bug-fixes and performance updates.

intelliJ IDEA ultimate

While the official Linux binaries lack application launcher integration, Marcel Kapfer made an installer script that automatically downloads the source tarball from JetBrains server, installs it to /opt/, and finally creates an app launcher.

Install the script:

For all current Ubuntu releases, including Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, Ubuntu 17.04, and derivatives, I’ve made the new script into PPA since the original maintainer does not update the latest release at the moment.

Download the latest script from the link below:

intellij-idea-community_xxxx.xx-1_all.deb (community version)

intellij-idea-ultimate_xxxx.xx_all.deb (ultimate edition)

Then open terminal via Ctrl+Alt+T or by searching for it from app launcher, and run command to install the script:

sudo dpkg -i ~/Downloads/intellij-idea-community_*_all.deb

replace community in the command with ultimate for ultimate version.

Once installed, launch the IDE from your app launcher and enjoy!

For those who want to upgrade the IDE through Software Updater (Update Manager), add the PPA repository via command:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

PyCharm IDE

The PyCharm Team announced the release of PyCharm 2016.2.2 on August 25. Now it’s available in PPA for upgrade in Ubuntu 16.04, Ubuntu 14.04, Ubuntu 12.04, and derivatives.

The new release fixed several major problems in the debugger and in the code analysis subsystem. It updates bundled JSHint version to 2.9.2, provides better exclude rules for indexing for Node.js, usability, UI, editing performance improvements, and various bug fixes. See the release note for details.

PyCharm IDE 2016.2

How to install PyCharm 2016.2.2 in Ubuntu / Linux Mint:

Both the professional and community version with Unity menu-bar integration are available in Mystic Mirage’s PPA for Ubuntu 16.04, Ubuntu 14.04, Ubuntu 12.04, and the old Ubuntu 15.10, 15.04.

GetDeb repository also contains the professional version of PyCharm IDE for Ubuntu 16.04 and Ubuntu 14.04.

1. Add the PPA

Open terminal (Ctrl+Alt+T) and run command:

sudo add-apt-repository ppa:mystic-mirage/pycharm

PyCharm PPA

2. For those who have a previous release installed, launch Software Updater and upgrade the IDE:

upgrade pycharm IDE

Or install the PyCharm IDE professional via command in terminal:

sudo apt update && sudo apt install pycharm

Replace pycharm with pycharm-community in the code to install the community version.

3. (Optional) To remove PyCharm IDE, simply run command:

sudo apt remove pycharm pycharm-community

And the PPA repository can be removed via Software & Updates utility (Other Software tab).

PyCharm IDE

This is a quick tutorial for beginners how to install the latest PyCharm Python IDE with Ubuntu integration via PPA.

The official PyCharm Linux binary packages lack shortcut launchers for Ubuntu desktop. To install the IDE with Ubuntu patch and receive future updates along with other system updates via Software Updater, you may use a third-party PPA maintained by Mystic-Mirage.

The PPA contains both the Professional and free Community version for Ubuntu 16.04, Ubuntu 15.10, Ubuntu 14.04, Ubuntu 12.04, and their derivatives.

PyCharm IDE

Mystic-Mirage has stopped updating the PPA, for those sticking to the latest Pycharm Community, use the GetDeb repository instead, see here.

1. Add the PPA.

Open terminal and paste (Shift+Ctrl+V) the command below and hit run:

sudo add-apt-repository ppa:mystic-mirage/pycharm

PyCharm PPA

Type in your password (no visual feedback) when it asks and hit Enter.

2. Update and install PyCharm.

If you have Synaptic Package Manager installed, launch it and then search for and install pycharm (or pycharm-community) after clicking the Refresh button.

Install PyCharm via Synaptic

Or run the commands below one by one in terminal to install the Professional version:

sudo apt update

sudo apt install pycharm

For the community version, replace the last command with:

sudo apt install pycharm-community

Once a new version is released and made into PPA, you can simply launch Software Updater to upgrade it.

3. (Optional) To remove the PPA, go to Software & Updates -> Other Software tab. And PyCharm IDE can be removed with apt command with remove flag:

sudo apt remove pycharm pycharm-community

That’s it. Enjoy!