How To Install stlink-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install stlink-devel
on Rocky Linux 8.
What is stlink-devel
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.
Install stlink-devel on Rocky Linux 8 Using dnf
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
Install stlink-devel on Rocky Linux 8 Using yum
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
How To Uninstall stlink-devel on Rocky Linux 8
To uninstall only the stlink-devel
package we can use the following command:
sudo dnf remove stlink-devel
stlink-devel Package Contents on Rocky Linux 8
/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.