bash wsl command not found
I been everywhere, I can't find a solution. I don't know what to do about this bs ,
I litterally was on almalinux-8 wsl and installed wsl
sudo dnf install wsl
, and it is saying the same thing. I been at this for 2 days wth is this lol76 Replies
wsl is a windows tool
unless there is some random linux tool with the same name
if you want to run
wsl -l
, you need to do it from the host machineyes
it says it can not find the command
yeah I did that
not working in vs code
show me
I redid the code ./ and it deleted and then did this again in the new code lol
again, you are running the command in linux
run it on the windows console
unless you're running linux as your host os
I am trying to get linux to work not my computer and vs code lol
well, linux is working
bash is one of the linux shells you can use
yes I am trying to use wsl though lol
well, then run the command on the windows machine
not in the linux machine
?
wsl > windows tool
yes I know
bash > linux tool
I am trying to get some stuff to work so I can get into a place
using linux but it does not work with linux i am on a windows machine I can't use the commands on terminal or cmd or ps
dude, listen to me
the terminal in vscode is connected to a linux machine
if you want to run linux on wsl, you need to run it from the windows console
okay thanks
how did you install that linux?
what you mean I got it from the store
that uses wsl
and it is automatically updated for you ... somehow
it is called AlmaLinux-8 wsl
and it uses wsl to run, you dont need to do anything else
I don't know how to explain to you what I actually need, it is not working properly that is all I know. I looked for fixes and most of them are 5 years old and for unbutu or some other kernal
then what isnt working properly?
how isnt it working properly?
wsl is not working properly
it can't find it
the fact that you have the terminal connected to almalinux shows that it is working properly
because you are running the commands in the wrong machine
I am on a windows 11 computer I don't have more than one machine
you are running it in the terminal inside vscode, which is connected to almalinux
you have to run it on the windows terminal, which is in the start menu
no
I am running it on terminal
in vscode
no Terminal the application, I also ran it on git bash but same issue
that is terminal
can you run it on the windows terminal and send a screenshot of it?
you want me to run what?
wsl
i want you to take a screenshot of the entire terminal app
and send it here, please
you see the pengium on the tab, at the top?
penguim
wsl is working but in order to download other packages I need it to work with alma linux properly
the fact it can't find it is the issue
just answer my question
we will get there
yes
that means you are in wsl
you see the tab on the left? thats powershell, on windows
go to that tab, and then run the wsl -l command there
it works there
because you are running it on windows
before, you were running it in alma linux
I have ptsd and this linux shit is annoying me LMAO
you dont need to connect over ssh to use wsl
if you want to install other distros, you have to list them
I don't want any other distro
then what do you need?
I am just trying to connect to my a2hosting site
oh
that is something different
I needed to get ssh and everything but nothing works without wsl working properly this is an issue with wsl
i dont know if a2hosting even gives ssh access to the servers
I put it on there and I need alma linux terminal to work properly so I can re-configure and give my friend back their domain name because I am not renewing with this shit fuKKK linux lol
then I try to install ssh on my terminal and it wont work because it is not working properly
vscode can connect to ssh directly
you dont need wsl
It did not work in the terminal of vs code either
I tried
not the terminal
the remote connect functionality
I don't know about that
but if windows cant access it, then you need to check that the details are all correct
I need to be able to use this command
you can do that in powershell
which you did here
it refuses to allow me to connect
thats not a wsl or windows issur
issue
can you check the ip and username?
I did lol
well I got it to work with alma finally lol now time to figure out the refuse part lol
refuse part?
yes I have to see why it is refusing I have no clue I have not done any of this since last year I have no clue
this?
not even allowing me to type my pw
well, you have to get in the a2hosting and double check the ip
and username too
yeah it won't let me add a pw it refuses before that part I am logged into a2 hosting
if you have the correct ip and username, then you have to contact a2hosting support
I am finally in I had to create a file so shit could work for ssh then I had to add a new cert shit is crazy lol
ssh key not cert
that is normal
their docs explained that, but didnt talk about the certificate