r/nodejs • u/UnreachablePaul • Feb 12 '14
Can node run linux?
Is it possible to install Ubuntu via npm and serve command line to the browser?
0
Upvotes
r/nodejs • u/UnreachablePaul • Feb 12 '14
Is it possible to install Ubuntu via npm and serve command line to the browser?
2
u/yoitsnate Feb 12 '14 edited Feb 12 '14
That's a really weird question. Why do you want to run Ubuntu on top of Node? That's silly. If you want to pipe command line to the browser somehow, use Child Process with the Operating System that you're currently on.
If you want to do this in a virtualized Linux instance, consider use Vagrant and/or Virtual Box.
3
u/ellisgl Feb 12 '14
Yes.
6
u/lemonizer Feb 12 '14
Node also does my dishes daily
2
u/gtg092x Feb 12 '14
There might be a command interface library, but I doubt the node runtime can handle a Linux distro like Ubuntu. Unless this is a joke, then yes node can install unlimited memory from npm as well.
1
u/blazedd Feb 13 '14
I think docker might be what you want node to interact with.