# The Eclipse Mosquitto debian repository Use this if you want to install the most recent version of Mosquitto on your Debian system. Supported architectures are amd64, i386, arm64, and armhf (for Raspberry Pi OS). ## Setup The Debian repo key is mosquitto-repo.gpg, to add it to your keyring, do the following: ``` sudo wget -q https://repo.mosquitto.org/debian/mosquitto-repo.gpg -O /etc/apt/keyrings/mosquitto-repo.gpg ``` To add the repo to your sources.list: ``` sudo wget -O /etc/apt/sources.list.d/mosquitto-bookworm.list https://repo.mosquitto.org/debian/mosquitto-bookworm.list ``` Or: ``` sudo wget -O /etc/apt/sources.list.d/mosquitto-bullseye.list https://repo.mosquitto.org/debian/mosquitto-bullseye.list ``` Then do: ``` apt-get update && apt-get install mosquitto ``` The available packages are: * libmosquitto-dev * libmosquitto1 * libmosquitto1-dbgsym * libmosquittopp-dev * libmosquittopp1 * libmosquittopp1-dbgsym * mosquitto * mosquitto-clients * mosquitto-clients-dbgsym * mosquitto-dbgsym * mosquitto-dev ## Old archives The `buster`, `stretch` and `jessie` archives remain available, but are no longer updated with new versions. ``` wget -O /etc/apt/sources.list.d/mosquitto-stretch.list https://repo.mosquitto.org/debian/mosquitto-buster.list wget -O /etc/apt/sources.list.d/mosquitto-stretch.list https://repo.mosquitto.org/debian/mosquitto-stretch.list wget -O /etc/apt/sources.list.d/mosquitto-jessie.list https://repo.mosquitto.org/debian/mosquitto-jessie.list ```