You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: installation/windows.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,14 @@ To set up WSL with Ubuntu in it run the following commands in a Powershell windo
18
18
wsl --install
19
19
```
20
20
21
-
After this is done, Ubuntu can be selected from the start menu to open a terminal. This will be used for all commands going forward.
21
+
When this is done, restart your computer. Afterwards Ubuntu can be selected from the start menu to open a terminal, do this once to set up your user.
22
+
23
+
From now on the Ubuntu shell will be used when running commands going forward.
22
24
23
25
Files in Ubuntu can be accessed through a network share. In `This Computer` right click on the background and select `Map network drive`. Set the folder to `\\wsl$` to make it easily accessible.
24
26
27
+
Alternatively, you can open an Ubuntu terminal in a specific directory by holding shift and clicking the right mouse button on the background in the file browser and selecting `Open Linux shell here`.
Installing the PSPDEV toolchain itself can be done with the following steps:
42
46
43
-
1. In a fresh WSL Session download the Toolchain Archive using curl `curl -O https://github.com/pspdev/pspdev/releases/latest/download/pspdev-ubuntu-latest-x86_64.tar.gz`
44
-
2. Extract the archive using `tar -xvf pspdev-ubuntu-latest-x86_64.tar.gz`
47
+
1. In a fresh WSL Session download the Toolchain Archive using the following command:
3. To make the toolchain usable, some environment variables need to be set. The first step in doing so it to open the `~/.bashrc` file with the `nano` text editor using the following command from an Ubuntu terminal:
46
56
```shell
47
57
nano ~/.bashrc
@@ -57,5 +67,6 @@ Installing the PSPDEV toolchain itself can be done with the following steps:
57
67
```shell
58
68
psp-config --pspdev-path
59
69
```
70
+
If everything is set up correctly, the path of the PSPDEV toolchain installation will be shown.
60
71
61
72
That's it, now the PSPDEV toolchain can be used to build PSP software. Check out the [Basic Programs](../basic_programs.html) page to for examples on what you can do with it.
0 commit comments