How to install Pycharm community in Linux Mint

by Daniel Pham
Published: Updated:

This post will guild you how to install Pycharm community in Linux Mint 18.3.

Pycharm is the best software for writing python programs, and Pycharm also supports other languages like Bash.

Installation requirements

According to information from the homepage of Pycharm, you need to pass some of the following requirements.

  • Hardware requirements
    • 4 GB RAM minimum, 8 GB RAM recommended.
    • 1.5 GB hard disk space + at least 1 GB for caches.
    • 1024×768 minimum screen resolution.
  • Software requirements
    • Python 2: versions 2.6 and 2.7.
    • Python 3: from the version 3.4 up to the version 3.7.

Download Pycharm community

I am using Linux Mint operating system 18.3 Cinnamon, I think it will work well with other OS as well.

To download the Community version Pycharm, click on this link and choose to download with the corresponding Community version.

download and install pycharm community in linux mint 18.3
Download and install Pycharm Community in Linux Mint 18.3.

Install Pycharm in Linux

After you download the Pycharm package file to your computer, the file is named pycharm-community-2018.3.5.tar.gz (the latest version at the time of this article).

Right click and extract the installation file above. For example, I downloaded it to the Desktop and unzipped it there.

Now, open up Terminal and type the following command to move the unzipped folder to the /opt directory (this folder needs root access).

Recommended Reading: How to add a menu item in Linux Mint

sudo mv /home/danie/Desktop/pycharm-community-2018.3.5 /opt/pycharm

You replace /home/danie/Desktop/pycharm-community-2018.3.5 with the exact path of the directory you extracted.

There is a problem, when you move it to the /opt directory, each time you access Pycharm, you need to switch to root (or sudo) to use. To avoid that, type the following command to move the pycharm directory to your user.

sudo chown -R danie:danie /opt/pycharm

Replace from danie with your username.

Add Pycharm to the list menu

You won’t want to open Pycharm with the command line, you need to create a menu to call it conveniently through the graphical interface.

Right click on the Start Menu icon, select Configure …. At Menu tab, click the Open the menu editor button.

Next, click the New Item button and fill in the content like the image below.

create menu item for Pycharm in Menu list
Create menu item for Pycharm in Menu list.
  • Name: PyCharm Community Edition
  • Command: "/opt/pycharm/bin/pycharm.sh" %f. For the new version of Pycharm (2019), please use this command /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=pycharm-desktop com.jetbrains.PyCharm-Community.
  • Comment: The Drive to Develop. This is optional.

Now, you can open the list menu, click Pycharm to start the program.

Conclusion

So you can successfully install Pycharm on Linux Mint 18.3 like me. I have been using it for several years and have not found any problems.

(This is an article from my old blog that has been inactive for a long time, I don’t want to throw it away so I will keep it and hope it helps someone).

0 0 votes
Article Rating

You may also like

Subscribe
Notify of
guest
5 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
miked
miked
Guest
4 years ago

for the command i found neither solution to work just ‘browse the the file location and hit enter’.. no “” no flatpak,, just trying to save someone else the 3 times i tried that and it didn’t work at all

Daniel
Daniel
Guest
4 years ago

Command: “/opt/pycharm/bin/pycharm.sh” %f

Please fix this second mistake in your code.

As written, it gives a “No such file or directory” error due to the fact that the quotation marks are curly (AKA “smart”) “” and not standard ASCII quotation marks “”. Please change the curly quotation marks to non-smart quotation marks that will work when the command is copied and pasted into Terminal by visitors to your site. I’ve found three mistakes in the code on this page. Please in future copy and paste your code into Terminal and TEST IT FIRST before publishing it on your site and wasting people’s time with code that needs to be fixed before it will work.

Daniel
Daniel
Guest
4 years ago

sudo move /home/danie/Desktop/pycharm-community-2018.3.5 /opt/pycharm.

Wrong!! “move: command not found.”

Please correct the “move” and change it to “mv”. This guide is confusing all the beginners who read it, as can be seen in the Stack Exchange page I have linked to.

“move -> mv ?” – steve Mar 4, 2019

“Did you mean mv?” – Kusalananda Mar 4, 2019

“The tutorial is incorrect, and wrongly uses move instead of mv.” – roaima Mar 4, 2019

“Yeah I’m new to Linux so I’m not familiar with terminal commands. Didn’t suspect that tutorial could be wrong. Thanks for help.” – Gunnm Mar 5, 2019

DevOps Lite is a personal blog specializing in technology with main topics about DevOps, DevSecOps, SRE and System Administrator. Articles are shared for free and contributed to the community.

SUPPORT US

FOLLOW US

Subscribe my Newsletter for new blog posts. Stay updated from your inbox!

© 2021-2024 DevOpsLite.com – All rights reserved.

Please write sources “DevOpsLite.com” when using articles from this website.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

0
Would love your thoughts, please comment.x
()
x

Adblock Detected

Please support us by disabling your AdBlocker extension from your browsers for our website.