Archives For IDE

This simple tutorial shows how to install the latest PyCharm IDE in Ubuntu 22.04, Ubuntu 23.04, and Ubuntu 23.10.

PyCharm is available to install in Ubuntu via different ways. They include Snap, Flatpak, official tarball, and Ubuntu PPA. Choose either one that you prefer.

Method 1: Install PyCharm via Snap package

JetBrains provides official Linux package through both Snap and tarball. Which is super easy to install for Ubuntu users.

The Snap package Features:

  • Official package by JetBrains.
  • Run in sandbox.
  • amd64 (x86_64) only.

For all current Ubuntu releases, just launch Ubuntu Software (or App Center), then search and install pycharm-community or pycharm-professional.

Method 2: Install PyCharm via Flatpak package

Another easy way to install PyCharm is using Flatpak package. Which works in most Linux, though run in sandbox.

The Flatpak package Features:

  • Community maintained.
  • Run in sandbox.
  • amd64 (x86_64) and arm64 support.

Ubuntu users just need to press Ctrl+Alt+T on keyboard to open terminal. Then run the 2 commands below one by one to install the package.

  • First, run command to install the Flatpak daemon:
    sudo apt install flatpak

  • Then, run the command below to install PyCharm as Flatpak:
    flatpak install https://dl.flathub.org/repo/appstream/com.jetbrains.PyCharm-Community.flatpakref

    You may replace Community in command with Professional to install the professional edition.

And, if you’re first time installing app as Flatpak, log out and back in for the app icon visible in system app launcher.

Method 3: Install PyCharm via Official Tarball

If you don’t like or have issue for the IDE running in sandbox, then use the official Linux tarball instead!

The Linux Tarball Features:

  • Official package by JetBrains.
  • Portable, no installation required.
  • amd64 (x86_64) and arm64 support.

1. First, go to the official download page via the link below:

Depends on you needs, either download the Professional, or scroll down and select the Community edition. For ARM64, click the down arrow (▿) icon to select from drop-down menu.

2. After downloaded the tarball, just extract and move the source folder to any location that you want for long time use.

In my case, I created a “Apps” folder in user home, and put PyCharm source folder into it as sub-directory.

3. Without installation, you can now go to the ‘bin‘ sub-folder, right-click on “pycharm.sh” and select “Run as Program” to launch the IDE.

4. Create app shortcut, so to launch from start/application menu.

  • First, press Ctrl+H in file manager and navigate to .local/share/applications directory. Then, create a new document and re-name to ‘pycharm.desktop’.For choice, you may open terminal (Ctrl+Alt+T) and run command to create the file instead:
    gedit ~/.local/share/applications/pycharm.desktop

    Replace gedit with gnome-text-editor or other text editor according to your Ubuntu edition and desktop environment.

  • Then, paste following lines into the file you just created and save it.
    [Desktop Entry]
    Name=PyCharm Community
    Exec=/path/to/pycharm-executable-file
    Icon=/path/to/pycharm-icon-file
    Terminal=false
    Type=Application
    Categories=Application;Development;
    Keywords=ide;python;charm;
    StartupWMClass=jetbrains-pycharm-ce

    Here, you need to replace the values of ‘Exec‘ and ‘Icon‘ according where you put the source folder. And, change ‘Name’ value for Professional edition.

If done correctly, you can now search for and launch PyCharm from app launcher or the overview screen depends on your DE:

Method 4: Install PyCharm via Ubuntu PPA

Another choice to avoid Snap and Flatpak, is using an Ubuntu PPA. However, there are only third-party maintained PPAs.

The PPA features:

  • Third-party maintained.
  • PyCharm Community only so far.
  • amd64 (x86_64) only so far.
  • supports Ubuntu 22.04, 23.04 only so far.

As far as I know, the xtradeb PPA is keeping updated with the most recent packages including PyCharm Community.

To install PyCharm from the PPA, press Ctrl+Alt+T on keyboard to open terminal. And, run commands below one by one:

  • Add the PPA by running command:
    sudo add-apt-repository ppa:xtradeb/apps

  • Then install the IDE:
    sudo apt install pycharm-community

NOTE: Linux Mint user needs to run sudo apt update after adding PPA to manually refresh system package cache.

Uninstall PyCharm

For the Snap package, just remove it from Ubuntu Software or App Center.

For the Flatpak package, open terminal (Ctrl+Alt+T) and run command to remove it:

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

