注:HPUX全稱是Hewlett Packard UniX是惠普9000系列服務器的Unix操作系統,可以在HP的PA-RISC處理器、Intel的Itanium處理器的電腦上運行。
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
cd /tmp
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/gettext-0.19.5.1-hppa-11.31.depot
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/bash
# vi /etc/PATH
/usr/local/bin
# export PATH=$(cat /etc/PATH)
You do not
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/