# Run the Bots on Linux

![Use a cheaper Linux VPS](/files/AdqVX3oJxpFslBM2C4Jj)

### Why?

Linux VPS or cheaper than windows VPS, hence it is a good choice to use a Linux VPS for running bots 24/7. If you are new to see, watch one or two Youtube tutorials and you are good to go and you have a cheaper solution.&#x20;

### Requirements

1. wine&#x20;
2. optional: tmux

#### 1 Install wine to run windows applications on linux

#### 1.1 Check architecture:

\>>> lscpu

#### 1.2 a) Install wine from repository depending on architecture

\>>> sudo apt install wine64

or

\>>> sudo apt install wine32&#x20;

Check wine version:

\>>> wine --version

#### &#x20;1.2 b) Install wine from WineHQ repository

Add i386 architecture before installing 64-bit version:

\>>> sudo dpkg --add-architecture i386&#x20;

**WineHQ signing key:**

\>>> cd /tmp

\>>> wget -nc <https://dl.winehq.org/wine-builds/winehq.key>

\>>> sudo mv winehq.key /usr/share/keyrings/winehq-archive.k&#x20;

**Add WineHQ repository:**

\>>> wget -nc <https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources>

\>>> sudo mv winehq-jammy.sources /etc/apt/sources.list.d/&#x20;

**Update package list:**

\>>> apt update&#x20;

**Install wine:**

\>>> sudo apt install --install-recommends winehq-stable

**Check wine version:**

\>>> wine --version&#x20;

#### 1.3) Start and use the Bot you want

Start bot:

\>>> wine PumpBot.exe&#x20;

#### 2) Install tmux to run a Bot in background (e.g. Autotrader Bot, or Futures Bot)&#x20;

#### 2.1) Install tmux&#x20;

\>>> sudo apt-get install tmux&#x20;

#### 2.2) Start session

\>>> tmux new -s session\_name

#### 2.3) Start PumpBot in tmux

\>>> wine PumpBot.exe

#### 2.4) Detach tmux session

Press "CTRL+B" followed by "D"

#### 2.5) Attach tmux session

\>>> tmux attach -t session\_name

### For multiple instances create multiple sessions

Just create multiple sessions and you are able to run different Bots on the same Linux VPS


---

# 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.pump-bot.com/faq-questions-important-notes/run-the-bots-on-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.
