---
title: "Install on Linux"
description: "Install Tato Studio as a .deb or an AppImage, which carries the runtime and runs it while it's open, or install the runtime alone with one command and run it yourself or under systemd."
type: "docs-page"
url: "https://tatolab.com/docs/install/linux"
site: "Tatolab"
section: "Install"
---

# Install on Linux

> Install Tato Studio as a .deb or an AppImage, which carries the runtime and runs it while it's open, or install the runtime alone with one command and run it yourself or under systemd.

On a Linux desktop, install **Tato Studio**: it carries the runtime and runs it while the app is open. On a machine nobody sits at, a server or a box by the door, install **the runtime alone** with one command, and run it yourself or under a service manager.

## Requirements

- **An x86_64 machine** (64-bit Intel or AMD). ARM Linux isn't supported.
- **A GPU with a Vulkan driver.** We test on NVIDIA's proprietary driver. AMD and Intel GPUs with Mesa's Vulkan drivers (`mesa-vulkan-drivers` on Debian and Ubuntu) should work, but we haven't validated them. Check yours with `vulkaninfo --summary`, from the `vulkan-tools` package. The runtime also carries Mesa's lavapipe, a CPU Vulkan driver, for a machine with no GPU driver.
- **For the app:** Ubuntu 22.04 or later, or Debian 12 or later. On GNOME, the tray item shows only with the AppIndicator extension, which Ubuntu ships.

The H.264 and H.265 nodes also need a GPU and driver with Vulkan Video encode and decode. The rest of Tato doesn't.

## Install Tato Studio

Download and install the latest app as a [`.deb`](https://tatolab.com/download/linux):

```sh
wget -O /tmp/tato-studio.deb https://tatolab.com/download/linux && sudo apt install /tmp/tato-studio.deb
```

or take it as an [AppImage](https://tatolab.com/download/appimage), which needs no installing:

```sh
wget -O ~/Tato-Studio.AppImage https://tatolab.com/download/appimage && chmod +x ~/Tato-Studio.AppImage
~/Tato-Studio.AppImage
```

Opening the app starts the runtime from the package and links `tatolab` into `~/.local/bin`, asking nothing. Closing the window leaves the app and the runtime in the tray; quitting the app stops the runtime and its streams. If a runtime is already running when the app opens, the app uses it as it is.

The AppImage updates itself in place. A `.deb` finds a newer version and opens its download, since apt alone replaces it.

## Or install the runtime alone

```sh
curl -fsSL https://get.tatolab.com/install.sh | sh
```

If you'd rather read the script before running it:

```sh
curl -fsSL https://get.tatolab.com/install.sh -o install.sh
less install.sh
sh install.sh
```

The script downloads the latest runtime from `get.tatolab.com`, checks it against its published SHA-256, unpacks it into a folder of its own under `~/.local/share/tatolab/`, points `~/.local/share/tatolab/current` at it, and links `tatolab` and `tatolabd` into `~/.local/bin`. You don't need root.

It starts nothing and registers no service. Start the runtime in a terminal of its own:

```sh
tatolabd
```

> **Tip: Command not found?**
>
> If your shell can't find `tatolab`, check that `~/.local/bin/tatolab` exists. If it does, `~/.local/bin` isn't on your `PATH`; the installer warns about this. Add it, then open a new terminal:
>
> ```sh
> echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
> ```
>
> Use `~/.zshrc` instead if your shell is zsh.

## Check that it works

```sh
tatolab streams
```

```txt title="Output"
No streams in this runtime.
```

You're ready for the [quickstart](https://tatolab.com/docs/quickstart). To watch a stream's output, open its project in Tato Studio, on this machine.

## Keep the runtime running as a service

To keep the runtime up on a machine nobody sits at, run it as a systemd user service. Save this as `~/.config/systemd/user/tatolabd.service`:

```ini title="~/.config/systemd/user/tatolabd.service"
[Unit]
Description=Tatolab runtime
After=graphical-session.target

[Service]
ExecStart=%h/.local/share/tatolab/current/bin/tatolabd
Restart=on-failure
# tatolabd stops its own Python processes on SIGTERM; the rest is killed only if it outlives it.
KillMode=mixed

[Install]
WantedBy=default.target
```

Then:

```sh
systemctl --user enable --now tatolabd
loginctl enable-linger $USER     # keep it running while you're logged out
```

The runtime opens every project it holds again each time it starts, playing or stopped as it was. Its log goes to the journal, `journalctl --user -u tatolabd`, as well as to its state folder. See [Deploy to a machine](https://tatolab.com/docs/run/deploy) for the rest.

## Update

Run the installer again. It installs the new build beside the old one, keeps the build before, and removes older ones. A runtime that's running keeps its build until it restarts: `systemctl --user restart tatolabd`, or stop and start `tatolabd`. When it starts, it opens your projects again; if a stream can't load under the new version, `tatolab streams` lists it as failed and says why.

`TATOLAB_INSTALL_VERSION=<version>` before `sh` installs that release instead of the newest.

## Uninstall

```sh
curl -fsSL https://get.tatolab.com/install.sh | sh -s -- --uninstall
```

That removes the installed files and links. It refuses while a runtime is running, so stop it first. Your projects, and the runtime's state folder, `~/.local/state/tatolab/`, with its record of your projects and its own log, stay. Remove a service file you wrote yourself.

The app uninstalls like any package: remove the `.deb`, or delete the AppImage. The AppImage links `tatolab` to a copy of its CLI in `~/.local/share/tato-studio/bin/`; delete that folder too.

## Troubleshooting

- **`no runtime is running on this machine`.** Open Tato Studio, or start `tatolabd`.
- **`another runtime holds this machine`.** A runtime is already running; the message names its user, process and executable. One runtime runs per machine.
- **`No usable Vulkan driver (ICD) was found`** or **`No Vulkan loader library could be opened`.** Install your GPU's Vulkan driver (NVIDIA's proprietary driver, or `mesa-vulkan-drivers` for AMD and Intel) and the loader (`libvulkan1`), then check that `vulkaninfo` runs.
- **`No display surface available`.** The runtime started outside your desktop session. Start it from a terminal inside the session.

More fixes are in [Troubleshooting](https://tatolab.com/docs/reference/troubleshooting).
