Installing bash on HP-UX

Go to and download bash and dependencies

Copy the packages to the HP-UX server and expand the packages

root@hp-ux:/root# cd /tmp/bash_hpux
root@hp-ux:/tmp/bash_hpux# gunzip *

The site showed that I needed three dependencies and the package for bash

root@hp-ux:/tmp/bash_hpux# ls -l
total 20256
-rw-r—– 1 emerson mrhuxbr 2539738 Jul 5 16:32 bash-4.2.045-ia64-11.31.depot.gz
-rw-r—– 1 emerson mrhuxbr 5639993 Jul 5 16:32 gettext-
-rw-r—– 1 emerson mrhuxbr 1724566 Jul 5 16:33 libiconv-1.14-ia64-11.31.depot.gz
-rw-r—– 1 emerson mrhuxbr 448666 Jul 5 16:33 termcap-1.3.1-ia64-11.31.depot.gz

I installed all four packages

root@hp-ux:/tmp/bash_hpux# swinstall -s /tmp/bash_hpux/bash-4.2.045-ia64-11.31.depot
root@hp-ux:/tmp/bash_hpux# swinstall -s /tmp/bash_hpux/gettext-
root@hp-ux:/tmp/bash_hpux# swinstall -s /tmp/bash_hpux/libiconv-1.14-ia64-11.31.depot
root@hp-ux:/tmp/bash_hpux# swinstall -s /tmp/bash_hpux/termcap-1.3.1-ia64-11.31.depot

Although it is not necessary, I made a link in /usr/bin pointing to the bash binary

root@hp-ux:/tmp/bash_hpux# ln -s /usr/local/bin/bash /usr/bin/bash