How To Install stlink on Fedora 36

Introduction

In this tutorial we learn how to install stlink on Fedora 36.

STLINK v1/v2 JTAG/SWD debugging/flashing tool for STM32 microcontrollers.

We can use yum or dnf to install stlink on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install stlink.

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install stlink using dnf by running the following command:

description: "In this tutorial we learn how to install stlink in Fedora 36. stlink is STM32 discovery line Linux programmer"
sudo dnf -y install stlink

date: “2022-08-17”

Introduction

In this tutorial we learn how to install stlink on Fedora 36.

Update yum database with yum using the following command.

> STLINK v1/v2 JTAG/SWD debugging/flashing tool for STM32 microcontrollers.  
sudo yum makecache --refresh

We can use yum or dnf to install stlink on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install stlink. After updating yum database, We can install stlink using yum by running the following command:

## Install stlink on Fedora 36 Using dnf
sudo yum -y install stlink

Update yum database with dnf using the following command.

sudo dnf makecache --refresh
To uninstall only the `stlink` package we can use the following command:
sudo dnf remove stlink
After updating yum database, We can install `stlink` using `dnf` by running the following command:
## stlink Package Contents on Fedora 36

sudo dnf -y install stlink
## Install stlink on Fedora 36 Using yum

Update yum database with `yum` using the following command.

```bash
sudo yum makecache --refresh

After updating yum database, We can install stlink using yum by running the following command:

sudo yum -y install stlink

To uninstall only the stlink package we can use the following command:

sudo dnf remove stlink
/etc/modprobe.d/stlink_v1.conf
/usr/bin/st-flash
/usr/bin/st-info
/usr/bin/st-trace
/usr/bin/st-util
/usr/lib/.build-id
/usr/lib/.build-id/31
/usr/lib/.build-id/31/cf06e81d9eee484849edabd72ceb4883d452c4
/usr/lib/.build-id/74
/usr/lib/.build-id/74/68446638383f17a6162967084897cd37554aa0
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/e7b9a00fdffadc3619e7a2632515307916b723
/usr/lib/.build-id/af
/usr/lib/.build-id/af/05614a436265b91dfdd3fddc583538c0d8c06e
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/00d82db921c7bef5fe78838bcbdaee9d38237e
/usr/lib/udev/rules.d/49-stlinkv1.rules
/usr/lib/udev/rules.d/49-stlinkv2-1.rules
/usr/lib/udev/rules.d/49-stlinkv2.rules
/usr/lib/udev/rules.d/49-stlinkv3.rules
/usr/lib64/libstlink.so.1
/usr/lib64/libstlink.so.1.7.0
/usr/share/doc/stlink
/usr/share/doc/stlink/CHANGELOG.md
/usr/share/doc/stlink/README.md
/usr/share/licenses/stlink
/usr/share/licenses/stlink/LICENSE.md
/usr/share/man/man1/st-flash.1.gz
/usr/share/man/man1/st-info.1.gz
/usr/share/man/man1/st-util.1.gz

References

Summary

In this tutorial we learn how to install stlink on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/etc/modprobe.d/stlink_v1.conf /usr/bin/st-flash /usr/bin/st-info /usr/bin/st-trace /usr/bin/st-util /usr/lib/.build-id /usr/lib/.build-id/21 /usr/lib/.build-id/21/8141a534a04622b884ebb4e74c7655d6f18f03 /usr/lib/.build-id/52 /usr/lib/.build-id/52/cb48fc22536ffc31b87f0493ef863432b16c6d /usr/lib/.build-id/76 /usr/lib/.build-id/76/1bf450ba1e90292f5ad6aeb5d2927af02af4f9 /usr/lib/.build-id/9c /usr/lib/.build-id/9c/7af329b2c455c058ea4a0b31d89076b76ced58 /usr/lib/.build-id/f0 /usr/lib/.build-id/f0/8456abe84d8df6ed2a10853f9b39714b73959c /usr/lib/libstlink.so.1 /usr/lib/libstlink.so.1.7.0 /usr/lib/udev/rules.d/49-stlinkv1.rules /usr/lib/udev/rules.d/49-stlinkv2-1.rules /usr/lib/udev/rules.d/49-stlinkv2.rules /usr/lib/udev/rules.d/49-stlinkv3.rules /usr/share/doc/stlink /usr/share/doc/stlink/CHANGELOG.md /usr/share/doc/stlink/README.md /usr/share/licenses/stlink /usr/share/licenses/stlink/LICENSE.md /usr/share/man/man1/st-flash.1.gz /usr/share/man/man1/st-info.1.gz /usr/share/man/man1/st-util.1.gz


## References

* [stlink website](https://github.com/stlink-org/stlink)

## Summary

In this tutorial we learn how to install `stlink` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).