Enable Linux on Chromebook
See a TA while following these instructions
- See: https://support.google.com/chromebook/answer/9145439?hl=en
- Make sure they have admin access
- Then go to Settings>Advance>Date&Time>Enable Linux
- Once it’s installed terminal will open
Give Linux access to your Downloads Folder
- Open My Files
- Click Give Linux Access
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.3.2/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
Make a bash script called start_pycharm.sh
with these lines.
Edit them for your pycharm version and username.
#! /usr/bin/bash
cd /home/username/pycharm-community-2023.3.2/bin
PYCHARM_JDK=/usr/lib/jvm/java-17-openjdk-amd64 bash pycharm.sh
Then you can run pycharm with:
bash start_pycharm.sh
You can just type bash st
and then tab.
- When Pycharm launches you want to go Settings>Make Desktop… unless you ran the complicated way.
- Then continue set-up as usual