From 5f95476a0c6bf4b6b2a0cf3259d91b0d93443116 Mon Sep 17 00:00:00 2001 From: Jarl Friis Date: Sat, 13 Nov 2021 14:26:11 +0100 Subject: [PATCH] Improve build instructions --- doc/How to build - Linux et al.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/doc/How to build - Linux et al.md b/doc/How to build - Linux et al.md index 9d193aef7..d0e3056f2 100644 --- a/doc/How to build - Linux et al.md +++ b/doc/How to build - Linux et al.md @@ -13,9 +13,21 @@ This guide describes building PrusaSlicer statically against dependencies pulled #### 0. Prerequisities -CMake, GNU build tools, git and m4 macro processor have to be installed. Unless that's already the case, install them as usual from your distribution packages. E.g. on Ubuntu, run `sudo apt-get install cmake build-essential git m4`. The names of the packages may be different on different distros. +GNU build tools, CMake, git and other libraries have to be installed on the build machine. +Unless that's already the case, install them as usual from your distribution packages. +E.g. on Ubuntu 20.10, run +```shell +sudo apt-get install -y \ +git \ +build-essential \ +autoconf \ +cmake \ +libglu1-mesa-dev \ +libgtk-3-dev \ +libdbus-1-dev \ -Although most of dependencies are handled by the build script, PrusaSlicer still expects that some libraries will be available in the system (GTK, MESA, gettext). E.g., on Ubuntu, install the required packages by running `sudo apt-get install libgtk-3-dev libglu1-mesa-dev gettext`. The names of the packages may be different on different distros. +``` +The names of the packages may be different on different distros. #### 1. Cloning the repository