Sorry, I missread your post. I was thinking you wanted to build a dedicated server for linux and not build it ON linux.
Basicly (not done yet), you should retrieve the source from github and compile the source code with the DedicatedServer configuration. I’m not a linux guy so I won’t be able to tell you how exactly but in Windows, we must build from the GithubSource to have the “Dedicated Server build configuration” so it must be the same in Linux.
This configuration will set a lot a preprocessor to get a “light executable” with no editor stuff.
Hope it helps,
Have you been able to build the eidtor itself on linux just to validate your configuration & your prerequisites?
more, there are some Linux post in the forum section: https://forums.unrealengine.com/forumdisplay.php?29-Engine-Source-amp-GitHub
you should go there and I think, you may also get a better visibility for your question in this part of the forum as it’s “just linked” to an engine source compilation on linux and not C++ gameplay programming or C++ native issue.