Installing VS Code on Chromebook

Syeda Reeha Quasar
3 min readApr 26, 2021

So there was a small error I was facing while installingVS Code today in my Chromebook error was:

The following packages have unmet dependencies:
code: Depends: libnotify4 but it is not installable
Depends: libnss3 (>= 2:3.26) but it is not installable
Depends: apt but it is not installable
Depends: libxkbfile1 but it is not installable
Depends: libsecret-1–0 but it is not installable
Depends: libgtk-3–0 (>= 3.10.0) but it is not installable
Depends: libxss1 but it is not installable```

So here is how I did it!

1. Enable Linux on your Chromebook.

Before we can install VS Code on Chrome OS, we need to enable support for native Linux apps, using Crostini.

First, open your system’s Settings, then look for Linux (Beta) on the sidebar. From there, turn on Linux support.

Follow the instructions on the screen to configure the Linux environment (for most people, accepting the default values should be enough). Your Chromebook will then download the tools to create the Linux environment and configure it for you.

After installation, you will find the terminal like this!

Run the following commands to update the list of Linux packages and to install the optional (but strongly recommended) dependency gnome-keyring.

sudo apt-get update
sudo apt-get install -y gnome-keyring

Visit official VS Code site to download the stable package as per your system specifications

after completing the download open in files the downloaded file by double-clicking and click on install!

All done you can see the app in the Linux app folder!

Enjoy!

--

--

Syeda Reeha Quasar

Enthusiast, Environmentalist, Learner, Optimist and Egalitarian. Loves to explore different fields and experiment.