如何在HP-UX中安装bash?
2015-12-11 15:49
501 查看
依赖组件: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系列服务器的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/
相关文章推荐
- 再谈CSHELL对C程序员的价值
- powershell 汉洛塔
- shell根据系统硬盘大小删除文件
- shell if 多条件判断 时间大小比较
- shell之监控tomcat(一个tomcat)端口是否正常
- shell常用脚本
- shell脚本无法使用source的原因及解决方法
- python调用shell脚本
- shell调用脚本--直接退出不执行后续命令
- 5. storm常用命令(客户端storm shell)
- hive shell执行命令报错:Specified key was too long; max key length is 767 bytes
- 14.bash中 2>&1 & 的解释
- 13.工作命令汇集
- shell之逆向解析以生日生成的MD5
- 9.一些shell编程中命令的累积
- 8.shell中文本处理三剑客
- 7.shell分支与循环结构
- 4.shell变量替换技术
- 3.shell变量的子串应用
- 反弹SHELL汇总