St-util Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora And MacOS
Maintainer: Luca Boccassi
Email: [email protected] .
Website: https://github.com/texane/stlink
Section: electronics
Install st-util
-
Debian
apt-get install stlink-toolsClick to copy -
Ubuntu
apt-get install stlink-toolsClick to copy -
Alpine OS
apk add stlinkClick to copy -
Arch Linux
pacman -S stlinkClick to copy -
Kali Linux
apt-get install stlink-toolsClick to copy -
Fedora
dnf install stlinkClick to copy -
macOS
brew install stlinkClick to copy
Run GDB (GNU Debugger) server to interact with STM32 ARM Cortex microcontoller.
How to use st-util?
Below are few example commands for st-util that you can use in the terminal.
Run GDB server on port 4500:st-util -p 4500Click to copyConnect to GDB server:(gdb) target extended-remote localhost:4500Click to copyWrite firmware to device:(gdb) load firmware.elfClick to copy
To install the latest version of st-util in your favorite operating system just copy the st-util installation command from above and paste it into terminal. It will download and install the latest version of st-util 2026 package in your OS.




