Archives For November 30, 1999

PyCharm IDE

Jet Brains announced the release of PyCharm 2017.3 earlier today. Here’s how to install it in Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, Ubuntu 18.04.

PyCharm 2017.3 release highlights:

  • Performance improvements: Python indexing is twice as fast, JavaScript indexing is up to 40% faster, configuring SSH interpreters is much faster (in some cases over 100x), and more!
  • The new release makes creating and selecting Python interpreters easier.
  • A new scientific mode, which puts all the tools you need for data science at your fingertips (professional version only)
  • An all new HTTP client for those who build (REST) APIs.
  • Fully supports for Django 2.0 (professional edition only)
  • Supports running Python modules (python -m )
  • Supports for SSH config files

How to Install PyCharm 2017.3 in Ubuntu:

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

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

method 2 (recommended): or install the Snap package. WELL integrated with Ubuntu. 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:

sudo snap install pycharm-community --classic

For sudo prompts, input your password (no visual feedback while typing) when it asks and hit Enter.

For professional edition, run following command instead:

sudo 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

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.

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.

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

PyCharm 2017.1 was released yesterday. Features a much faster debugger, improved Python and JavaScript unit testing, and support for the six library.

PyCharm 2017.1 release highlights:

  • The Python debugger got forty times faster for Python 3.6 projects, and up to two times faster for older versions of Python
  • added support for the six compatibility library
  • Unit test runners for Python have been rebuilt from the ground up: you can now run any test configuration with PyCharm
  • Improved JavaScript unit testing: gutter icons indicating whether a test passed and support for Jest, Facebook’s JS testing framework (PyCharm Professional only)
  • Zero-latency typing is now on by default
  • Support for native Docker for Mac – no more need to use SOCAT! (PyCharm Professional only)
  • And more!

How to Install PyCharm 2017.1 in Ubuntu:

For the community version, the GetDeb repository has made the packages for Ubuntu 16.04, Ubuntu 16.10, and Linux Mint 18.

1. Open terminal via Ctrl+Alt+T for searching for “terminal” from start menu. When it opens, run command:

sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu $(lsb_release -sc)-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'

2. After adding the GetDeb repository, setup the GPG key via command:

wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -

For Linux Mint, please enable GetDeb repository via Software Sources -> Additional Repositories.

3. Finally install PyCharm, the community version, via commands:

sudo apt update

sudo apt install pycharm

For the professional version, download the official Linux package from the link below, extract, and run the executable from bin/ folder (or read the document).

PyCharm has reached the 2016.3.1 release. For those sticking to the latest community version, here’s how to install it in Ubuntu 16.04, Ubuntu 16.10 via the GetDeb repository.

PyCharm 2016.3.1 release highlights:

  • Add option to disable the automatic activation of the project’s virtualenv in terminal.
  • Terminal path can be configured globally
  • The terminal on macOS will source your .bash_profile upon activation
  • Django: Warnings for non-existing config files, closing tags, code intentions
  • IPython and Jupyter Notebook fixes
  • Docker: Entrypoints in docker-compose configurations, environment variables on mac, working directory issues
  • Python Console: Execute code in console (Shift+Alt+E) indentation fixed, tab completion
  • And various other bug-fixes.

How to Install PyCharm 2016.3.1 in Ubuntu:

Mystic-Mirage has stopped maintaining PPA repository for PyCharm, you can now install only the community version from the GetDeb repository for Ubuntu 16.04, Ubuntu 16.10 and their derivatives.

1. Open terminal (Ctrl+Alt+T) and run command to add the repository:

sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu yakkety-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'

Then setup the keyring to trust the updates from that repository:

wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -

2. Then update package index and install the IDE:

sudo apt update

sudo apt install pycharm

Uninstall PyCharm:

To uninstall the software, simply run apt command with remove flag:

sudo apt remove pycharm && sudo apt autoremove

The GetDeb repository can be removed by going to Software & Updates -> Other Software tab.

PyCharm 2016.3, the third update in the 2016 series of the cross-platform PyCharm and Django IDE, has been released a few days ago.

PyCharm 2.16.3 features:

  • Better Django support
  • Improved Python console
  • Full support for Python 3.6
  • Enhanced version control integration
  • A better variable explorer
  • Upgrades to coverage and profiling tools
  • And much more, see the what’s new page.

How to Install PyCharm 2016.3 in Ubuntu:

Thanks to Mystic-Mirage, both professional and community editions are made into PPA, available for Ubuntu 16.04, Ubuntu 16.10, Linux Mint 18 and derivatives.

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

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

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

2. Then update system package index and install the IDE via commands:

sudo apt update

sudo apt install pycharm-community

Or use sudo apt install pycharm to install the professional version.

Uninstall:

The packages can be easily removed by using apt command with remove flag:

sudo apt remove pycharm pycharm-community && sudo apt autoremove

And the PPA can be removed by going to System Settings -> Software & Updates -> Other Software tab.

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.

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.

1. Add the PPA

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

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

2. For those who have a previous release installed, launch Software Updater and upgrade the 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).

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.

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

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.

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!

How to Install PyCharm IDE in Ubuntu 14.04/15.04

Last updated: November 28, 2016

Quick tutorial shows how to install the PyCharm, a Python IDE, in Ubuntu 14.04, Ubuntu 15.04, Linux Mint 17, or Elementary OS Freya via PPA.

PyCharm is an intelligent Python IDE with unique code assistance and analysis, for productive Python development on all levels. It features (community version):

  • Intelligent Editor, with code completion, on-the-fly error highlighting, auto-fixes, etc.
  • Automated code refactorings and rich navigation capabilities
  • Integrated debugger and unit testing support
  • Native VCS integrations
  • Customizable UI and key-bindings, with VIM
  • emulation available
  • And much more, all available under the Apache 2 license

Install PyCharm from PPA:

There’s a PPA repository for Ubuntu based users that contains both professional (30-day free trial) and community version of PyCharm packages. So far, Ubuntu 15.04, Ubuntu 14.04, Ubuntu 12.04 and their derivatives are supported.

1. To add the PPA, open terminal from the Dash, Launcher, or via Ctrl+Alt+T shortcut keys. When it opens, run command:

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

2. After adding the PPA, update system package cache and install the IDE via Synaptic Package Manager. Or just run below commands one by one in terminal:

sudo apt-get update

sudo apt-get install pycharm

You may replace last command via sudo apt-get install pycharm-community to install the community version which is free.

For those who don’t want to add PPA, grab the .deb installer for either professional or community version from the launchpad page.