Update Ubuntu build instructions

This commit is contained in:
Robert
2021-01-01 19:39:51 +01:00
committed by GitHub
parent 152f8e14b7
commit a890874537

View File

@@ -94,12 +94,19 @@ macOS: If you want to make an .app bundle you can run from the Finder, compile t
XCode (on macOS, from the Terminal) to target macOS
./build-debug
## To compile DOSBox-X in Ubuntu (added by kapper1224):
## To compile DOSBox-X in Ubuntu (tested with 20.10):
sudo apt install automake libncurses-dev nasm libsdl-net1.2-dev libpcap-dev libfluidsynth-devffmpeg libavdevice58 libavformat-* libswscale-* libavcodec-*
./build
First install the development tools, headers and libraries needed
sudo apt install automake gcc make libncurses-dev nasm libsdl-net1.2-dev libsdl2-net-dev libpcap-dev fluidsynth libfluidsynth-dev libavdevice58 libavformat-* libswscale-dev libavcodec-* libfreetype-dev libxkbfile-dev libxrandr-dev
Then change to the directory where you unpacked the DOSBox-X source code, and run the following commands:
./build-debug
sudo make install
Alternatively you can also compile the SDL2 version by running the ./build-debug-sdl2 script.
## To compile DOSBox-X in Fedora Workstation:
First install the development tools, headers and libraries needed