How to install Codeblocks on a Chromebook in 2021


Today we are looking at how to install Codeblocks 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.

This tutorial will only work on Chromebooks with an Intel or AMD CPU (with Linux Apps Support) and not those with an ARM64 architecture CPU.

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

Update: with the release of Chrome OS 96, the Linux container on a Chromebook has been upgraded to a newer version.  Because of this, we need to run one additional command for the application to work, we added it to the list of commands.

Commands Used:
1) sudo apt update
2) sudo apt install flatpak
3) sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
4) sudo flatpak install flathub org.codeblocks.codeblocks
5) sudo chown root:root /usr/bin/bwrap && sudo chmod u+s /usr/bin/bwrap


About Flatpak:

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


Have a look at our Chromebook comparison and Buyers Guide!

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

Comments