Skip Navigation

Scott Spence

Use Google Chrome in Ubuntu on Windows Subsystem Linux

1 min read

1 person viewing this page live

Read to the end of the post for more stats

Hey! Thanks for stopping by! Just a word of warning, this post is over 2 years old, . If there's technical information in here it's more than likely out of date.

This is a specific use case for installing Google Chrome in Ubuntu on WSL.

On Ubuntu, Snap is the preferred method to install Chromium and although snap is on the WSL image you get from the Microsoft store it’s not functional. There is a solution untested by me that may work.

There’s a nice post from Greg Brisebois on getting set up for Selenium in WSL and this is partly pulled from there, if you want to use it for Selenium then check out his post.

ℹ Prerequisites for this is that you are already set up to use GUIs on WSL, if you’ve not done that then check out this post.

Here’s a video detailing the process:

Dependencies, make sure you’re up to date first:

sudo apt update && sudo apt -y upgrade && sudo apt -y autoremove

Download and install Chrome:

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt -y install ./google-chrome-stable_current_amd64.deb

Check that it’s installed ok:

google-chrome --version

Done! Now it can be used either from the command line google-chrome and with CLI tools like Cypress, Playwright, Puppeteer etc.

There’s also a really detailed post on getting Chromium set up on Linux from Addictive Tips.

There's a reactions leaderboard you can check out too.

Analytics Information

Daily analytics for this post

Views Today
126
Sep 28, 2023 1:42 PM
Visitors Today
84
Sep 28, 2023 1:42 PM
Entries Today
87
Sep 28, 2023 1:42 PM

Monthly analytics for this post

Views This Month
3.7k
Sep 1, 2023 - Sep 28, 2023
Visitors This Month
2.3k
Sep 1, 2023 - Sep 28, 2023
Entries This Month
2.4k
Sep 1, 2023 - Sep 28, 2023

Yearly analytics for this post

Views This Year
43k
Jan 1, 2023 - Sep 28, 2023
Visitors This Year
23k
Jan 1, 2023 - Sep 28, 2023
Entries This Year
24.5k
Jan 1, 2023 - Sep 28, 2023

Copyright © 2017 - 2023 - All rights reserved Scott Spence