From 9160c6075e98e86f2a65ebf5d09e96332ef61f56 Mon Sep 17 00:00:00 2001 From: James Sherratt Date: Tue, 9 Apr 2019 00:28:27 +0100 Subject: [PATCH] Added linux install info. --- README.md | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b479d4dde..77da9e512 100644 --- a/README.md +++ b/README.md @@ -24,26 +24,43 @@ Additionally, if you want to contribute with the code on Windows, [please follow these instructions](https://github.com/Glest/glest-source/blob/master/mk/windows/README.md). -For other operating systems, you must [**build and install from -source**](https://github.com/Glest/glest-source/blob/master/BUILD.md) -(Later, we'll be providing binary packages). +## Downloads for linux + +Glest can be installed using [Snapcraft](https://snapcraft.io/) or [Flatpak](https://flatpak.org/): + +1. (Recommended) Install Glest using Snapcraft: + + snap install --devmode --edge glest + + Fix for a bug currently in Glest: + + mkdir ~/snap/glest/1/.glest/ + + Run Glest: + + glest + +2. Install using Flatpak: https://github.com/glest/io.glest.Glest ## Quick Build Guide for Linux -For Linux there are three options: +If you can't use Snap or flatpak, you can build Glest from source. -1. (Recommended) Using a Flatpak: https://github.com/glest/io.glest.Glest - -2. Using the build script: +Using the build script: git clone https://github.com/Glest/glest-source.git glest; sudo glest/mk/linux/setup.sh - Then run the following command to start the game: +Then run the following command to start the game: glest/mk/linux/build/glest 3. Building manually using CMake: https://github.com/glest/glest-source/blob/master/BUILD.md + +For other operating systems, you must [**build and install from +source**](https://github.com/Glest/glest-source/blob/master/BUILD.md) +(Later, we'll be providing binary packages). + ## Links * **[Screenshots](https://github.com/Glest/screenshots)**