LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Unable to run setup (https://www.linuxquestions.org/questions/linux-software-2/unable-to-run-setup-944850/)

Huamin 05-14-2012 04:43 AM

Unable to run setup
 
Hi,
Within Red hat, why do I get this?
[root@localhost ~]# su
[root@localhost ~]# ./SolarisStudio12.3-linux-x86-rpm.tar.bz2
bash: ./SolarisStudio12.3-linux-x86-rpm.tar.bz2: Permission denied
[root@localhost ~]#

Many Thanks & Best Regards,
HuaMin

Doc CPU 05-14-2012 04:52 AM

Hi there,

Quote:

Originally Posted by Huamin (Post 4677841)
Within Red hat, why do I get this?
Code:

[root@localhost ~]# su
[root@localhost ~]# ./SolarisStudio12.3-linux-x86-rpm.tar.bz2
bash: ./SolarisStudio12.3-linux-x86-rpm.tar.bz2: Permission denied
[root@localhost ~]#


very probably because you're trying to execute a non-executable file.

[X] Doc CPU

Maounique 05-14-2012 04:53 AM

Try chmod +x SolarisStudio12.3-linux-x86-rpm.tar.bz2 . It would also be a good idea to unpack the rpm before. (tar xvf <filename>.tar.{gz,bz2,...}) Why would a rpm be archived again, I dont know...
M

chrism01 05-15-2012 01:00 AM

You don't execute .tar.bz2 (or even .tbz2) files.
Its an archived pkg, compressed using bzip2.
Start by extracting it with
Code:

tar jxvf SolarisStudio12.3-linux-x86-rpm.tar.bz2
http://linux.die.net/man/1/tar
then read the README that likely comes with it...


All times are GMT -5. The time now is 06:36 AM.