RPM File installation

Hi,
I am new to AIX.
I want to install gcc-4.0.0-1.aix5.1.ppc.rpm on AIX5.1,
i don't know how to install rpm file, i have tried with ./gcc-4.0.0-1.aix5.1.ppc.rpm but it not works. And also one thing rpm is also not installed on my machine.
please help me out.
Thanks
Vivek

Romeo, this guy doesn't even have rpm installed yet.
Vivek, search for the rpm package and get that installed first. It should have come with the base install media (DVD's?) otherwise look in the Linux Toolbox for AIX.

Use the rpm command, which is automatically installed with the base
operating
system for AIX 5L Version 5.1 and later, to install the bundles required
for the
GNOME desktop and the bc application package. Complete instructions are
available in the readme file for the AIX Toolbox for Linux Applications.
1. With your system powered on and AIX 5L Version 5.1 or later running,
insert
the AIX Toolbox for Linux Applications CD into the CD-ROM drive of your
system.
2. With root authority, mount the CD-ROM drive using the following
command:
# mount -vcdrfs -oro /dev/cd0 /mnt
The -v flag specifies the virtual file system type of cdrfs. The -o flag
specifies
the ro option, which means the mounted file is read-only. The device
name is
/dev/cd0. The directory in which you want to mount the CD-ROM is /mnt.
3. Change to the /mnt directory by using the following command:
# cd /mnt
4. Use the ls command to list the contents of the CD. The listing
contains the
following, which you can view or print:
- The readme file contains complete instructions for installing from
this CD.
- The CONTENTS file lists all packages available on this CD and provides
a
short description of the purpose for each package.
5. In your Web browser, open the /mnt/LICENSES/index.html file to view
software licensing information.
6. In your terminal window, change to the ezinstall/ppc directory by
using the
following command:
# cd /mnt/ezinstall/ppc
In the next step, use the rpm command to install GNOME by installing
four
bundles (Base, Desktop Base, GNOME Base, and GNOME Apps). Alternatively,
you can install all necessary packages using the smit install_bundle
fast path
and selecting the GNOME bundle.
7. Install GNOME by using the following sequence of commands:
#rpm -Uhv ezinstall/ppc/base/*
#rpm -Uhv ezinstall/ppc/desktop.base/*

---------------

Installing RPM packages
To install the cdrecord and mtools RPM packages using SMIT, do the
following:
1. Run the SMIT install_software fast path.
2. Enter the device name for the AIX Toolbox for Linux Applications CD
(for
example, /dev/cd0), and press Enter.
3. Press the F4 key to list the contents of the device.
4. Select the cdrecord and mtools packages, and press Enter.
5. Accept the default values for the rest of the Install Software menu
fields, and
press Enter.
6. Confirm that you do want to install the software, and press Enter.
The software installation process begins at this point.

Copyright 1998-2015 Ziff Davis, LLC (Toolbox.com). All rights reserved. All product names are trademarks of their respective companies. Toolbox.com is not
affiliated with or endorsed by any company listed at this site.