Skip to content

Commit 81f27a3

Browse files
authored
Rewrite information for installation using WSL (#2056)
Add a remark regarding the Windows Subsystem for Linux (WSL) at the top of the installation page; remove the recently added section on WSL because it unnecessarily duplicates installation information for Ubuntu, does not mention other available distributions, and gathers information on different installation methods (not only `apt') in the wrong place.
1 parent 1534c33 commit 81f27a3

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

en/documentation/installation/index.md

+5-17
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,14 @@ There are several ways to install Ruby:
3030
on your system.
3131
* Finally, you can also **build Ruby from source**.
3232

33+
On Windows 10, you can also use the [Windows Subsystem for Linux][wsl]
34+
to install one of the supported Linux distributions and use any of the
35+
installation methods available on that system.
36+
3337
Here are available installation methods:
3438

3539
* [Package Management Systems](#package-management-systems)
3640
* [Debian, Ubuntu](#apt)
37-
* [Windows WSL Ubuntu](#apt-wsl)
3841
* [CentOS, Fedora, RHEL](#yum)
3942
* [Snap](#snap)
4043
* [Gentoo](#portage)
@@ -81,22 +84,6 @@ like this:
8184
$ sudo apt-get install ruby-full
8285
{% endhighlight %}
8386

84-
### apt (Windows WSL Ubuntu)
85-
{: #apt-wsl}
86-
87-
If you use Windows 10, you can use Linux Ubuntu OS with WSL. And you can also use Ruby with apt.
88-
89-
There is an information that how to install WSL in this page:
90-
91-
[Windows Subsystem for Linux Installation Guide for Windows 10](https://docs.microsoft.com/en-us/windows/wsl/install-win10)
92-
93-
You can use the apt same as Linux OS like this:
94-
95-
{% highlight sh %}
96-
$ sudo apt-get install ruby-full
97-
{% endhighlight %}
98-
99-
Or you can also use Ruby managers like the rbenv on WSL.
10087

10188
### yum (CentOS, Fedora, or RHEL)
10289
{: #yum}
@@ -353,3 +340,4 @@ though, because the installed Ruby won't be managed by any tools.
353340
[download]: /en/downloads/
354341
[installers]: /en/documentation/installation/#installers
355342
[readme]: https://github.com/ruby/ruby#how-to-compile-and-install
343+
[wsl]: https://docs.microsoft.com/en-us/windows/wsl/about

0 commit comments

Comments
 (0)