1
Instalação e Atualização / [Resolvido] Ubuntu no Windows
« Online: 28 de Janeiro de 2021, 19:43 »
Boa noite.
Instalei o Ubuntu pela Microsoft Store.
Ao executá-lo, num terminal tenho o seguinte diálogo:
Depois disso, ao tentar executar o Ubuntu, continuo tendo a mesma mensagem de erro anteriormente mencionada:
Tentei o Kali Linux em seguida e tem o mesmo resultado.
Instalei o Ubuntu pela Microsoft Store.
Ao executá-lo, num terminal tenho o seguinte diálogo:
Citar
Installing, this may take a few minutes...A URL mencionada na última linha leva à página https://docs.microsoft.com/pt-br/windows/wsl/install-win10. Executei todos os comandos dessa página, até que, ao executar wsl --set-default-version 2, tive o erro abaixo:
WslRegisterDistribution failed with error: 0x8007019e
The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.
See https://aka.ms/wslinstall for details.
Press any key to continue...
Citar
[size=78%]wsl : O termo 'wsl' não é reconhecido como nome de cmdlet, função, arquivo de script ou programa operável. Verifique a[/size]
grafia do nome ou, se um caminho tiver sido incluído, veja se o caminho está correto e tente novamente.
No linha:1 caractere:1
+ wsl --set-default-version 2
+ ~~~
+ CategoryInfo : ObjectNotFound: (wsl:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> wsl --set-default-version 2
wsl : O termo 'wsl' não é reconhecido como nome de cmdlet, função, arquivo de script ou programa operável. Verifique a
grafia do nome ou, se um caminho tiver sido incluído, veja se o caminho está correto e tente novamente.
No linha:1 caractere:1
+ wsl --set-default-version 2
+ ~~~
+ CategoryInfo : ObjectNotFound: (wsl:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException [/size]
Depois disso, ao tentar executar o Ubuntu, continuo tendo a mesma mensagem de erro anteriormente mencionada:
Citar
Installing, this may take a few minutes...Será que alguém poderia me ensinar como sair desse embaraço para rodar o Ubuntu no Windows?
WslRegisterDistribution failed with error: 0x8007019e
The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.
See https://aka.ms/wslinstall for details.
Press any key to continue...
Tentei o Kali Linux em seguida e tem o mesmo resultado.