From 04e4125ae405326a7906b81a3c81b022f20ff694 Mon Sep 17 00:00:00 2001 From: sheep Date: Mon, 23 May 2022 12:13:11 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Add=20install=20instructions=20f?= =?UTF-8?q?or=20Arch-based=20systems?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Include the command and package name equivalent to the debian packages on arch linux --- README.md | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 262d63d..f90452e 100644 --- a/README.md +++ b/README.md @@ -20,16 +20,36 @@ Downloading or installing is very simple, here is how depending on your version > If you don't want to install ZSharp on your device, or you want easier acces to the executable and .DLLs, another version is provided called `ZS_Win_Base_Raw.zip`. This just contains all of the files the installer puts on your computer. ### Linux 1. Install requirements: - * You need the package ***libsdl2-dev***. For Debian based operating systems you can install it with + * You need the package ***libsdl2-dev***. + + For Debian based operating systems you can install it with ```$ sudo apt install libsdl2-dev``` - * You also need the package ***libsdl2-image-dev***. For Debian based operating systems you can install it with + + For Arch based operating systems you can install it with + + ```$ sudo pacman -S sdl2``` + + * You also need the package ***libsdl2-image-dev***. + + For Debian based operating systems you can install it with ```$ sudo apt install libsdl2-image-dev``` - * You also need the package ***libsdl2-ttf-dev***. For Debian based operating systems you can install it with + + For Arch based operating systems you can install it with + + ```$ sudo pacman -S sdl2_image``` + + * You also need the package ***libsdl2-ttf-dev***. + + For Debian based operating systems you can install it with ```$ sudo apt install libsdl2-ttf-dev``` + For Arch based operating systems you can install it with + + ```$ sudo pacman -S sdl2_ttf``` + 2. Navigate to [the most recent release](https://github.com/sam-astro/Z-Sharp/releases) and download `ZSharp-Linux.zip`. 3. Unzip `ZSharp-Linux.zip` and open the unzipped folder. 4. You will see some files. The Z# interpreter is `ZSharp`. Any time you want to execute a script, this is the program that will be used. You can use it like so: