I'm running Ubuntu 20.04.6 LTS on a x86_64 Intel i3.
When I try to install the MCUXpresso IDE I get the following error.
sudo ./mcuxpressoide-11.10.0_3148.x86_64.deb.bin
Verifying archive integrity... 100% All good.
Uncompressing mcuxpressoide installer 100%
./mcuxpressoide-11.10.0_3148.x86_64.deb.bin: 1: eval: ./install.sh: Permission denied
The file has 755 permisions but it appears a script is created that does not have sufficient permissions...?
Solved! Go to Solution.
It seems there might be an issue with the temporary files or directories created during the installation process. You can try the following steps to resolve the issue:
1. Extract the Installer Manually:
Extract the contents of the .bin file to a directory and manually set the permissions for the install.sh script.
mkdir mcuxpresso_installer
cp mcuxpressoide-11.10.0_3148.x86_64.deb.bin mcuxpresso_installer/
cd mcuxpresso_installer
chmod +x mcuxpressoide-11.10.0_3148.x86_64.deb.bin
./mcuxpressoide-11.10.0_3148.x86_64.deb.bin --target .
chmod +x install.sh
sudo ./install.sh
2. Check and Change Ownership:
Ensure that the script has the correct ownership and permissions.
sudo chown $USER:$USER install.sh
chmod +x install.sh
sudo ./install.sh
3. Run Installer with Root Privileges:
Run the installer script directly with root privileges.
sudo bash ./install.sh
Hope this will help you.
BR
Hang
It seems there might be an issue with the temporary files or directories created during the installation process. You can try the following steps to resolve the issue:
1. Extract the Installer Manually:
Extract the contents of the .bin file to a directory and manually set the permissions for the install.sh script.
mkdir mcuxpresso_installer
cp mcuxpressoide-11.10.0_3148.x86_64.deb.bin mcuxpresso_installer/
cd mcuxpresso_installer
chmod +x mcuxpressoide-11.10.0_3148.x86_64.deb.bin
./mcuxpressoide-11.10.0_3148.x86_64.deb.bin --target .
chmod +x install.sh
sudo ./install.sh
2. Check and Change Ownership:
Ensure that the script has the correct ownership and permissions.
sudo chown $USER:$USER install.sh
chmod +x install.sh
sudo ./install.sh
3. Run Installer with Root Privileges:
Run the installer script directly with root privileges.
sudo bash ./install.sh
Hope this will help you.
BR
Hang
Thank you Hang.
I was trying to go down that path but I got stuck on the "Extract the contents of the .bin file". How do you extract the files? tar doesn't work.
My second theory was there is a permissions prompt that is not coming up or was being answered "no" in the process. I restarted and also tried the LinkServer deb.bin file and got the same error there. All other deb files install properly.
1. Extract the Installer:
• Extract the .deb.bin file to access its contents:
./mcuxpressoide-<version>.x86_64.deb.bin --target <target-directory> --noexec
2. Run the Install Script:
• Navigate to the target directory and run the install script manually:
cd <target-directory>
sudo ./install.sh
Hope this will help you
BR
Hang