Archives For PyCharm

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:

Download PyCharm Linux binary

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

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

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.