Created
March 15, 2023 11:23
-
-
Save jonasbjork/52886ebaee7691766890f32e15005fe7 to your computer and use it in GitHub Desktop.
Install Google Chrome in Ubuntu WSL2 on Windows 11 and always start clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Install Google Chrome in Ubuntu / WSL2 on Windows 11: | |
# $ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
# $ sudo apt install libgbm1 libu2f-udev libwayland-server0 | |
# $ sudo dpkg -i google-chrome-stable_current_amd64.deb | |
# | |
# Start Google Chrome: | |
# $ google-chrome | |
# Clean cache every start | |
rm -rf ~/.config/google-chrome/ | |
google-chrome 2>chrome-error.log & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment