BYU logo Computer Science

Enable Linux on Chromebook

See a TA while following these instructions

Miniconda:

  • Just use the Quick command line install instructions for Linux.
  • Then conda create -n cs110 matplotlib pytest
  • Finally, conda run -n cs110 python -m pip install -U byu_pytest_utils byubit

Download Pycharm

  • https://www.jetbrains.com/pycharm/download/?section=linux

  • Download the tar.gz for Linux version of the Community edition (You have to scroll down a bit)

    • Maybe try the AMD version, it might avoid the JRE error described below.
    • Additionally apparently a command line version of the installation exist and that might also be better.
  • Unpack the pycharm folder to the Linux Files Folder (You can just double click tar.gz and copy the folder over)

  • Run cd ./pycharm-community-2023.2.1/bin/ or whatever version of pycharm was installed

  • Then bash ./pycharm.sh

    • If you have the no JRE found error:

      • Run sudo apt-get install openjdk-17-jdk

      • Run PYCHARM_JDK=/usr/lib/jvm/java-17-openjdk-amd64 bash pycharm-community-2023.2.1/bin/pycharm.sh

      • If you did this you must run this every time

  • When Pycharm launches you want to go Settings>Make Desktop… unless you ran the complicated way.

  • Then continue set-up as usual