> Markdown version of https://yucca.app/en/docs/install/debian/. Documentation index: [llms.txt](https://yucca.app/en/llms.txt), full text in one file: [llms-full.txt](https://yucca.app/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# Debian/Ubuntu

> **Recommendations for a large number of cameras.** If you plan to run more than 10 cameras with motion detection enabled, we recommend using PostgreSQL as the database, as it is more performant.

## Installation

To install on Debian and its derivatives (Ubuntu, Mint, and others), run the following commands in the terminal:

**Yucca Free**

```shell
sudo apt update
sudo apt install -y ca-certificates curl
sudo mkdir -p /etc/apt/keyrings
sudo curl -fsSL https://code.tuna.am/api/packages/yucca/debian/repository.key -o /etc/apt/keyrings/yucca.asc
echo 'deb [signed-by=/etc/apt/keyrings/yucca.asc] https://code.tuna.am/api/packages/yucca/debian stable main' | sudo tee /etc/apt/sources.list.d/yucca.list
sudo apt update
sudo apt install yucca

```

**Yucca Plus / Enterprise**

```shell
sudo apt update
sudo apt install -y ca-certificates curl
sudo mkdir -p /etc/apt/keyrings
sudo curl -fsSL https://code.tuna.am/api/packages/yucca/debian/repository.key -o /etc/apt/keyrings/yucca.asc
echo 'deb [signed-by=/etc/apt/keyrings/yucca.asc] https://code.tuna.am/api/packages/yucca/debian stable main' | sudo tee /etc/apt/sources.list.d/yucca.list
sudo apt update
sudo apt install yucca-ent

```

> **Switching between editions.** Both editions install the same `/opt/yucca/yucca` file, so remove the installed package before switching editions — see the "Removal" section below. Your data in `/opt/yucca/data` and the `/opt/yucca/yucca.toml` configuration are kept.

## Verifying it works

After installation and startup, the WEB interface will be available at **<http://your-server-ip:9910>** . If the interface is unavailable after installation, check the service status and view the server logs:

```shell
sudo systemctl status yucca
sudo journalctl -f -u yucca

```

## Update

**Yucca Free**

```shell
sudo apt update
sudo apt install yucca

```

**Yucca Plus / Enterprise**

```shell
sudo apt update
sudo apt install yucca-ent

```

## Removal

**Yucca Free**

```shell
sudo apt remove yucca

```

**Yucca Plus / Enterprise**

```shell
sudo apt remove yucca-ent

```
