What this tutorial is about
This tutorial aims to walk step by step through the process of installing PyCharm on Linux, according to FHS.
What this tutorial is not about
The information about File Hierarchy System and Linux commands is out of scope of this tutorial.
PyCharm requires the following minimal configuration of your computer:
- Intel Pentium III/800 MHz or higher (or compatible)
- 512 MB RAM minimum, 1 GB RAM recommended
- 1024x768 minimum screen resolution
- Oracle (Sun) JDK 1.6 and higher or Open JDK 1.7 and higher.
- GNOME or KDE desktop.
- Python 2.4 or higher, Jython, PyPy or IronPython.
Also, make sure that you have read-write permissions for the target directory /opt.
Downloading installation archive
To download the installation archive, open the page Download PyCharm, and click Linux tab:
Depending on your choice, click one of the download buttons (Download Professional or Download Community). The installation archive file
Unpacking installation archive and installing the product
- Copy or move the downloaded archive to the directory /opt, where PyCharm will be installed. For example:
- Go to the /opt directory:
- Unpack the archive pycharm-*.tar.gz to the current directory, using the following command:
Here the following keys are used:
- x - extract files from the archive
- f - process the specified file
- z - use gzip
- v - use verbose mode
- Optionally, you can remove the downloaded archive for the sake of saving space: Actually, the installation process is over. From this point on you can use PyCharm.
After installation, you can launch PyCharm directly from
/opt/pycharm-<version number> directory. Execute the following command:
However, this is not very handy - every time you want to launch PyCharm you have to enter the required directory and type the command. Much easier is to create a link to this file:
Thus, you can in the future launch PyCharm with a simple command
pycharm entered in the main menu in Ubuntu.