This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to install the C6000 Code Generation Tools

Error in action ExecuteAction: Error in action InstallSelectedFiles: couldn't execute "/tmp/ijtmp_46FB1DF1-FBD2-1937-F732-94959FF1F5B7/installkit.bin": permission denied while executing

I am using Linux as host (Archlinux if matters), and this is a 64 bit machine with a corresponding kernel. So, my question is how to fix the aforementioned issue? I even tried to run the installer as root... but did not help.

The file I am trying to run is "ti_cgt_c6000_7.4.5_setup_linux_x86.bin"

ls -l ./ti_cgt_c6000_7.4.5_setup_linux_x86.bin
-rwxr-xr-x 1 lpapp lpapp 90271620 Oct 9 16:59 ./ti_cgt_c6000_7.4.5_setup_linux_x86.bin

ls -ld /tmp
drwxr-xr-x 20 root root 540 Oct 9 17:24 /tmp

ls -ld /tmp/ijtmp_46FB1DF1-FBD2-1937-F732-94959FF1F5B7/
drwxr-xr-x 2 root root 100 Oct 9 17:08 /tmp/ijtmp_46FB1DF1-FBD2-1937-F732-94959FF1F5B7/

  • Right, so this is because /tmp is mounted as noexec for valid reasons. It would be nice to have a way to customize that because it might be intentional for security or other concerns.

  • If your site, distribution, or local policies have /tmp mounted noexec, or if your /tmp just isn't large enough for the installer to extract all the files, you can use the --temp command-line option to the installer to specify an alternate location.

    Example:

    mkdir $HOME/temp 
    ./ti_cgt_c6000_7.4.5_setup_linux_x86.bin --temp $HOME/temp

    The installer will create a unique sub-directory within the specified path ($HOME/temp) and extract its files there. The sub-directory it creates will be removed when the installation is complete.

  • Good to know. Thanks Wolf! That is even handier than remounting without noexec just for the installation. :)