Ask Your Question
1

run sage from windows 10 ubuntu

asked 2017-10-11 19:28:05 -0500

cybervigilante gravatar image

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.

edit retag flag offensive close merge delete

Comments

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.

dan_fulea gravatar imagedan_fulea ( 2017-10-11 21:12:50 -0500 )edit

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.

cybervigilante gravatar imagecybervigilante ( 2017-10-11 21:18:35 -0500 )edit

Once again. So the following details are right or wrong? (Just to see from my perspective the things.)

  • The operating system is Windows 10?
  • Ubuntu has nothing to do with the problem? It is not installed as virtual operating system inside Windows 10.
  • cmd is cmd.exe, it gives acces to the windows command line?
  • "inside cmd" one can type bash stepping in? This means, that typing in the cmd-window 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.)
  • For the blue on black issue: Does e.g. mobaxterm a better job?
  • What is "the new win default"?
dan_fulea gravatar imagedan_fulea ( 2017-10-12 12:56:46 -0500 )edit

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.

cybervigilante gravatar imagecybervigilante ( 2017-10-12 14:11:22 -0500 )edit

where bash just gives C:\Windows\System32\bash.exe and no file locations.

cybervigilante gravatar imagecybervigilante ( 2017-10-12 14:14:06 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-10-13 01:06:09 -0500

cybervigilante gravatar image

Got it working. cd /usr/bin then run sage. It showed up after a second install.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2017-10-11 19:28:05 -0500

Seen: 49 times

Last updated: Oct 13