Skip to content

Commit

Permalink
Update gui-apps.md to simplify commits. (#1880)
Browse files Browse the repository at this point in the history
* 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 <mattwoj@microsoft.com>
  • Loading branch information
polymo1 and mattwojo authored Jan 5, 2024
1 parent 4be38ba commit af2d996
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions WSL/tutorials/gui-apps.md
Original file line number Diff line number Diff line change
@@ -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
---

Expand Down Expand Up @@ -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`

Expand Down

0 comments on commit af2d996

Please sign in to comment.