Adjust openSUSE installation guide

* The pawncc packages for openSUSE were moved to a separate project on the Open Build Service. The link points now to the correct location.
* Added an instruction for installing multiple pawncc compiler versions on openSUSE
This commit is contained in:
Manuel Schnitzer 2018-12-14 05:20:00 +01:00 committed by Manuel Schnitzer
parent 453bf60cab
commit 7f19d820df
No known key found for this signature in database
GPG Key ID: 8753CB67DEFDC709

View File

@ -62,20 +62,22 @@ Download the ZIP archive and extract `pawnc.dll`, `pawncc.exe`,
`pawndisasmsm.exe` to your original `pawncc` directory. If you use Pawno, this
will be in the `pawno/` folder that's inside your server directory.
### openSUSE/SLES
### openSUSE
There is an installation package available for openSUSE/SLES users so that you
can easily install the compiler on your distribution. Please follow these steps:
There is an installation package available for openSUSE users so that you
can easily install the latest compiler on your distribution. Please follow these steps:
1. Go to <https://build.opensuse.org/package/show/home:mschnitzer/pawncc>
1. Go to <https://build.opensuse.org/package/show/home:mschnitzer:pawncc/pawncc>
2. On the right side, select your distribution (only if it's not disabled!)
3. Click "Go to download repository"
4. Copy the link and enter in sudo mode in your shell:
`zypper ar $COPIED_LINK home:mschnitzer`
`zypper ar $COPIED_LINK home:mschnitzer:pawncc`
5. Again as root, type: `zypper ref`
6. Install the package with `zypper in pawncc`
7. Run `pawncc` in your shell to test if it's working
The download repository for openSUSE does provide older versions as well (oldest version: 3.10.7). Just install the version you like (e.g.: `zypper in pawncc-3.10.8` and run it via `$ pawncc-3.10.8 -Z -O3 [...]`). Parallel installation is supported.
### With sampctl
If you are a [sampctl][sampctl] user, you are already using this compiler!