To build a dedicated server you need Source Code. https://variable63.wordpress.com/2019/09/27/how-to-build-unreal-4-4-23-0-from-source-code-and-server/
Install Toolchain to build Linux server. https://docs.unrealengine.com/en-US/Platforms/Linux/GettingStarted/index.html