run sage from windows 10 ubuntu
I typed bash in win 10 cmd. It installed ubuntu. Then I installed Sage. But when I type Sage into bash it can't find it. Where is it or how do I run it? Last time I did this by hand and it simply ran with "Sage" But windows lost my pw and I'm starting over.
It is hard to understand the dependencies between Win, ubuntu (install), bash, sage, pw, cmd. Moreover, some people like me always feel lost in win. (Since there is no "which bash".) Abbreviations and keyword hints do not help a potential helper. Which is the question again?
Here is a possible solution:
Install ubuntu on oa 5GB partition of the same machine. Then sage inside ubuntu. There is now a user password, sage is always there where
which sage
mentions it.Windows already installed bash automatically when I typed bash in the cmd prompt. I need to see how to find sage from the bash prompt (which, btw types directories in blue on black, nearly impossible to read). I tried /usr/bin and /usr/sbin but no luck. I had no problem when I installed ubuntu on win 10 a while back, the hard way, but the new win default is lacking.
Once again. So the following details are right or wrong? (Just to see from my perspective the things.)
WHERE bash
gives the location of that bash. Which is the location? How was it installed? Is this a cygwin-like emulator? Is there a description of "install sage" that goes through "install bash"? Which is the link?WHERE sage
finds it? (Inside cmd.)Windows now just installs ubuntu if you type bash in the dos shell. Windows performs real time translation of Linux syscalls into Windows OS syscalls and it is nearly as fast as native Ubuntu. It doesn' t show up on C drive, though. But it's unclear where they put installed programs like the Sage I just installed. It didn't go on the path as it did when I manually installed ubuntu, and I can't seem to locate it. I checked /usr/bin and /usr/sbin and tried searching for "sage" but no luck.
where bash just gives C:\Windows\System32\bash.exe and no file locations.