本人职场小白,此篇为工作中处理问题的记录,以备往后查询,如有不对之处或抄袭之嫌,请告知与我,即刻改正。
HPUX 11.31 安装bash
安装bash
需要安装一些依赖包
可以去此网站去下载这些包
http://hpux.connect.org.uk/
/tmp下新建一个目录存放这些依赖包
mkdir /tmp/bash_depot
将下载好的依赖包传到刚刚建立的目录下
然后开始安装,-s后面要跟绝对路径
swinstall -s /tmp/bash-depot/readline-7.0.003-ia64_64-11.31.depot readline
swinstall -s /tmp/bash-depot/termcap-1.3.1-ia64_64-11.31.depot termcap
swinstall -s /tmp/bash-depot/libiconv-1.15-ia64_64-11.31.depot libiconv
swinstall -s /tmp/bash-depot/libunistring-0.9.9-ia64_64-11.31.depot libunistring
swinstall -s /tmp/bash-depot/gettext-0.19.8.1-ia64_64-11.31.depot gettext
swinstall -s /tmpbash-depot/bash-4.4.19-ia64_64-11.31.depot bash
创建链接
cd /bin
ln -s /usr/local/bin/bash bash
安装完成。
卸载bash:
删除链接:
su - root
cd /bin
ls -l bash
rm bash
删除包:
swremove /tmp/bash-depot/bash-4.4.19-ia64_64-11.31.depot bash
swremove /tmp/bash-depot/gettext-0.19.8.1-ia64_64-11.31.depot gettext
swremove /tmp/bash-depot/libunistring-0.9.9-ia64_64-11.31.depot libunistring
swremove /tmp/bash-depot/libiconv-1.15-ia64_64-11.31.depot libiconv
swremove /tmp/bash-depot/termcap-1.3.1-ia64_64-11.31.depot termcap
swremove /tmp/bash-depot/readline-7.0.003-ia64_64-11.31.depot readline