User Tools

Site Tools


howto:windows_subsystem_for_linux_wsl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 07:23]
jezzab
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, if you’re on build 1625 or later, you can just use the link below to get the installer for Ubuntu, 
 +it will open in the Windows Store 
 +
 +[[https://www.microsoft.com/store/p/ubuntu/9nblggh4msv6|Windows Store Ubuntu Link]]  
 +
 +Once downloaded, you can click the Launch button in the store, you should now also add this your desktop/start menu/taskbar for easy access
  
  
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 && sudo apt‐get upgrade **
 (//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 30: Line 44:
   * 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 41: Line 63:
 so I end up with **C:\Deejayeye-modder** so I end up with **C:\Deejayeye-modder**
  
-NOTE: Capitalisation is extremely important in linux, so match the upper and/or lower case letters in the commands and directory/filenames.+**NOTE: Capitalisation is extremely important in linux, so match the upper and/or lower case letters in the commands and directory/filenames. 
 +**
  
 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:
Line 47: Line 70:
    cd /mnt/c/deejayeye-modder    cd /mnt/c/deejayeye-modder
        
-List the contents by issues the command “**ls**”+List the contents by issuing the command “**ls**”
  
 To make sure the file “RunMe.sh” is executable, run  “**chmod 755 RunMe.sh**”  //(You won’t see anything)// To make sure the file “RunMe.sh” is executable, run  “**chmod 755 RunMe.sh**”  //(You won’t see anything)//
Line 53: 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
howto/windows_subsystem_for_linux_wsl.txt · Last modified: 2018/07/27 05:59 by d95gas