From af2d996b51cda22558467f6cfe580ae6245a0ebc Mon Sep 17 00:00:00 2001 From: Wes Bryie Date: Thu, 4 Jan 2024 20:11:26 -0500 Subject: [PATCH] Update gui-apps.md to simplify commits. (#1880) * Update gui-apps.md If we are already referencing apt, why not just use apt to install google chrome? * Update gui-apps.md forgot --fix-missing * Add a note to explain the command flags and path --------- Co-authored-by: Matt Wojciakowski --- WSL/tutorials/gui-apps.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/WSL/tutorials/gui-apps.md b/WSL/tutorials/gui-apps.md index ed10a49e..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 --- @@ -143,9 +143,9 @@ 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 --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`