meshtastic/docs/blocks/_native-libraries.mdx
Austin 1042f18650
Linux docs overhaul (#1669)
* Linux docs overhaul

* push updated lock file and formatting fixes

* Linux docs overhaul

---------

Co-authored-by: rcarteraz <robert.l.carter2@gmail.com>
2025-02-04 19:57:17 -07:00

27 lines
1.2 KiB
Plaintext

import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
import { Icon } from "@iconify/react";
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>