Installing Mono on VPS

I am trying to install mono on my VPS here at dreamhost. Is this even a possibility?

I am kind of a noob at this stuff, but I am pretty competent. I want to host a game server over the VPS but it requires using the mono command. It is a game I created and the devs of the game engine say I need to use the mono command on this VPS.

According to mono, I need to run the following to install it:

sudo apt install apt-transport-https dirmngr gnupg ca-certificates
sudo apt-key adv --keyserver hkp:// --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo “deb stable-buster main” | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update

but I can’t seem to figure out how to use the sudo command. It tells me that I am not a sudo user. But I cannot add myself as a sudo user because I can’t get root access…

Is there something I am missing? --or am I way off with the whole thing?

DH’s VPS hosting (like Shared hosting) is a “managed service” (i.e. DH manages the LAMP software stack), so only DH support has root access. There might be a way to install Mono as a regular user, but that would require research.

DH (and other places) have unmanaged hosting plans, where you have full root access.

Thank for the reply. So, do you think DH Support would be willing to do the install if I provide them with the above code? If so, that would be a-w-e-s-o-m-e

You could certainly ask, but I suspect not. For example, for other language-systems like Node.js, one has to follow the DIY instructions, which don’t require root access.

Yup, they denied my request. Seems pretty lame. Guess I will use other hosting company for the game.

Dreamcompute is confusing …

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.