Archives For PyCharm

PyCharm IDE

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 Download Page

PyCharm IDE

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.

PyCharm 2016.3 splash

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 -

GetDeb repository for Ubuntu 16.04

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 IDE

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.

PyCharm PPA

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.

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!