# Install on Linux

> Install Visor on Ubuntu 24.04+ or Fedora 40+ from an AppImage, .deb or .rpm, show its tray icon on GNOME, and let it reach a supervisord that runs as root.

Source: https://getvisor.dev/docs/install-linux/
Author: Touhidur Rahman (https://touhidurabir.github.io/)

Visor for Linux is built for Ubuntu 24.04 and later and Fedora 40 and later, on GNOME and KDE Plasma, on x86_64. Other distributions may work, but they aren’t tested. It needs supervisord 4.x.

## Pick a package

Each release has three Linux files, each with a `.sha256` checksum next to it. Pick the one for your system on the [download page](https://getvisor.dev/#download):

Linux packages:

| Button | File | Notes |
| --- | --- | --- |
| Ubuntu / Debian (.deb) | `visor_1.0.0_amd64.deb` | The one to pick on Ubuntu. It installs the AppArmor profile Visor needs. |
| Fedora (.rpm) | `visor-1.0.0-1.x86_64.rpm` | Fedora |
| Other distros (AppImage) | `Visor-1.0.0-x86_64.AppImage` | Any distribution. Nothing to install. |

## Install it

### Ubuntu and Debian

```sh
sudo apt install ./visor_1.0.0_amd64.deb
```

### Fedora

```sh
sudo dnf install ./visor-1.0.0-1.x86_64.rpm
```

### Other distros (AppImage)

Make it executable, then open it:

```sh
chmod +x Visor-1.0.0-x86_64.AppImage
./Visor-1.0.0-x86_64.AppImage
```

Keep the AppImage somewhere it can stay, such as `~/Applications`. Run from `/tmp`, Visor can’t open when you log in, and Doctor says so.

> **The AppImage on Ubuntu 23.10 and later**
>
> Ubuntu 23.10 and later only let a program use the sandbox Visor’s window needs when an AppArmor profile allows it. The `.deb` installs that profile for you. The AppImage can’t, so the first time it stops before its window opens and prints two `sudo` commands that add the profile. They’re also saved in `~/.config/Visor/apparmor-fix.txt`. Run them once, then open Visor again.

### Check the download

To check a file, run `sha256sum -c` on the `.sha256` file next to it, in the folder you downloaded to. For the `.deb`:

```sh
sha256sum -c visor_1.0.0_amd64.deb.sha256
```

It prints `OK` when the file is the one that was published.

## The tray icon on GNOME

GNOME shows tray icons only with the AppIndicator extension. Ubuntu turns it on for you; Fedora doesn’t. On Fedora, install it, turn it on in the Extensions app, then log out and back in:

```sh
sudo dnf install gnome-shell-extension-appindicator
```

Doctor warns you when the extension is missing. On GNOME, a click on the tray icon opens Visor’s menu, not the popover: choose **Show status…**, the menu’s first item, to open it. On KDE Plasma, a click opens the popover.

## Install supervisord

Visor needs supervisord. Install it from your distribution:

```sh
sudo apt install supervisor
```

```sh
sudo dnf install supervisor
```

A packaged supervisord runs as a system service. To start it now and at every boot:

```sh
sudo systemctl enable --now supervisor
```

On Fedora the service is called `supervisord`:

```sh
sudo systemctl enable --now supervisord
```

> **Visor shows commands, it doesn’t run them**
>
> When supervisord is missing or stopped, Doctor shows the right command for your distribution with a Copy button. It never runs `apt`, `dnf`, `systemctl` or `sudo` for you. A supervisord that runs from your own config, not from `/etc`, still gets a **Start supervisord** button.

## If supervisord runs as root

This is the usual case on Linux: the packaged supervisord runs as root and its socket is closed to other users, so Visor can’t connect. Doctor shows these steps when it sees that. Open the socket to a `supervisor` group and join it:

1. Under `[unix_http_server]` in supervisord.conf, set these two lines:

   ```ini
   chmod=0770
   chown=root:supervisor
   ```

2. Create the group and add yourself to it:

   ```sh
   sudo groupadd -f supervisor && sudo usermod -aG supervisor $USER
   ```

3. Restart supervisord. On Ubuntu and Debian:

   ```sh
   sudo systemctl restart supervisor
   ```

   On Fedora, the service is called `supervisord`:

   ```sh
   sudo systemctl restart supervisord
   ```

4. Log out and back in, so your new group applies.

If you’re already in the group but haven’t logged in again, Doctor tells you that instead.

## Configs owned by root

When root owns the folder your program configs live in, such as `/etc/supervisor/conf.d`, Visor still shows, starts, stops and tails every process. Adding, saving, applying, removing and restoring configs are off, and config pages say why. The explanation, the path checks and the diff still work.

To let Visor edit them, give the folder to the same group:

```sh
sudo chgrp supervisor /etc/supervisor/conf.d && sudo chmod g+w /etc/supervisor/conf.d
```

## What’s different from macOS

- Shortcuts use Ctrl where the Mac uses ⌘. See [Keyboard shortcuts](https://getvisor.dev/docs/shortcuts/).
- A saved password goes to your keyring (GNOME Keyring or KWallet). With no keyring running, it lasts only until you quit Visor.
- Settings, issues and history live in `~/.config/Visor`.
- Launch at login adds a file to `~/.config/autostart`.
- Notifications go through your desktop’s notification service. Visor’s own notification list works either way.