Archives For November 30, 1999

PyCharm IDE

Jetbrains announced the release of its Python IDE, PyCharm 2017.3.2, a day ago. Here’s how you can install it in Ubuntu 16.04 and higher.

Changes in PyCharm 2017.3.2 include:

  • Type annotation ahead of time. You can’t put an inline type annotation when defining a variable in a for or a with statement, so you need to provide the annotation in a separate place, read more on the ticket. This is now supported in PyCharm.
  • ‘Show command line afterwards’ now works correctly for remote interpreters. And further fixes to this feature
  • Various SQL syntax fixes for PostgreSQL and Oracle (PyCharm Professional Edition bundles all DataGrip features)
  • React code completion improvements (PyCharm Professional Edition bundles all WebStorm features)
  • And more, see the release notes for details

How to Install PyCharm 2017.3.2 in Ubuntu:

You can easily run the new release in Ubuntu either via:

method 1: official Linux binaries. NON-INSTALL version, just extract and run executable file to launch the IDE:

Download PyCharm Linux binary

method 2: or install the Snap package. App run in sandbox. Support for Ubuntu 16.04 and higher:

Simply open terminal via Ctrl+Alt+T or by searching for ‘terminal’ from app launcher. When it opens, run command:

snap install pycharm-community --classic

For professional edition, run following command instead:

snap install pycharm-professional --classic

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

Uninstall:

To remove the snap packages, either use Ubuntu Software or run command in terminal:

sudo snap remove pycharm-community pycharm-professional

For those who prefer traditional Ubuntu PPA, keep an eye on the launchpad PPA.

PyCharm IDE

The professional version of PyCharm IDE 2017.1.3 can now be easily installed via a PPA repository (unofficial) in Ubuntu, though there’s an official Linux tarball available.

Although the GetDeb repository is maintaining the latest community version of PyCharm IDE for Ubuntu users, there lacks a PPA for PyCharm Pro since Mystic-Mirage dropped his PPA support half a year ago.

Now there’s another PPA contains both PyCharm Community and Pro (2017.1.3 so far). Though the PPA only supports Ubuntu 16.10 and Ubuntu 17.04 at the moment, the packages also work in Ubuntu 16.04.

PyCharm Professional

1. To add the PPA, open terminal via Ctrl+Alt+T and run command:

sudo add-apt-repository ppa:viktor-krivak/pycharm

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

PyCharm unofficial PPA

2. Then you can install PyCharm Pro via command (replace pycharm-professional with pycharm for the community version):

sudo apt update 

sudo apt install pycharm-professional

Install PyCharm Pro in Ubuntu 16.04:

For Ubuntu 16.04 LTS, grab the .deb package either for zesty or yakkety from PPA packages page.

Then install it either via Gdebi (available in Software Center) package installer or by running command:

sudo dpkg -i ~/Downloads/pycharm-professional_*.deb; sudo apt -f install

Uninstall:

To remove the PPA repository, go to System Settings -> Software & Updates and navigate to Other Software tab.

To remove the IDE, either use your system package manager, or run command:

sudo apt remove --autoremove pycharm-professional