Sitemap
AWS in Plain English

New AWS, Cloud, and DevOps content every day. Follow to join our 3.5M+ monthly readers.

Member-only story

Installing Mosquitto on Amazon Linux 2023

--

Press enter or click to view image in full size

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
Press enter or click to view image in full size
  • Install the packages below
sudo su
yum install -y cmake openssl-devel libxslt
yum groupinstall -y "Development Tools"

--

--

AWS in Plain English
AWS in Plain English

Published in AWS in Plain English

New AWS, Cloud, and DevOps content every day. Follow to join our 3.5M+ monthly readers.