From ab09546dc10ad5f420f4f64752afe225ca154311 Mon Sep 17 00:00:00 2001 From: Wes Bryie Date: Wed, 20 Dec 2023 14:53:45 -0500 Subject: [PATCH 1/3] Update gui-apps.md If we are already referencing apt, why not just use apt to install google chrome? --- WSL/tutorials/gui-apps.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/WSL/tutorials/gui-apps.md b/WSL/tutorials/gui-apps.md index ed10a49e..cf260abc 100644 --- a/WSL/tutorials/gui-apps.md +++ b/WSL/tutorials/gui-apps.md @@ -143,9 +143,7 @@ To install the Google Chrome for Linux: 1. Change directories into the temp folder: `cd /tmp` 2. Use wget to download it: `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` +3. Install the package: `sudo apt install ./google-chrome-stable_current_amd64.deb` To launch, enter: `google-chrome` From 33f015774aa8f7d691c15e0da5bfeae4703402b4 Mon Sep 17 00:00:00 2001 From: Wes Bryie Date: Wed, 20 Dec 2023 15:01:20 -0500 Subject: [PATCH 2/3] Update gui-apps.md forgot --fix-missing --- WSL/tutorials/gui-apps.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WSL/tutorials/gui-apps.md b/WSL/tutorials/gui-apps.md index cf260abc..e029145c 100644 --- a/WSL/tutorials/gui-apps.md +++ b/WSL/tutorials/gui-apps.md @@ -143,7 +143,7 @@ To install the Google Chrome for Linux: 1. Change directories into the temp folder: `cd /tmp` 2. Use wget to download it: `wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb` -3. Install the package: `sudo apt install ./google-chrome-stable_current_amd64.deb` +3. Install the package: `sudo apt install --fix-missing ./google-chrome-stable_current_amd64.deb` To launch, enter: `google-chrome` From 1e76a7aeb42589bb0bc4787f26191ad9c4e2ecdb Mon Sep 17 00:00:00 2001 From: Matt Wojciakowski Date: Thu, 4 Jan 2024 16:58:19 -0800 Subject: [PATCH 3/3] Add a note to explain the command flags and path --- WSL/tutorials/gui-apps.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/WSL/tutorials/gui-apps.md b/WSL/tutorials/gui-apps.md index e029145c..160f862f 100644 --- a/WSL/tutorials/gui-apps.md +++ b/WSL/tutorials/gui-apps.md @@ -1,7 +1,7 @@ --- title: Run Linux GUI apps with WSL description: Learn how WSL support running Linux GUI apps. -ms.date: 07/17/2023 +ms.date: 01/04/2024 ms.topic: article --- @@ -145,6 +145,8 @@ To install the Google Chrome for Linux: 2. Use wget to download it: `wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb` 3. Install the package: `sudo apt install --fix-missing ./google-chrome-stable_current_amd64.deb` +*The `--fix-missing` option is used to fix missing dependencies that may arise during the installation process. The `./` in the command specifies the current directory where the .deb file is located. If the .deb file is located in a different directory, you will need to specify the path to the file in the command. + To launch, enter: `google-chrome` ### Install Microsoft Edge browser for Linux