Unable to install gcc in AIX 5.3


 
Thread Tools Search this Thread
Operating Systems AIX Unable to install gcc in AIX 5.3
# 1  
Old 10-10-2011
Unable to install gcc in AIX 5.3

Hello...
I have downloaded RPM for gcc in a directly where I tried installing using rpm but it says the following


Code:
/oracle/dB>rpm -iv gcc-4.2.0-3.aix5.3.ppc.rpm
failed to open /var/opt/freeware/lib/rpm/packages.rpm: Permission denied

error: cannot open /var/opt/freeware/lib/rpm/packages.rpm
/oracle/dB>ls -l /var/opt/freeware/lib/rpm/packages.rpm
-rwxr-xr-x   1 root     system        27592 Jul  8 2009  /var/opt/freeware/lib/rpm/packages.rpm

I am trying to install it using oracle user not with root (I am not admin !)
Much appreciated your help.

Shahnaz.
# 2  
Old 10-10-2011
Become root to install OS packages.
# 3  
Old 10-10-2011
In windows, we install own packages/Softwares/Tools with out Admin interference ! Not sure why it is not happening here...
I have seen an option like prefix <Our Home/other directory where we OWN it> ... this too not worked.

Can some one throw light on it,pls. ?

--Shahnaz.
# 4  
Old 10-10-2011
As stated by rbatte1 - you must be root to install software like this on a UNIX system. Not only is the rpm file permissions owned by root but the directories where it will be placed are owned and controlled by root. Have your UNIX Admin do the install and you should be able to do what is needed after that.
# 5  
Old 10-10-2011
Quote:
Originally Posted by shahnazurs
In windows, we install own packages/Softwares/Tools with out Admin interference !
That's not quite correct. It seems that you can install software without admin interference because your user probably has been granted admin rights for the local machine. Without those, it wouldn't be possible to install software.

The same is possible on Unix using ACLs, policies, security profiles, or just sudo (if installed), with a much higher granularity (eg. the user may install software but not remove it), auditing, and the requirement that any such privilege elevation has to be explicitly requested.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unable to install client AIX LPAR to vscsi hdisk provided from VIOS

Hi everybody, I have Power5 server with 4 internal hdisks each of 70Gb. VIOS server was installed via Virtual I/O Server Image Repository on the HMC. HMC release - 7.7.0 VIOS rootvg installed on 2 disk(these disks merged to one storage pool during VIOS install process),and 2 others hdisks... (2 Replies)
Discussion started by: Ravil Khalilov
2 Replies

2. AIX

Problems to install gcc 7.2 on AIX 7.2

We need gcc 7.2 on AIX 7.2 and so I tried to install the rpm package from IBM (<https://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html>) The steps were as follows (I downloaded all packages from the given IBM toolbox page): # :-)rpm -ihv gcc-7.2.0-1.aix7.2.ppc.rpm error:... (2 Replies)
Discussion started by: BuSchu
2 Replies

3. AIX

Upgrading AIX 5.2 to AIX 6.1 - GCC compatibility

Hi All, We are in the processing of upgrading our AIX server OS from 5.2.0.0 to 6.1. And we have a set of highly critical running C applications in AIX box. I have a question like whether this upgradation of OS will affect any C code compilation and C runtime enviornment... how does AIX 6.1... (1 Reply)
Discussion started by: karthikc
1 Replies

4. Solaris

GCC install

well, i know wich GCC can be download by Manager package, easy! but I want install gcc "whith myself hands" I have gcc .tar and i cant install by console. after comand $make: erro ok! i dont have compiler, but i want install gcc! sorry my english... (6 Replies)
Discussion started by: Hyagosallet
6 Replies

5. AIX

How to install gcc compiler on AIX?

I want to install gcc compiler on aix box. $uname -a AIX GTMIT 3 5 000000000000 Can any one help me installing gcc compiler(step by step)either by smit or rpm commands ? What is boot straping ? Its urgent .. Thanks in advance (2 Replies)
Discussion started by: kittu1979
2 Replies

6. UNIX for Advanced & Expert Users

Build and install GCC-3.2.3

Hi, I have problem to build the gcc-3.2.3. I downloaded the source code. Here is what I did. 1) cd /usr/local/src 2) tar zxf gcc-3.2.3.tar.gz 3) cd .. 4) mkdir gcc-3.2.3 5) cd gcc-3.2.3 6) ../src/gcc-3.2.3/configure --prefix=/usr/local/gcc-3.2.3/ 7) make And I received the below... (2 Replies)
Discussion started by: beeloo
2 Replies

7. AIX

The problem after install gcc on AIX 5.3

The problem after install gcc on AIX 5.3 I download 5 rpm packages from IBM AIX Toolbox Download Page - Alphabetical Listing and install them. rpm -ivh gcc-4.0.0-1.aix5.3.ppc.rpm rpm -ivh libgcc-4.0.0-1.aix5.3.ppc.rpm rpm -ivh libstdcplusplus-4.0.0-1.aix5.3.ppc.rpm rpm -ivh... (1 Reply)
Discussion started by: zither
1 Replies

8. Solaris

Install GCC on Solaris 8

Hi, I tried to install apache web server on solaris 8 and was prompted that i do not have any valid compiler. I tried to install GCC on solaris 8 using the command #pkgadd -d gcc-2.95.2-sol17-sparc-local (hit enter). May I know how I should set the environment variables to make it work... (1 Reply)
Discussion started by: sagolo
1 Replies

9. Solaris

Can`t install gcc compiler

Hi, Installed the gcc compiler off the Solaris 9 Companion CD a while back , but needed to delete it due to disk space issues. Now that I have sorted out our root disk space I can`t reinstall the compiler. If I select all the packages off the Development/Languages menu , the install list... (3 Replies)
Discussion started by: markdr011
3 Replies

10. Linux

gcc install error

I download a gcc3.0.tar.gz file ,then tar it. Continue,I change current path to gcc3.0 and press ./configure The error appeared ,it is CC command not found . Please tell me What can I do to pass on. (1 Reply)
Discussion started by: fansings
1 Replies
Login or Register to Ask a Question