怎样在HP-UX中安装bash?
2017-06-18 21:23
459 查看
依赖组件:gettext, libiconv, termcap
gettext-0.19.5.1-hppa-11.31.depot.gz
libiconv-1.14-hppa-11.31.depot.gz
termcap-1.3.1-hppa-11.31.depot.gz
bash-4.3.033-hppa-11.31.depot.gz
gunzip gettext-0.19.5.1-hppa-11.31.depot.gz
gunzip libiconv-1.14-hppa-11.31.depot.gz
gunzip termcap-1.3.1-hppa-11.31.depot.gz
gunzip bash-4.3.033-hppa-11.31.depot.gz
swinstall -s /tmp/libiconv-1.14-hppa-11.31.depot
swinstall -s /tmp/termcap-1.3.1-hppa-11.31.depot
swinstall -s /tmp/bash-4.3.033-hppa-11.31.depot
附带swinstall安装界面步骤:http://www.thegeekstuff.com/2010/06/install-remove-depot-packages/
/usr/local/bin
# export PATH=$(cat /etc/PATH)
參考文档:http://itsiti.com/install-bash-shell-in-hp-ux
have permission for this operation. The depot owner, system
administrator, or alternate root owner may need to use the
"swreg" or "swacl" command to give you permission. Or, to
manage applications designed and packaged for nonprivileged
mode, see the "run_as_superuser" option in the "sd" man page.
那么解决方式是:
/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start
swreg -l depot /tmp/gettext-0.19.5.1-hppa-11.31.depot
swreg -l depot /tmp/libiconv-1.14-hppa-11.31.depot
swreg -l depot /tmp/termcap-1.3.1-hppa-11.31.depot
swreg -l depot /tmp/bash-4.3.033-hppa-11.31.depot
然后进入安装界面:http://www.thegeekstuff.com/2010/06/install-remove-depot-packages/
怎样在HP-UX中安装bash?
注:HPUX全称是Hewlett Packard UniX是惠普9000系列server的Unix操作系统,能够在HP的PA-RISC处理器、Intel的Itanium处理器的电脑上执行。1.bash安装包链接:
http://hpux.connect.org.uk/hppd/cgi-bin/search?package=on&description=on&term=bash依赖组件:gettext, libiconv, termcap
gettext-0.19.5.1-hppa-11.31.depot.gz
libiconv-1.14-hppa-11.31.depot.gz
termcap-1.3.1-hppa-11.31.depot.gz
bash-4.3.033-hppa-11.31.depot.gz
2.解压全部的到/tmp下
cd /tmpgunzip gettext-0.19.5.1-hppa-11.31.depot.gz
gunzip libiconv-1.14-hppa-11.31.depot.gz
gunzip termcap-1.3.1-hppa-11.31.depot.gz
gunzip bash-4.3.033-hppa-11.31.depot.gz
3.安装全部的安装包
swinstall -s /tmp/gettext-0.19.5.1-hppa-11.31.depotswinstall -s /tmp/libiconv-1.14-hppa-11.31.depot
swinstall -s /tmp/termcap-1.3.1-hppa-11.31.depot
swinstall -s /tmp/bash-4.3.033-hppa-11.31.depot
附带swinstall安装界面步骤:http://www.thegeekstuff.com/2010/06/install-remove-depot-packages/
4.安装完启动bash
/usr/local/bin/bash5.把/usr/local/bin加到/etc/PATH中并保存
# vi /etc/PATH/usr/local/bin
# export PATH=$(cat /etc/PATH)
參考文档:http://itsiti.com/install-bash-shell-in-hp-ux
假设出现以下错误:
You do nothave permission for this operation. The depot owner, system
administrator, or alternate root owner may need to use the
"swreg" or "swacl" command to give you permission. Or, to
manage applications designed and packaged for nonprivileged
mode, see the "run_as_superuser" option in the "sd" man page.
那么解决方式是:
/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start
swreg -l depot /tmp/gettext-0.19.5.1-hppa-11.31.depot
swreg -l depot /tmp/libiconv-1.14-hppa-11.31.depot
swreg -l depot /tmp/termcap-1.3.1-hppa-11.31.depot
swreg -l depot /tmp/bash-4.3.033-hppa-11.31.depot
然后进入安装界面:http://www.thegeekstuff.com/2010/06/install-remove-depot-packages/
相关文章推荐
- 在HP-UX上安装和使用bash (转载)
- 如何在HP-UX中安装bash?
- HP-UX 安装bash
- HP-UX系统安装常用命令
- 在 HP_UX 上安装 php
- 在HP-UX上安装Oracle11.2.0.3修改maxfiles
- HP-UX下Oracle10G的安装
- hp_ux11.11 下安装 sybase12.5.3
- 利用postgresql8.1.1源代码在hp-ux 11.11B上安装的步骤
- HP-UX IPV6的安装和配置
- HP-UX 安装/设置
- 在HP-UX 上安装oracle10g
- 在HP-UX 11.11用swinstall安装gcc 4.2.3
- HP-UX 系统安装笔记
- HP-UX 11.23 gcc4.2.3 bash vim 安装方法-经验分享
- Linux及HP-UX下Informix的安装配置
- HP-UX 11i v2安装使用python 2.5.2
- WebSphere MQ For AIX和HP-UX安装配置
- hp-ux下oracle的安装