# Installing on Linux (GUI)

### Initial setup

First add the oxen.io apt repository to your system:

```
sudo curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg
echo "deb https://deb.oxen.io $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/oxen.list
```

Update your apt package list:

```
sudo apt update
```

Install the `lokinet-gui` package:

```
sudo apt install lokinet-gui
```

This will also install and start a background service called `lokinet.service` that can be controlled with the lokinet-gui application.

### Toggling Lokinet off and on

Simply jump into the lokinet-gui client and click the large green power button.

### Using Lokinet

Head over to [Exit nodes](/oxen-docs/products-built-on-oxen/lokinet/exit-nodes.md) or [Accessing SNApps](/oxen-docs/products-built-on-oxen/lokinet/snapps/accessing-snapps.md) for an overview of the exciting things you can do with Lokinet up and running!

See the troubleshooting guide [here](/oxen-docs/products-built-on-oxen/lokinet/guides/linux-troubleshooting.md) if you have issues.


---

# Agent Instructions: 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.oxen.io/oxen-docs/products-built-on-oxen/lokinet/guides/linux-gui-install-guide.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.
