> For the complete documentation index, see [llms.txt](https://docs.mc-host24.de/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mc-host24.de/docs/rootserver/fivem-server-installation-linux.md).

# FiveM Server auf Ubuntu installieren

In dieser Anleitung könnt ihr lesen, wie ihr euren eigenen FiveM Server auf einem Root-Server installieren könnt.

### Artefakt herunterladen

1. Erstelle dir einen Ordner auf deinem Rootserver mit dem Befehl `mkdir`

```bash
mkdir /home/...
```

2. Navigiere mit dem `cd` Befehl in deinen gerade erstellten Ordner

```bash
cd /home/...
```

3. Gehe auf die [Artifact](https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/) Seite von FiveM und suche dir eine passende Version aus (Wir empfehlen Recommended)
4. Gehe mit Rechtsklick auf die ausgewählte Version und kopiere die Adresse des Links ![FiveM Artefakt](/files/k581KMzJgQJH8ELu7o8j). Diese sollte folgendes Format haben: `https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/.../fx.tar.xz`
5. Lade das Artefakt von der FiveM-Seite auf deinen Server mit dem `wget` Befehl herunter

```bash
wget https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/.../fx.tar.xz
```

### Artefakt entpacken

1. Installiere die `xz-utils`-Bibliothek, um die Datei zu entpacken

```bash
sudo apt install xz-utils
```

2. Extrahiere die verpackte Artefakt-Datei mit dem `tar xz` Befehl

```bash
tar xf fx.tar.xz
```

### Server starten

1. Gib dem **fxServer** bei Bedarf mit dem `chmod` Befehl alle Rechte

```bash
chmod 777 run.sh
```

2. Starte den FiveM Server mit dem `./run.sh` Befehl.
3. Richte den FiveM Server das erste mal ein. Siehe hierfür folgende [Seite](/docs/rootserver/fivem-server-setup.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mc-host24.de/docs/rootserver/fivem-server-installation-linux.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
