#๐Ÿ”’ How to get an ubuntu terminal onto my windows PC (for a course im taking)

42 messages ยท Page 1 of 1 (latest)

full lynx
#

I am trying to get a Ubuntu terminal onto my PC. Is it even possible?

placid kettleBOT
#

@full lynx

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

acoustic ridge
full lynx
#

what is that?

acoustic ridge
#

"How to install Linux on Windows with WSL". It's Windows Subsystem for Linux or WSL, you can literally have Ubuntu run on your Windows machine and do all the things it normally can. This even includes letting Linux apps run on Windows.

sharp pollen
#

WSL is the best way to run linux on windows

willow wigeon
#

Well, right behind erasing windows and running linux natively ๐Ÿ™‚

#

I had a Windows 10 PC for talking to our solar inverter. It was the cheapest such thing I could buy at the time, and wouldn't even install windows updates (whinging about disc, even with added storage).

full lynx
#

so i run: wsl --install -d <Distribution Name>

#

what to put for distribution name?

#

Linux?

#

Ubuntu?

sharp pollen
#

but then it wouldn't be "on windows" but rather "insted of windows", but sure, it would be an upgrade ๐Ÿ˜‰

full lynx
#

hyelp

willow wigeon
#

You want "Ubuntu".

full lynx
#

and i run it in windows powershell?

willow wigeon
#

I start WSL from the command start thingy by typing WSL and waiting for it to offer me WSL.

sharp pollen
#

powershell or cmd your choice

full lynx
#

this happened

full lynx
#

am i dumb

#

oh

#

ahh its working

willow wigeon
#

Often in command summaries you'll see <thing> meaning to put the proper name of thing there.

full lynx
#

thank you, yeah

sharp pollen
full lynx
#

what is the UNIX user supposed to be?

#

just something random?

willow wigeon
#

Yah. Pick a login name. Like yoni or whatever pleases you.

full lynx
#

oh thank u

#

OMG THANK YOU SO MUCH

#

i am forever in debt to this chat

#

but if i open a new window in my terminal, how do i get back to it?

#

like if i close it right now

acoustic ridge
#

Press the windows key and type in WSL. You can also run wsl from any terminal and it should open.

sharp pollen
#

after installing you can find it in the start menu

full lynx
#

thank you guys so much!

#

now i can continue on my goal of being hired at 14

placid kettleBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.