В интернете есть замечательный ресурс с портированными пакетами под HP-UX - http://hpux.connect.org.uk/.
Bash
Для установки bash в HP-UX 11.31 нужно скачать четыре пакета.
Разархивировать скачанные пакеты.
# gunzip имя_пакета
И установить(зависимости в первую очередь).
# swinstall -s /путь/до/файла_depot
Vim
Тоже самое что и для bash.
Зависимости.
Сам пакет Vim.
Как видим скачивание и установка зависимостей довольно муторное дело, по этому лучше воспользоваться утилитой depothelper, которая умеет производить установку пакетов с установкой зависимостей в автоматическом режиме. Depothelper можно скачать здесь.
Некоторые опции depothelper.
Here's the current syntax message output by "depothelper -?":
Syntax: depothelper [options] package[-version] [package[-version]...]
Options are as follows:
Bash
Для установки bash в HP-UX 11.31 нужно скачать четыре пакета.
Разархивировать скачанные пакеты.
# gunzip имя_пакета
И установить(зависимости в первую очередь).
# swinstall -s /путь/до/файла_depot
Vim
Тоже самое что и для bash.
Зависимости.
- Mesa
 - atk
 - bzip2
 - cairo
 - cups
 - cyrus_sasl
 - db
 - editline
 - expat
 - flex
 - fontconfig
 - freetype
 - gdk_pixbuf
 - gettext
 - ghostscript
 - glib2
 - gmp
 - gnutls
 - gtk+2
 - gtk+3
 - harfbuzz
 - heimdal
 - jasper
 - jpeg
 - lcms
 - lcms2
 - ldns
 - libXft
 - libXrender
 - libcroco
 - libffi
 - libgcrypt
 - libgpg_error
 - libgsf
 - libiconv
 - libidn
 - libpng
 - librsvg
 - libtasn1
 - libxml2
 - lzo
 - m4
 - make
 - ncurses
 - nettle
 - openldap
 - openssl
 - p11_kit
 - pango
 - pixman
 - readline
 - termcap
 - tiff
 - unbound
 - xz
 - zlib
 - lzma
 
Сам пакет Vim.
Как видим скачивание и установка зависимостей довольно муторное дело, по этому лучше воспользоваться утилитой depothelper, которая умеет производить установку пакетов с установкой зависимостей в автоматическом режиме. Depothelper можно скачать здесь.
Некоторые опции depothelper.
Here's the current syntax message output by "depothelper -?":
Syntax: depothelper [options] package[-version] [package[-version]...]
Options are as follows:
- -a <architecture> specifies the machine architecture (ia64|hppa)
 - -c <cache directory> specifies the cache directory for downloaded files
 - -e <expiry_days> set number of days before cache package expiry (default 93)
 - -f forces depot downloads/installs, even if already downloaded/installed
 - -h (or -?) displays this syntax message
 - -l [package[-version]...] lists packages with their dependencies. If no
 - parameter is supplied, all installed packages are displayed
 - -n will download the depots but not install them. If -u is also supplied,
 - then a list of depots (including any dependencies) to be uninstalled
 - will be displayed rather than actually being uninstalled
 - -o <version> specifies the depot OS version to download (11.11|11.23|11.31)
 - -p <host:port> specifies that an FTP proxy server will be used
 - -r will remove downloaded depots that successfully installed
 - -u uninstalls the specified packages and if possible, uninstalls
 - their dependencies as well