- wsl_install_script.ps1 --> Script to install WSL2 and fonts.
- install_script.sh --> Script to install the essentials tools in a wsl2 ubuntu machine.
- Copy the wsl_script.ps1 in your desktop directory.
- Execute the script with powershell.
- The script will be executed with admin privileges.
- Select your choice.
- Permission denied.
Description: The powershell script window is closed after be opened.
Solution:
Execute the next command as administrator:
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
Undo solution:
Execute the next command as administrator:
Set-ExecutionPolicy -ExecutionPolicy Undefined
- Copy the install_script.sh in your home directory.
- Run the following command to allow the execution of the script.
chmod u+x install_script.sh
- Run the script with the following command.
./install_script.sh
- Select your choice (The first one install every other one).
- apt_pkg error.
Description: Executing an unknown command in the terminal gives an apt_pkg error. This bug not happens if python3.7 is not set as default
Solution: Execute the penultimate option of the script "Fix APT PKG".