How do I install bash in a HP-UX?

Source: Internet
Author: User

How do I install bash in a HP-UX?
How do I install bash in a HP-UX?

Note: HPUX stands for Hewlett Packard UniX, a Unix operating system for HP 9000 Series servers that can run on HP's PA-RISC processor, Intel's Itanium processor's computer.

1. bash installation package link:

Http://hpux.connect.org.uk/hppd/cgi-bin/search? Package = on & description = on & term = bash
Dependent components: 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. Decompress all the files to/tmp.

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

3. Install all installation packages

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
With swinstall installation interface step: http://www.thegeekstuff.com/2010/06/install-remove-depot-packages/

4. Start bash after installation

/Usr/local/bin/bash

5. Add/usr/local/bin to/etc/PATH and save


# Vi/etc/PATH
/Usr/local/bin
# Export PATH = $ (cat/etc/PATH)

If the following error occurs:

You do not
Have permission for this operation. The depot owner, system
Administrator, or alternate root owner may need to use
"Swreg" or "swacl" command to give you permission. Or,
Manage applications designed and packaged for nonprivileged
Mode, see the "run_as_superuser" option in the "sd" man page.

The solution is:

/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

Then enter the installation interface: http://www.thegeekstuff.com/2010/06/install-remove-depot-packages/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.