Ask coding questions

← Back to all posts
Is it even possible to get a FULL UBUNTU VIRTUAL MACHINE on replit.com?
VenomousSteam81 (1)

I mean it has root access, apt, game capability, it can save your stuff even if you close the tab, that kinda stuff. Is that possible?

Comments
hotnewtop
Coder100 (16879)

No, you can't get root access! That's insecure!

Also replit already is a VM. It is a VM where you can't access root. You can do basically whatever you want on a normal computer.

Here are some things though:

  • install-pkg instead of apt
  • All your files are saved and 'root' is actually a folder in the real root called your repl name.
TestOP (13)

Well apt does work you can try it, apt install. But you will get a error. So I’m. It quite sure, and the question on keeping it on while you close the tab. It would just be way too expensive for the machine and the other reasons to keep the machine on, but you could just leave the tab open...

SixBeeps (5047)

Not at the moment. Things like that propose security risks, and Replit wasn't really made for that kind of thing. Something like that could become possible in the future, but for now, I don't think it's possible.