分类:
2008-10-27 13:59:07
从AIX 5.1开始,你可以使用基于web的系统管理器,smit 或geninstall命令来安装RPM和InstallShield MutliPlatform (ISMP) 格式的包,geninstall命令可以侦察出定义的包的类型
并运行相应的命令来安装。
从AIX 5.1开始,aix产品媒介里包括在基本OS安装时被安装的installp包和RPM包。
Installp包位于/mount_point/installp/ppc
RPM包位于 /mount_point/RPMS/ppc
ISMP包位于 /mount_point/ISMP/ppc (从AIX5.1及之后)
如果你使用geninstall命令来安装RPM或ISMP包,你需要使用前缀来告诉geninstall命令你
正在安装包的类型。
geninstall -d/dev/cd0 R:cdrecord I:bos.games
I: installp 格式
R: RPM 格式
J: ISMP 格式
E: interim fix 格式
如果使用基于web或SMIT,可以从软件列表中选取,不需要指定前缀。
Installing variously formatted software packages
Beginning in AIX 5.1, you can install RPM Package Manager (RPM)
and InstallShield MutliPlatform (ISMP) formatted packages
in addition to installp formatted packages. Use the Web-based
System Manager, SMIT, or the geninstall command to install
and uninstall these types of packages. The geninstall command
can detect the format type of a specified package and run the
appropriate installation command.
Beginning in AIX 5.1, the AIX® product media contains installp
packages and RPM packages that are installed during a base
operating system (BOS) installation. The installp packages are
located in the following path:
/mount_point/installp/ppc
The RPM packages are located in the following path:
/mount_point/RPMS/ppc
If you have media that contains ISMP packages for AIX 5.1 and
later, the ISMP packages are located in the following path:
/mount_point/ISMP/ppc
If you are using the geninstall command to install RPM or ISMP
packages, use the prefix type to indicate to the geninstall
command the type of package that you are installing. The package
prefix types are the following:
I: installp format
R: RPM format
J: ISMP format
E: interim fix format
For example, to install the cdrecord RPM package and the
bos.games installp package, type the following:
# geninstall -d/dev/cd0 R:cdrecord I:bos.games
The geninstall command detects that the cdrecord package
is an RPM package type and runs the rpm command to install
the cdrecord package. The geninstall command then detects
that bos.games is an installp package type and runs the installp
command to install the bos.games package. The process for
uninstallation is similar to the installation process.
In Web-based System Manager and SMIT, if you are selecting the
packages from a software list, you need not specify the prefix type.