Operating System - HP-UX
1752775 Members
6157 Online
108789 Solutions
New Discussion юеВ

Re: BASH Shell Installation

 
SOLVED
Go to solution
Ranoop Nambiar
Advisor

Re: BASH Shell Installation

Hi sarwan,

These are the versions of dependencies required for bash in 11.23.Pls install the following and see...
bash 4.0.024 bash
gettext 0.17 gettext
libiconv 1.13.1 libiconv
termcap 1.3.1 termcap


Cheers,
Ranoop
Viktor Balogh
Honored Contributor

Re: BASH Shell Installation

>> ... all this work just for making the arrow keys working

if the reason you want bash is the arrow keys working then instead of installing you can use the arrow keys in ksh this way:

1.) define these aliases:

$ cat -v .kshrc
alias __A='^P'
alias __B='^N'
alias __C='^F'
alias __D='^B'
alias __H='^A'
alias __P='^D'

2.) be sure you're in emacs mode, not in vi mode
(ok, i hate emacs mode, it just far more slower than vi mode, but if you want it...)
****
Unix operates with beer.
Sarwan
Frequent Advisor

Re: BASH Shell Installation

I am able to install bash, can anyone tell me how to put all the depots in a single depot.
For eg i have

root#cd /tmp/SHELL
root#ls -l
File1.depot
File2.depot
File3.depot
file4.depot

I want to convert all these depots into a single depot as FILE.depot under /tmp/SHELL/ so that i can use swinstall to install all at a time.
Please provide me the exact command to do that

Thanks in advance
Viktor Balogh
Honored Contributor

Re: BASH Shell Installation


>I want to convert all these depots into a >single depot as FILE.depot under /tmp/SHELL/
>Please provide me the exact command to do that

you can use swcopy for this task:

root# cd /tmp/SHELL
root# swcopy -x enforce_dependencies=false -s /tmp/SHELL/*.depot @ /path/to/depot
****
Unix operates with beer.
Sarwan
Frequent Advisor

Re: BASH Shell Installation

viktor,

When i try doing that it says

ERROR: Could not apply the software selection
"/tmp/SHELL/libiconv-1.13.1-hppa-11.23.depot"; it is
not available from depot or root

* Software selection failed
Dennis Handly
Acclaimed Contributor
Solution

Re: BASH Shell Installation

>ERROR: Could not apply the software selection

You need a for-loop:
for depot in /tmp/SHELL/*.depot; do
swcopy -x enforce_dependencies=false -s $depot \* @ /path/to/depot
done
Sarwan
Frequent Advisor

Re: BASH Shell Installation

Hi Dennis,

Thanks for your input. It worked fine. I gave a location directory. I tried to do swinstall and it was fine as well.
Is there any way that i can convert the directory into .depot format, so that it is not a directory instead it is .depot
Dennis Handly
Acclaimed Contributor

Re: BASH Shell Installation

>Is there any way that I can convert the directory into .depot format, so that it is not a directory instead it is .depot

swcopy creates directory depots. If you want a tape depot, you need to use swpackage:
swpackage -s /path/to/dir-depot -x media_type=tape @ tape.depot

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1381649
Dauren
Occasional Advisor

Re: BASH Shell Installation

Hi I've HP-UX 11.23 IA-64

I've installed:

- bash-4.0.033-ia64-11.23.depot
- gettext-0.17-ia64-11.23.depot
- libiconv-1.13.1-ia64-11.23.depot
- termcap-1.3.1-ia64-11.23.depot

But the result is:
# bash
sh: bash: not found.

Who knows how to solve this problem?
Pete Randall
Outstanding Contributor

Re: BASH Shell Installation

Who knows how to open their own question rather than tagging on to someone else's where they can't even properly award responses by assigning points?


Pete

Pete