Skip to Content
Catalog
Log In
Sign Up
Article

Installing IDLE on a Chromebook

This article will teach you how to install IDLE on Chromebooks so you can do Python projects on your Chromebook.

If you haven’t set up your local Linux environment on your Chromebook yet, please read the Programming Locally on a Chromebook article first.

Choosing a Code Editor

Depending on your project, you may be using IDLE, VS Code, or Jupyter Notebooks. We’ll explain how to install IDLE in this article.

IDLE

  1. We will install IDLE using our terminal. We can do this with the command sudo apt-get install.

    For Python 3:

    [email protected]:~$ sudo apt-get install idle3

    For Python 2:

    [email protected]:~$ sudo apt-get install idle
  2. The command will ask you Do you want to continue? [Y/n]. You can type “y” and press enter to continue the installation. If you’re worried you don’t have enough room on your Chromebook for the installation, go through and delete extra images or applications you no longer need.

    ... Need to get 2,160 kB of archives. After this operation, 10.3MB of additional disk space will be used. Do you want to continue? [Y/n] y
  3. Once the installation completes, open your search and search for “idle”. If you’re using Python 3, open the version of IDLE that has “3.X” next to it. If you’re using Python 2, open the version simply labeled “IDLE”. Open IDLE 3

  4. It’ll open the Python shell first, so we’ll want to open a new file. Do this by opening the “File” menu and clicking “New File”. Open a new file

  5. Add a print() statement to your new file so we can test it.

  6. Now, in the new file window, open the “Run” menu and click “Run Module”. Run the program

  7. If you’re prompted to save the file, click “Okay” and give your file a name.

  8. Your python program will output in your shell! It ran!

Programming Locally

While there are some limitations to programming locally on your Chromebook, you can still program in many languages.

The following articles will help you set up a specific language or tool on your Chromebook:

Ready to Learn More?

Find the course that's right for you! Explore our catalog or get a recommendation.
Career Path

Data Scientist

Beginner friendly

85 Lessons
Career Path

Full-Stack Engineer

Beginner friendly

137 Lessons