mirror of
https://github.com/BeamMP/Docs.git
synced 2026-05-19 16:20:28 +00:00
Merge pull request #254 from BeamMP/linux-updates
Linux launcher guide updates
This commit is contained in:
@@ -32,7 +32,7 @@ However, both Linux and MacOS are secondary platforms, this means bugs are to be
|
|||||||
Currently you need to build the Launcher yourself.
|
Currently you need to build the Launcher yourself.
|
||||||
In order to do this, you need a basic understanding of how to build an application.
|
In order to do this, you need a basic understanding of how to build an application.
|
||||||
|
|
||||||
Make sure you have [`vcpkg` installed](https://learn.microsoft.com/en-us/vcpkg/get_started/get-started?pivots=shell-bash#1---set-up-vcpkg), as well as basic development tools, often found in packages, for example:
|
Make sure you have basic development tools installed, often found in packages, for example:
|
||||||
|
|
||||||
- Debian: `sudo apt install build-essential`
|
- Debian: `sudo apt install build-essential`
|
||||||
- Fedora: `sudo dnf install cmake gcc-c++ perl-IPC-Cmd perl-FindBin perl-File-Compare perl-File-Copy`
|
- Fedora: `sudo dnf install cmake gcc-c++ perl-IPC-Cmd perl-FindBin perl-File-Compare perl-File-Copy`
|
||||||
@@ -40,11 +40,31 @@ Make sure you have [`vcpkg` installed](https://learn.microsoft.com/en-us/vcpkg/g
|
|||||||
- openSUSE: `zypper in -t pattern devel-basis`
|
- openSUSE: `zypper in -t pattern devel-basis`
|
||||||
- SteamOS (Arch): `sudo pacman -S base-devel linux-api-headers glibc libconfig` (You also need to do `sudo steamos-readonly disable` but make sure to enable it again after installing the packages)
|
- SteamOS (Arch): `sudo pacman -S base-devel linux-api-headers glibc libconfig` (You also need to do `sudo steamos-readonly disable` but make sure to enable it again after installing the packages)
|
||||||
|
|
||||||
|
|
||||||
|
Clone `vcpkg`, bootstrap it and add it to PATH
|
||||||
|
|
||||||
|
1.
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/microsoft/vcpkg.git
|
||||||
|
```
|
||||||
|
|
||||||
|
2.
|
||||||
|
```bash
|
||||||
|
./vcpkg/bootstrap-vcpkg.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
3.
|
||||||
|
```bash
|
||||||
|
export VCPKG_ROOT="$(pwd)/vcpkg"
|
||||||
|
export PATH=$VCPKG_ROOT:$PATH
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
Clone the BeamMP-Launcher Repository to your system using `git`, for example:
|
Clone the BeamMP-Launcher Repository to your system using `git`, for example:
|
||||||
`git clone https://github.com/BeamMP/BeamMP-Launcher.git`
|
`git clone https://github.com/BeamMP/BeamMP-Launcher.git`
|
||||||
[Additional information about cloning a GitHub Repo](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository)
|
[Additional information about cloning a GitHub Repo](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository)
|
||||||
|
|
||||||
Checkout the tag that was used for the [latest release](https://github.com/BeamMP/BeamMP-Launcher/releases/latest). For example, if `v2.3.2` is used in the latest release, then do `git checkout v2.3.2`
|
Checkout the tag that was used for the [latest release](https://github.com/BeamMP/BeamMP-Launcher/releases/latest). For example, if `v2.6.4` is used in the latest release, then do `git checkout v2.6.4`
|
||||||
|
|
||||||
In the root directory of the project,
|
In the root directory of the project,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user