And, run flatpak uninstall --unused to remove useless run-time libraries.

For PyCharm installed via the official Tarball, just remove the source folder as well as .desktop file under .local/share/applications directory.

For the Ubuntu PPA package, open terminal and run command to remove it:

sudo apt remove --autoremove pycharm-community

Also remove the Ubuntu PPA by running command:

sudo add-apt-repository --remove ppa:xtradeb/apps

This simple tutorial shows how to install the latest Intellij IDEA 2023.2 in Ubuntu 22.04, Ubuntu 23.04, and Ubuntu 23.10.

Intellij IDEA is available to install in Ubuntu via different ways. They include Snap, Flatpak, official tarball, and Ubuntu PPA. Choose either one that you prefer.

Method 1: Install Intellij IDEA via Snap package

JetBrains provides official Linux package through both Snap and tarball. Which is super easy to install for Ubuntu users.

The Snap package Features:

  • Official package by JetBrains.
  • Run in sandbox.
  • amd64 (x86_64) only.

For all current Ubuntu releases, just launch Ubuntu Software (or App Center), then search and install ‘Intellij IDE Community, Ultimate, or Educational.

Method 2: Install Intellij IDEA via Flatpak package

Another easy way to install the IDE is using Flatpak package. Which works in most Linux, though run in sandbox.

The Flatpak package Features:

  • Community maintained.
  • Run in sandbox.
  • amd64 (x86_64) and arm64 support.

Ubuntu users just need to press Ctrl+Alt+T on keyboard to open terminal. Then run the 2 commands below one by one to install the package.

  • First, run command to install the Flatpak daemon:
    sudo apt install flatpak

  • Then, run the command below to install IDEA as Flatpak:
    flatpak install https://dl.flathub.org/repo/appstream/com.jetbrains.IntelliJ-IDEA-Community.flatpakref

    You may replace Community in command with Ultimate to install the Ultimate edition.

And, if you’re first time installing app as Flatpak, log out and back in for the app icon visible in system app launcher.

Method 3: Install IntelliJ IDEA via Official Tarball

If you don’t like or have issue for the IDE running in sandbox, then use the official Linux tarball instead!

The Linux Tarball Features:

  • Official package by JetBrains.
  • Portable, no installation required.
  • amd64 (x86_64) and arm64 support.

1. First, go to the official download page via the link below:

Depends on you needs, either download the Ultimate, or scroll down and select the Community edition. For ARM64, click the down arrow (▿) icon to select from drop-down menu.

2. After downloaded the tarball, just extract and move the source folder to any location that you want for long time use.

In my case, I created a “Apps” folder in user home, and put IDEA source folder into it as sub-directory.

3. Without installation, you can now go to the ‘bin‘ sub-folder, right-click on “idea.sh” and select “Run as Program” to launch the IDE.

4. Create app shortcut, so to launch from start/application menu.

  • First, press Ctrl+H in file manager and navigate to .local/share/applications directory. Then, create a new document and re-name to ‘idea.desktop’.For choice, you may open terminal (Ctrl+Alt+T) and run command to create the file instead:
    gedit ~/.local/share/applications/idea.desktop

    Replace gedit with gnome-text-editor or other text editor according to your Ubuntu edition and desktop environment.

  • Then, paste following lines into the file you just created and save it.
    [Desktop Entry]
    Version=1.0
    Type=Application
    Name=IntelliJ IDEA Community Edition
    Comment=Develop with pleasure!
    Exec=/PATH/TO/IDEA/EXECUTABLE
    Icon=/PATH/TO/IDEA/ICON-FILE
    Terminal=false
    StartupNotify=true
    StartupWMClass=jetbrains-idea-ce
    Categories=Development;IDE;Java;

    Here, you need to replace the values of ‘Exec‘ and ‘Icon‘ according where you put the source folder. And, change ‘Name’ value for Ultimate edition.

If done correctly, you can now search for and launch the IDE from app launcher or the overview screen depends on your DE:

Method 4: Install IntelliJ IDEA via Ubuntu PPA

Another choice to avoid Snap and Flatpak, is using an Ubuntu PPA. However, there are only third-party maintained PPAs.

The PPA features:

  • Third-party maintained.
  • IDEA Community only so far.
  • amd64 (x86_64) only so far.
  • supports Ubuntu 22.04, 23.04 only so far.

