This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
howto:windows_subsystem_for_linux_wsl [2018/05/03 05:37] d95gas [Installing Windows Subsystem for Linux (WSL) along with Ubuntu] |
howto:windows_subsystem_for_linux_wsl [2018/05/04 16:17] computerstar2000 [PART 2 - Getting it all up and running] |
||
---|---|---|---|
Line 9: | Line 9: | ||
Once you complete Part 1, **ensure you do a full reboot on your system before proceeding to Part 2**. | Once you complete Part 1, **ensure you do a full reboot on your system before proceeding to Part 2**. | ||
+ | ===== PART 1 - Installing Linux on Windows 10 ===== | ||
+ | |||
+ | Open PowerShell as administrator and type the following | ||
+ | |||
+ | **Enable‐WindowsOptionalFeature ‐Online ‐FeatureName Microsoft‐Windows‐Subsystem‐Linux ** | ||
+ | |||
+ | Reboot once prompted to do so | ||
+ | |||
+ | Next, | ||
+ | it will open in the Windows Store | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | Once downloaded, | ||
Line 19: | Line 33: | ||
Run the following commands from a "Bash Shell" one at a time: | Run the following commands from a "Bash Shell" one at a time: | ||
- | **sudo apt-get update** | + | **sudo apt‐get update && |
(//Run this straight after build and it will pull down any updates)// **then reboot again**. | (//Run this straight after build and it will pull down any updates)// **then reboot again**. | ||
Line 25: | Line 39: | ||
* sudo apt-get **install build-essential** | * sudo apt-get **install build-essential** | ||
- | * sudo apt-get **install | + | * sudo apt-get **install |
* sudo apt-get **install bspatch** | * sudo apt-get **install bspatch** | ||
* sudo apt-get **install default-jre** | * sudo apt-get **install default-jre** | ||
* sudo apt-get **install webp** | * sudo apt-get **install webp** | ||
* sudo apt-get **install imagemagick** | * sudo apt-get **install imagemagick** | ||
+ | * sudo apt-get **install dialog** | ||
+ | * sudo apt-get **install python** | ||
+ | * sudo apt-get **install xmlstartlet** | ||
+ | |||
+ | Or, you can just run this | ||
+ | |||
+ | **sudo apt‐get install build‐essential dos2unix bspatch default‐jre webp imagemagick dialog python | ||
+ | xmlstarlet ** | ||
You probably know that **Sudo** is just escalating permissions to admin level. | You probably know that **Sudo** is just escalating permissions to admin level. | ||
Line 40: | Line 62: | ||
so I end up with **C: | so I end up with **C: | ||
+ | |||
+ | **NOTE: Capitalisation is extremely important in linux, so match the upper and/or lower case letters in the commands and directory/ | ||
+ | ** | ||
In WSL you access your C: drive with the following command, and in particular the Mod directory: | In WSL you access your C: drive with the following command, and in particular the Mod directory: | ||
- | Cd / | + | cd / |
- | List the contents by issues | + | List the contents by issuing |
To make sure the file “RunMe.sh” is executable, run “**chmod 755 RunMe.sh**” | To make sure the file “RunMe.sh” is executable, run “**chmod 755 RunMe.sh**” | ||
Line 51: | Line 76: | ||
**Other useful commands:** | **Other useful commands:** | ||
- | * cd ~ Returns you to root level | + | * cd ~ Returns you to your home directory |
* cd .. Drops you back one directory at a time | * cd .. Drops you back one directory at a time | ||
- | * Help Usual screen full of useful information | + | * help Usual screen full of useful information |
- | * Exit Shuts down box and gives you back Windows | + | * exit Shuts down box and gives you back Windows |
* mkdir make dir | * mkdir make dir | ||
* rmdir remove dir | * rmdir remove dir |