Skip to content

Why are WSL2 and Linux tab ddev install steps different when they both say to install inside distro? #4113

@therobyouknow

Description

@therobyouknow

Is there an existing issue for this?

  • I have searched the existing issues

Run a Diagnostic and Paste Link Here

No response

Current Behavior

I have searched the existing issues

couldn't see similar issue, so raising this issue.

On "Windows WSL2" tab of https://ddev.readthedocs.io/en/stable/users/install/ddev-installation/ to install ddev it says

The Windows ddev works fine with the WSL2-based Docker engine. However, the WSL2 ddev setup is vastly preferable and at least 10 times as fast.

So these are the steps for installing ddev inside the distro running on WSL2:

12 Open the WSL2 terminal, for example Ubuntu from the Windows start menu.

13 Install ddev with curl -fsSL https://raw.githubusercontent.com/drud/ddev/master/scripts/install_ddev.sh | bash

There are also steps for installing ddev in Linux - in the Linux tab of the same page https://ddev.readthedocs.io/en/stable/users/install/ddev-installation/

Debian/Ubuntu and derivative distros - Install the ddev apt repositories with:

curl https://apt.fury.io/drud/gpg.key | sudo apt-key add -
echo "deb https://apt.fury.io/drud/ * *" | sudo tee -a /etc/apt/sources.list.d/ddev.list
sudo apt update && sudo apt install -y ddev

This step, like the step 14 for WSL2, is inside the distro, e.g. running these commands from a shell in Ubuntu.

Why are the steps different? should we not have a single guide for Linux whether it be a standalone ordinary installation or one running on WSL2?

Expected Behavior

Why are the steps different? should we not have a single guide for Linux whether it be a standalone ordinary installation or one running on WSL2?

Steps To Reproduce

Conpare ddev install steps for Linux with install steps for WSL2 https://ddev.readthedocs.io/en/stable/users/install/ddev-installation/

image

image

image

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions