How to install PyCharm on a Chromebook


Today we are looking at how to install PyCharm, community edition, on a Chromebook.  Please follow the video/audio guide as a tutorial where we explain the process step by step and use the commands below.

If you have any questions, please contact us via a YouTube comment and we would be happy to assist you!

Please take note that with the release of Chrome OS 90,  the location of Linux Apps has been changed in the Chromebook’s settings.  Have a look at this tutorial, to see how to turn on Linux apps and then continue with the installation tutorial.

Commands Used:
1) sudo apt update
2) sudo apt install python3 python3-pip build-essential libssl-dev libffi-dev python3-dev default-jdk
3) tar -xf pycharm-community-2023.1.4.tar.gz
4) cd pycharm-community-2023.1.4/bin
5) ./pycharm.sh
6) sudo apt install menulibre
7) menulibre


Download Link:

Official Site:

We are on social media! For announcements, content release updates (across all our projects), and much more, please join our Reddit community!
https://www.reddit.com/r/linuxmadesimple/

All Currently Supported Chromebooks with Linux Apps (Crostini) support

Join our mailing list to be notified about all major Chromebook Sales.

Comments

  1. tar -xf pycharm-community-2022.2.tar.gz gives me "No such file in directory" :(

    ReplyDelete
    Replies
    1. well, I might be a little bit late, but you need to go to the link below where it says Download Link. Then at this time probably the name of the file is different so when you uncompress it you should you better use for the steps 3 and 4
      3) tar xf pycharm-community-2023.1.2.tar.gz
      4) cd pycharm-community-2023.1.2/bin/
      The next steps are the same as the tutorial of this post. I hope that it works like it worked to me.

      Delete
  2. if you look at the download you hopefully downloaded, it prompted you to a link that would have a different version "...2022.3.2" is the most recent, but since your comment was from 2022 it is likely different than the example in the instructed example. ls -a will show you in your directory which tar.gz version you downloaded. Append your command to ratify your version, and it should work.

    ReplyDelete
  3. Hello!

    Any idea how to overcome the following error message:

    java.lang.ExceptionInInitializerError: Exception java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable. [in thread "DefaultDispatcher-worker-2"]

    Thank you!

    ReplyDelete

Post a Comment