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 lol
No description
76 Replies
ἔρως
ἔρως8mo ago
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 machine
althepal78
althepal78OP8mo ago
yes it says it can not find the command yeah I did that not working in vs code
ἔρως
ἔρως8mo ago
show me
althepal78
althepal78OP8mo ago
No description
althepal78
althepal78OP8mo ago
I redid the code ./ and it deleted and then did this again in the new code lol
ἔρως
ἔρως8mo ago
again, you are running the command in linux run it on the windows console unless you're running linux as your host os
althepal78
althepal78OP8mo ago
I am trying to get linux to work not my computer and vs code lol
ἔρως
ἔρως8mo ago
well, linux is working bash is one of the linux shells you can use
althepal78
althepal78OP8mo ago
yes I am trying to use wsl though lol
ἔρως
ἔρως8mo ago
well, then run the command on the windows machine not in the linux machine
althepal78
althepal78OP8mo ago
?
ἔρως
ἔρως8mo ago
wsl > windows tool
althepal78
althepal78OP8mo ago
yes I know
ἔρως
ἔρως8mo ago
bash > linux tool
althepal78
althepal78OP8mo ago
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
ἔρως
ἔρως8mo ago
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
althepal78
althepal78OP8mo ago
okay thanks
ἔρως
ἔρως8mo ago
how did you install that linux?
althepal78
althepal78OP8mo ago
what you mean I got it from the store
ἔρως
ἔρως8mo ago
that uses wsl and it is automatically updated for you ... somehow
althepal78
althepal78OP8mo ago
it is called AlmaLinux-8 wsl
ἔρως
ἔρως8mo ago
and it uses wsl to run, you dont need to do anything else
althepal78
althepal78OP8mo ago
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
ἔρως
ἔρως8mo ago
then what isnt working properly? how isnt it working properly?
althepal78
althepal78OP8mo ago
wsl is not working properly it can't find it
ἔρως
ἔρως8mo ago
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
althepal78
althepal78OP8mo ago
I am on a windows 11 computer I don't have more than one machine
ἔρως
ἔρως8mo ago
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
althepal78
althepal78OP8mo ago
no I am running it on terminal
ἔρως
ἔρως8mo ago
in vscode
althepal78
althepal78OP8mo ago
no Terminal the application, I also ran it on git bash but same issue
althepal78
althepal78OP8mo ago
that is terminal
No description
ἔρως
ἔρως8mo ago
can you run it on the windows terminal and send a screenshot of it?
althepal78
althepal78OP8mo ago
No description
althepal78
althepal78OP8mo ago
you want me to run what? wsl
ἔρως
ἔρως8mo ago
i want you to take a screenshot of the entire terminal app and send it here, please
althepal78
althepal78OP8mo ago
No description
ἔρως
ἔρως8mo ago
you see the pengium on the tab, at the top? penguim
althepal78
althepal78OP8mo ago
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
ἔρως
ἔρως8mo ago
just answer my question we will get there
althepal78
althepal78OP8mo ago
yes
ἔρως
ἔρως8mo ago
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
althepal78
althepal78OP8mo ago
it works there
ἔρως
ἔρως8mo ago
because you are running it on windows
althepal78
althepal78OP8mo ago
No description
ἔρως
ἔρως8mo ago
before, you were running it in alma linux
althepal78
althepal78OP8mo ago
I have ptsd and this linux shit is annoying me LMAO
ἔρως
ἔρως8mo ago
you dont need to connect over ssh to use wsl if you want to install other distros, you have to list them
althepal78
althepal78OP8mo ago
I don't want any other distro
ἔρως
ἔρως8mo ago
then what do you need?
althepal78
althepal78OP8mo ago
I am just trying to connect to my a2hosting site
ἔρως
ἔρως8mo ago
oh that is something different
althepal78
althepal78OP8mo ago
I needed to get ssh and everything but nothing works without wsl working properly this is an issue with wsl
ἔρως
ἔρως8mo ago
i dont know if a2hosting even gives ssh access to the servers
althepal78
althepal78OP8mo ago
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
althepal78
althepal78OP8mo ago
No description
althepal78
althepal78OP8mo ago
then I try to install ssh on my terminal and it wont work because it is not working properly
ἔρως
ἔρως8mo ago
vscode can connect to ssh directly you dont need wsl
althepal78
althepal78OP8mo ago
It did not work in the terminal of vs code either I tried
ἔρως
ἔρως8mo ago
not the terminal the remote connect functionality
althepal78
althepal78OP8mo ago
I don't know about that
ἔρως
ἔρως8mo ago
but if windows cant access it, then you need to check that the details are all correct
althepal78
althepal78OP8mo ago
I need to be able to use this command
ssh -p 7822 myusername@0.0.0.0 // obviously not the correct url lol
ssh -p 7822 myusername@0.0.0.0 // obviously not the correct url lol
ἔρως
ἔρως8mo ago
you can do that in powershell which you did here
althepal78
althepal78OP8mo ago
it refuses to allow me to connect
ἔρως
ἔρως8mo ago
thats not a wsl or windows issur issue can you check the ip and username?
althepal78
althepal78OP8mo ago
I did lol well I got it to work with alma finally lol now time to figure out the refuse part lol
ἔρως
ἔρως8mo ago
refuse part?
althepal78
althepal78OP8mo ago
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
ἔρως
ἔρως8mo ago
this?
althepal78
althepal78OP8mo ago
not even allowing me to type my pw
ἔρως
ἔρως8mo ago
well, you have to get in the a2hosting and double check the ip and username too
althepal78
althepal78OP8mo ago
yeah it won't let me add a pw it refuses before that part I am logged into a2 hosting
ἔρως
ἔρως8mo ago
if you have the correct ip and username, then you have to contact a2hosting support
althepal78
althepal78OP8mo ago
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
ἔρως
ἔρως8mo ago
that is normal their docs explained that, but didnt talk about the certificate
Want results from more Discord servers?
Add your server