1. Home
  2. Linux
  3. Ubuntu
  4. How to install PyCharm on Ubuntu 16.04

How to install PyCharm on Ubuntu 16.04

How to install PyCharm on Ubuntu 16.04
How to install PyCharm on Ubuntu 16.04

In this tutorial, we will teach you how to install PyCharm for Ubuntu 16.04.
I have talked about the Pycharm and Ubuntu 16.04 earlier, the details of which you can read in these articles:

  1. How to Install AskBot Encrypt SSL on Ubuntu 16.04
  2. Install Tomcat 9 on Ubuntu-A complete tutorial

Pycharm

PyCharm is a state-of-the-art Python IDE which was made around productivity and functionality. It offers a big array of features which include a graphical debugger, refactoring tools, an intelligent code editor, and more. The community version is free of charge, however, the professional version requires a payment. This fee will grant you additional functionality such as a coding environment for web development, remote development, and database support.

install PyCharm for Ubuntu 16.04.

Despite PyChamp being available for Windows, Mac, and Linux, for this guide we will focus mainly on Linux.
One of the prerequisites for PyCharm is Java; it has to be installed on your system for PyCharm to run. For this reason, the first thing we will show you is the installation procedure for Java on Ubuntu 16.04.

Step 1: Confirm whether you have the Java Development Kit installed or not.

If you happen to have JDK installed already, then you do not have to do step 1 and step 2. To see which version of JDK you have, open a terminal on your system and run the command below.

java -version

 
If you receive an output similar to ‘The program ‘java’ cannot be found…’, or ‘java: command not found’ then this means you do not have any version of Java installed. In order to install Java, continue to step 2.

Step 2: Install OpenJDK 8.

To install OpenJDK 8, the open source variant of the Java Development Kit, run the command below followed by your user’s account password.

sudo apt-get install -y openjdk-8-jre-headless

 
This should only take a few minutes as the combined install size is quite large. The download speed will depend on your internet connection.
After the installation process is finished, run the command below to see which version of java that you have.

java -version

 
The first line of output will look similar to the below.

openjdk version "1.8.0_151"

 
If it does look similar, then this means you have successfully installed OpenJDK on your Ubuntu system.

Step 3: Append the Ubuntu Make repository.

If you want to install PyCharm, you have to append the Ubuntu Make repository. Run the command below to install the new repo.

sudo add-apt-repository -y ppa:ubuntu-desktop/ubuntu-make

 
After this is done, continue to step 4.

Step 4: Complete the installation of the new repository.

If you want to complete the installation of Ubuntu Make, you must update apt-get. You can do this by running the following command.

sudo apt-get update

 
After that is done, you may proceed to step 5.

Step 5: Install umake.

Before you install PyCharm, you must install the Ubuntu-make package with the command below.

sudo apt-get install -y ubuntu-make

 
Once this is done, continue to step 6.

Step 6: Installing PyCharm on Ubuntu with umake.

To install the community version of PyCharm, run the command below.

umake ide pycharm

 
To install the professional version of PyCharm, run the following command.

umake ide pycharm-professional

 
After this is done you may then go back to your Ubuntu desktop where you will see PyCharm on your sidebar, just click on the icon to run it.
Check out Our Best VPS Hosting and WordPress hosting Too for scalling your business needs.

Updated on December 23, 2018

Was this article helpful?

Related Articles

Leave a Comment

[apsl-login-lite login_text='Please login with a social account']