Ubuntu14: Install PyCharm Pro

First we need to install some dependencies.

Install JRE
Pycharm requires Java Runtime Environment (JRE) to work. You may want to consider getting Java Development Kit (JDK) as it contains the JRE and development tools in case you need to install it in the future. To install Oracle JDK I have written a guide here.

Install Python tools
The instructions for this depend on which version of python you intend to support in your application. Installing the following packages should ensure you have the necessary python tools.
sudo apt-get install python-setuptools

Optionally if you are using pip requirements in your project, or planning to deploy it you will most likely want to consider using PIP. It is a package installation tool.
sudo easy_install pip

Install Virtual Env
I’m pretty sure that virtual env is required to run pycharm. If not, it is a good option to help manage different environments for each project and I would recommend it regardless.
sudo pip install --upgrade pip virtualenv virtualenvwrapper

Install PyCharm (finally)
Download PyCharm Professional from this link. Students, there is an option to get a 1 year student license for the professional edition. You should read the details of the license (as I don’t know its details).
https://www.jetbrains.com/pycharm/download/#section=linux

PyCharm should download as a tar.gz file. Once downloaded, open the terminal and move the the directory containing the tar.gz file.

To unpackage the tar.gz file:
tar -xzf pycharm*.gz

Optionally, you may want to extract the tar.gz file at a different location where you intend to use it.

To run pycharm you need to run pycharm.sh in the bin folder of the installation. Make sure to fill in the correct version number by replacing the Xs.
cd /pathtoinstallation/pycharm-5.X.X/bin

When you want to run, run the pycharm.sh file. But ensure you run with sudo privileges.
sudo ./pycharm.sh

Leave a Reply