LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-14-2012, 05:43 AM   #1
Huamin
Member
 
Registered: May 2011
Posts: 562

Rep: Reputation: 12
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
 
Old 05-14-2012, 05:52 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by Huamin View Post
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
 
Old 05-14-2012, 05:53 AM   #3
Maounique
LQ Newbie
 
Registered: May 2012
Posts: 5

Rep: Reputation: Disabled
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
 
1 members found this post helpful.
Old 05-15-2012, 02:00 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,814

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
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...
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to setup a NIS server setup on CentOS system swatidas11 Linux - Server 3 01-19-2010 08:01 PM
unable to setup PATH tejpatil Linux - Newbie 5 07-12-2007 02:05 AM
unable to run a.out skvasistha Linux - Software 1 07-29-2005 03:42 AM
unable to run a.out skvasistha Linux - General 1 07-29-2005 03:27 AM
Volume control is unable to run correctly. Unable to open audio device '/dev/mixer'. sevenreams Slackware 1 05-16-2003 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration