HP-UX 11.23 gcc4.2.3 bash vim 安裝方法-經驗分享

HP-UX的depot包,是軟件安裝包.通常是用來放置軟件的包.
使用的方法是用HP-UX 下的安裝程序swinstall -s /PATH/name.depot
來安裝該包.注意,-s後面應該是改depot文件的全路徑.
如果一切正常的化,系統會顯示一個字符界面的窗口.
在大窗口中選擇你需要安裝的程序,用TAB鍵切換到Action菜單
選擇Mark .然後再選擇Install. 只有Mark成功的程序才能被安裝.

gcc bash用習慣了,而且比較好用。

http://hpux.cs.utah.edu/搜索以下軟件(左邊輸入),選擇自己的系統對應的版本下載。

libgcc-4.2.3-ia64-11.23.depot.gz
gcc-4.2.3-ia64-11.23.depot.gz
bash-3.2-ia64-11.23.depot.gz
binutils_2.14_ia64-hp-hpux11.23_depot.gz
bison-2.3-ia64-11.23.depot.gz
flex-2.5.33-ia64-11.23.depot.gz
libiconv-1.12-ia64-11.23.depot.gz
gettext-0.17-ia64-11.23.depot.gz
termcap-1.3.1-ia64-11.23.depot.gz
make-3.81-ia64-11.23.depot.gz
jpeg-6b-ia64-11.23.depot.gz
atk-1.21.5-ia64-11.23.depot.gz
cairo-1.4.14-ia64-11.23.depot.gz
expat-2.0.1-ia64-11.23.depot.gz
fontconfig-2.5.0-ia64-11.23.depot.gz
freetype-2.3.5-ia64-11.23.depot.gz
glib2-2.14.5-ia64-11.23.depot.gz
tiff-3.8.2-ia64-11.23.depot.gz
vim-7.1-ia64-11.23.depot.gz
zlib-1.2.3-ia64-11.23.depot.gz
gtk+2-2.12.6-ia64-11.23.depot.gz
libpng-1.2.24-ia64-11.23.depot.gz
libXft-2.1.12-ia64-11.23.depot.gz
libXrender-0.9.4-ia64-11.23.depot.gz
pango-1.18.4-ia64-11.23.depot.gz
ncurses-5.6-ia64-11.23.depot.gz


每個depot都安裝一下swinstall -s /pathtofile/libgcc-4.2.3-ia64-11.23.depot
在安裝時,選擇把options中的All targets to resolve the source locally選擇上,就沒有問題了。
然後設置一下環境變量,把/usr/local/bin 設置到path中。
修改/etc/passwd把。/sbin/sh 改成/usr/local/bin/bash

然後就可以享受gcc 與 bash的強大功能了。 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章