This commit is contained in:
sam-astro 2022-05-23 15:24:38 -04:00
commit d9af3705ad

View File

@ -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: