i am trying to make a minecraft server for php, but glitch keeps giving me errors when using apt/sudo, can someone tell me why?
i am using pterodactyl.io cli
i am trying to make a minecraft server for php, but glitch keeps giving me errors when using apt/sudo, can someone tell me why?
i am using pterodactyl.io cli
Hi @Jonyk56 – Glitch doesn’t allow users to run apt
or sudo
(I believe because of other processes that need to run in the background and could be interfered with.) There’s an explanation of it from a Glitch engineer here:
But I have seen some workarounds mentioned (in python, not in php, but there might be cross-language applications)? This might be pertinent to your question:
ok! thank you for your help!
In a fashion you should already have packages like PHP installed, you can install apt packages through the ‘notroot’ method