Ad

How to install PyCharm on Ubuntu 18.04 Linux Desktop

 

Ubuntu Bionic Beaver Booting:

How to install PyCharm on Ubuntu 18.04 Linux Desktop

The purpose of this tutorial is to install PyCharm on Ubuntu 18.04 Bionic Beaver Linux.

PyCharm is a graphical IDE (integrated development environment) that can be installed on Ubuntu Desktop. Many Python programmers enjoy using PyCharm because it can be used to analyze code, debug programs, and is integrated with Git and other version control systems, as well as web development applications.

Follow along with the steps below if you’d like to try PyCharm on Ubuntu for your Python programming needs.

These are what you will learn in this tutorial:

  • How to install PyCharm on Ubuntu from command line
  • How to install PyCharm on Ubuntu using graphical user interface
  • How to install pycharm on Ubuntu command line and graphical interface


PyCharm on Ubuntu 18.04 Bionic Beaver

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Conventions or Software Version Used
System Installed Ubuntu 18.04 or upgraded Ubuntu 18.04 Bionic Beaver
Software PyCharm
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ – requires given linux commands to be executed as a regular non-privileged user
   

 

Install PyCharm on Ubuntu 18.04 step by step instructions

Install PyCharm Ubuntu from command line

  1. Start by opening a terminal window and execution of the bellow apt command. Select your preferred version to install:
    $ sudo snap install pycharm-community --classic
    OR
    $ sudo snap install pycharm-professional --classic
    OR
    $ sudo snap install pycharm-educational --classic
    

    All done.

  2. You can start the PyCharm using the below command:
    $ pycharm-community
    OR
    $ pycharm-professional
    OR
    $ pycharm-educational
    


Install PyCharm using graphical user interface

  1. Use top left Activities menu to open the Software application.
    Open software application
  2. Search for pycharm application. Select your preferred PyCharm version to install.
    Search for pycharm
  3. To install PyCharm Ubuntu, press the Install button.
    installation PyCharm


  4. Enter your username and password. Your user needs to belong to sudo administrative group.
    Enter your username and password
  5. Start the PyCharm application. Follow the wizard to perform the initial settings.
    Start the PyCharm application
  6. At this point you should be ready to start a new project or import your existing project.
    start a new project or import your existing project

     Install pycharm using command line and graphical interface

 You might be thinking how is it possible to install pycharm using both command line and graphical user interface, well it's possible but not as you are thinking. To install pycharm using command line interface, first of all go to the pycharm download page on jetbrains.com and download the latest version for ubuntu, you should check the system requirement, after downloading the tar file you just go to your download folder and uncompress the tar file, after uncompressing the file navigate or double click the uncompressed file, it should look like the image below:

 

 After that, locate the bin folder on the top right corner and left click, it will be like the image below:

 

 Then locate open in terminal and right click and the folder will open in terminal like the below image:

 

 Then run the below command to install pycharm.

kel@madprogrammer:~/pycharm-community-2021.2.3/bin$ pycharm.sh

after running the command pycharm will be installed.
 

Troubleshooting

In case you receive the following error message during the PyCharm loading:

ModuleNotFoundError: No module named 'distutils.core'

you may fix this issue by installation of the python3-distutils package using the following command:

$ sudo apt-get install python3-distutils

Conclusion

In this tutorial, we saw how to install PyCharm on Ubuntu 18.04 Bionic Beaver Linux. Using the Snap package manager to install the PyCharm IDE means that the program will stay up to date automatically. Hopefully you find this free software to be a suitable environment for your Python coding.

Any question then hit me up in the comments

Post a Comment

0 Comments

sponsored