1. Download the installer from official website:https://www.st.com/en/development-tools/stm32cubeide.html
2. Navigate to the Download Directory: If the file is in your Downloads folder, run:
cd ~/Downloads
3. Unzip the File: Use the unzip
command to extract the contents of the ZIP file. If you don’t have unzip
installed, you can install it using:
sudo apt install unzip
unzip en.st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.deb_bundle.sh.zip
4. Make the Script Executable
Find the Extracted Script: After unzipping, you should see the script named something like en.st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.deb_bundle.sh
.
Make the Script Executable: Run the following command to make it executable:
chmod +x en.st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.deb_bundle.sh
5. Run the Installation Script
Execute the Script: Run the following command to start the installation process:
./en.st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.deb_bundle.sh
Follow the On-Screen Instructions: The script will provide you with instructions or prompts. Follow them to complete the installation.
Additional Steps (If Required)
Install Dependencies: If you encounter errors about missing dependencies, you can install them using your package manager. For example:
sudo apt update
sudo apt install <missing-package-name>
Launch STM32CubeIDE: Once installed, you can usually find STM32CubeIDE in your applications menu or launch it via the terminal:
stm32cubeide
By following these steps, you should be able to successfully install STM32CubeIDE from the ZIP file.