How To Install stlink-devel on Rocky Linux 8

In this tutorial we learn how to install stlink-devel on Rocky Linux 8. stlink-devel is Include files and mandatory libraries for development

Introduction

In this tutorial we learn how to install stlink-devel on Rocky Linux 8.

Include files and mandatory libraries for development.

We can use yum or dnf to install stlink-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install stlink-devel.

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install stlink-devel

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install stlink-devel

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

sudo dnf remove stlink-devel
/usr/include/stlink
/usr/include/stlink.h
/usr/include/stlink/backend.h
/usr/include/stlink/chipid.h
/usr/include/stlink/commands.h
/usr/include/stlink/flash_loader.h
/usr/include/stlink/reg.h
/usr/include/stlink/version.h
/usr/include/stm32.h
/usr/lib64/libstlink.so
/usr/lib64/pkgconfig/stlink.pc

References

Summary

In this tutorial we learn how to install stlink-devel on Rocky Linux 8 using yum and dnf.