meshtastic/docs/blocks/_native-libraries.mdx

27 lines
1.2 KiB
Plaintext
Raw Normal View History

import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
import { Icon } from "@iconify/react";
2025-01-01 11:15:58 -08:00
The following libraries must be installed before building `meshtasticd`:
<Tabs groupId="operating-systems" queryString="os">
<TabItem value="debian" label={<><Icon icon="mdi:debian" style={{ marginRight: "0.25rem" }} height="1.5rem" /> Debian</>} default>
```shell
# Base dependencies
sudo apt install libgpiod-dev libyaml-cpp-dev libbluetooth-dev libusb-1.0-0-dev libi2c-dev
# Optional dependencies for web server support
sudo apt install openssl libssl-dev libulfius-dev liborcania-dev
```
</TabItem>
<TabItem value="fedora" label={<><Icon icon="mdi:fedora" style={{ marginRight: "0.25rem" }} height="1.5rem" /> Fedora</>}>
```shell
# Enable the Meshtastic build tools COPR repository
sudo dnf copr enable @meshtastic/build-tools
# Base dependencies
sudo dnf install gcc-c++ pkgconfig(yaml-cpp) pkgconfig(libgpiod) pkgconfig(bluez) pkgconfig(libusb-1.0) libi2c-devel
# Optional dependencies for web server support
sudo dnf install pkgconfig(openssl) pkgconfig(liborcania) pkgconfig(libyder) pkgconfig(libulfius)
```
</TabItem>
</Tabs>