2.9.2 Installing STM32CubeProgrammer on Linux
Install Java Runtime Environment:
1. Unpack Java JRE archive into your home directory
tar -xf jre-8u221-linux-x64.tar.gz -C ~
2. Rename directory "jre1.8.0_221" to "jre"
Install STM32CubeProgrammer:
1. Unpack archive "en.stm32cubeprog.zip" with command unzip:
unzip en.stm32cubeprog.zip
2. Set permissions for executing using command chmod:
chmod +x SetupSTM32CubeProgrammer-2.1.0.linux
3. Run installer using command:
JAVA_HOME=~/jre ./SetupSTM32CubeProgrammer-2.1.0.linux
4. Set install directory to "~/STM32CubeProgrammer"
Configure STM32CubeProgrammer before launching application:
1. Enter STM32CubeProgrammer directory
cd ~/STM32CubeProgrammer
2. As sudo copy udev rules files to the “/dev/udev/rules.d” directory:
sudo cp Drivers/rules/*.rules /etc/udev/rules.d