Build instructions
This document describes how to build Universal Media Server from the source files.
Important note: Prebuilt Universal Media Server releases can be downloaded from: http://www.universalmediaserver.com/ so you DO NOT need to run these steps as a general user.
The following software packages are required:
- The Java JDK 17 (the JRE is not enough)
- Git
- Maven
- MediaInfo
Read the Full instructions section for a complete explanation of how to install all required software and how to build UMS for each operating system.
Short instructions
If all required software packages are installed, the following commands will download the latest sources and build UMS:
git clone https://github.com/UniversalMediaServer/UniversalMediaServer.git
cd universalmediaserver
mvn package -P PACKAGENAME
Where PACKAGENAME is the name of the target operating system: windows, macos, macos-arm, macos-pre1015 or linux-*, where * is the architecture; one of: x86, x86_64, arm64, armel, or armhf
The result will be built in the "target" directory:
- Windows:
UMS-setup.exe - Linux:
UMS-linux-generic-x.xx.x.tar.gz - macOS:
UMS-setup-macosx-x.xx.x.tar.gz
Full instructions
First all required software has to be installed:
1. Download and install the Java JDK 17
See https://bell-sw.com/pages/downloads/#/java-17-lts