As far as I know, the xtradeb PPA is keeping updated with the most recent packages including the IDEA Community.

To install the IDE from the PPA, press Ctrl+Alt+T on keyboard to open terminal. And, run commands below one by one:

  • Add the PPA by running command:
    sudo add-apt-repository ppa:xtradeb/apps

  • Then install the IDE:
    sudo apt install intellij-idea-community

NOTE: Linux Mint user needs to run sudo apt update after adding PPA to manually refresh system package cache.

Uninstall IntelliJ IDEA

For the Snap package, just remove it from Ubuntu Software or App Center.

For the Flatpak package, open terminal (Ctrl+Alt+T) and run command to remove it:

flatpak uninstall --delete-data com.jetbrains.IntelliJ-IDEA-Community

And, run flatpak uninstall --unused to remove useless run-time libraries.

For IDEA installed via the official Tarball, just remove the source folder as well as .desktop file under .local/share/applications directory.

For the Ubuntu PPA package, open terminal and run command to remove it:

sudo apt remove --autoremove intellij-idea-community

Also remove the Ubuntu PPA by running command:

sudo add-apt-repository --remove ppa:xtradeb/apps

The Bluefish text editor just got a new bug-fix release today!

It’s Bluefish 2.2.14, that fixed crashes when deleting backup files on close, when closing some of the dialogs in flatpak app, and when the CSS language file was loaded on a 32-bit system.

Furthermore, the release fixed zencoding functionality with python3, added option to store the scope of the search dialog to the session or project which was removed in 2.2.12 release. Also, it improves the speed of the bookmarks code.

Bluefish 2.2.14

How to Install Bluefish in Ubuntu

Bluefish is available in Ubuntu repository, but always old. For the most recent releases, either use the official Flatpak package, third-party PPA, or build it from source by yourself.

Option 1: Flatpak package

Bluefish provides official package through Flatpak that works in most Linux but runs in sandbox.

Ubuntu user can press Ctrl+Alt+T on keyboard to open terminal, and run the commands below one by one to install the package:

1. First, run command to enable Flatpak support:

sudo apt install flatpak

2. Then, install Bluefish as Flatpak package:

flatpak install https://dl.flathub.org/repo/appstream/nl.openoffice.bluefish.flatpakref

At the moment of writing, the Flatpak package is still v2.2.13. You can run flatpak update nl.openoffice.bluefish to update it when the new package is published.

Option 2: Ubuntu PPA (unofficial)

As you can see in the screenshot above, the Flatpak package will install hundred MB of run-time libraries. So, this unofficial PPA is here for choice.

The PPA supports Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04, Ubuntu 22.10, Ubuntu 23.04, and their based systems with both x86_64 and arm64/armhf CPU architecture types.

1. First, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/bluefish

Type user password (no visual feedback) when it asks and hit Enter to continue.

2. For the old Ubuntu 18.04 and Linux Mint users, manually refresh the system package cache by running command:

sudo apt update

3. Finally, either run command to install the text editor:

sudo apt install bluefish

Or, open “Software Updater” and use the tool to upgrade the previous Bluefish package to the latest.

Option 3: Build Bluefish text editor from source

For those who can’t wait, it’s not hard to compile the package from source tarball. And, following steps are tested and work in my case in Ubuntu 23.04.

1. First, open terminal (Ctrl+Alt+T) and run command to install the dependency libraries:

sudo apt install gettext debhelper libenchant-2-dev libglib2.0-dev libgtk-3-dev libgucharmap-2-90-dev libpango1.0-dev libtool libxml2-dev libxml2-utils python3-dev zlib1g-dev

2. Download the source code from Bluefish website. Then, extract it. Right-click on source folder and select “Open in Terminal

3. Once terminal opens with the source folder as working directory, run the commands below one by one to build and install the text editor.

./autogen.sh
make -j4
sudo make install

Uninstall Bluefish text editor:

For the Flatpak package, open terminal and run command to remove it:

flatpak uninstall --delete-data nl.openoffice.bluefish

Also run flatpak uninstall --unused to remove unused run-time libraries.

For the PPA package, remove it by running command:

sudo apt remove --autoremove bluefish

Also remove the Ubuntu PPA repository via command:

sudo add-apt-repository --remove ppa:ubuntuhandbook1/bluefish

For bluefish built from source code, until you remove the source folder, you can navigate to that folder in terminal and run command to uninstall it:

sudo make uninstall

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!