PRO 30% Free • Stripe ($15) & Razorpay (₹899)

Installing IDLE on a Chromebook

Top Course Staff · 2 min read · Developer tools · PRO · 30% Free Preview Available

Installing IDLE on a Chromebook

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

Choosing a Code Editor

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

IDLE

  • We will install IDLE using our terminal. We can do this with the commandsudo apt-get install.

For Python 3:

yourusername@penguin:~$ sudo apt-get install idle3
Copy to clipboard
yourusername@penguin:~$ sudo apt-get install idle3

For Python 2:

yourusername@penguin:~$ sudo apt-get install idle
Copy to clipboard
yourusername@penguin:~$ sudo apt-get install idle
  • The command will ask youDo 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
Copy to clipboard
...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
  • 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”.
  • 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”.
  • Add aprint()statement to your new file so we can test it.
  • Now, in the new file window, open the “Run” menu and click “Run Module”.
  • If you’re prompted to save the file, click “Okay” and give your file a name.
  • Your python program will output in your shell!
Open IDLE 3

Open IDLE 3

Open a new file

Open a new file

Run the program

Run the program

It ran!

It ran!

Programming Locally

While there are some limitations toprogramminglocally 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:

  • Programming in Python on a Chromebook
  • Installing Jupyter Notebook on a Chromebook
  • Web Programming on a Chromebook

'The Codecademy Team, composed of experienced educators and tech experts, is dedicated to making tech skills accessible to all. We empower learners worldwide with expert-reviewed content that develops and enhances the technical skills needed to advance and succeed in their careers.'

30% Free Preview Reached · Unlock Remaining 70%

Complete Payment to Unlock Full Guide & Source Code

You are viewing the 30% preview. Join TopCourseAI Pro to unlock the remaining 70% of this article, unblur all code snippets, and gain full access to all 412 technical projects and guides.

✓ Full Access to All 160+ Projects
✓ Instant Blur Removal Everywhere
✓ Production Source Code & Blueprints
✓ All Future Deep Dives Included
Instant Unhindered Activation ·
End of Preview · Unlock Complete Blueprint & Source Code

Ready to access the complete step-by-step tutorial?

Gain full unhindered access to all 412 technical projects and guides, unblur all source code snippets, and download runnable scripts.

Production AI Blueprints

Ready to build production-grade AI systems?

Enjoyed this guide? Continue exploring our library of 166+ production blueprints, multi-agent swarms, and autonomous agent systems with 100% unblurred, executable source code.