Skip to content

Instantly share code, notes, and snippets.

@stephenchew
Last active October 11, 2023 12:59
Show Gist options
  • Save stephenchew/7af423f9de1c0beebe1d114979241fd4 to your computer and use it in GitHub Desktop.
Save stephenchew/7af423f9de1c0beebe1d114979241fd4 to your computer and use it in GitHub Desktop.
All about WSL2

All about WSL2

Docker in WSL2 (without Docker Desktop)

🔗 https://nickjanetakis.com/blog/install-docker-in-wsl-2-without-docker-desktop

Installing Google Chrome

  1. Change directories into the temp folder: cd /tmp
  2. Use wget to download it: sudo wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
  3. Get the current stable version: sudo dpkg -i google-chrome-stable_current_amd64.deb
  4. Fix the package: sudo apt install --fix-broken -y
  5. Configure the package: sudo dpkg -i google-chrome-stable_current_amd64.deb

🔗 Reference: https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps#install-google-chrome-for-linux

Upgrade

sudo apt update && sudo apt upgrade -y

or

Repeat the steps above to upgrade.

Installing Brave

Check the link for pre-requisites.

  1. sudo apt install brave-browser

Reference: https://linuxhint.com/install-brave-browser-ubuntu22-04/

Upgrade

sudo apt update && sudo apt upgrade -y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment