Member-only story
Installing Mosquitto on Amazon Linux 2023
Amazon Linux 2023, the latest release of Amazon’s Linux distribution, brings with it enhanced features and improvements. However, one notable absence from the default package repositories is the Mosquitto MQTT broker. Mosquitto is a widely used and robust open-source MQTT broker that facilitates communication between IoT devices. In this article, we will guide you through the process of installing Mosquitto on Amazon Linux 2023 using the source code.
While some Linux distributions provide pre-built packages for Mosquitto, Amazon Linux 2023 does not include it by default in its repositories. This necessitates the installation from the source code, ensuring that you have the latest version and full control over the configuration options.
— Prerequisites —
Before proceeding with the Mosquitto installation, it is essential to confirm the prerequisites listed below.
- Let’s first check our OS
cat /etc/os-release- Install the packages below
sudo su
yum install -y cmake openssl-devel libxslt
yum groupinstall -y "Development Tools"






