Solaris 下gnupg 安装。

1. 下载gnupg的安装package, 发现下面的网站不错,我要安装东东基本上从这里找。

http://ftp.auckland.ac.nz/sunfreeware/sparc/5.10/

找到gnupg-1.4.5-sol10-sparc-local.gz

2. 上传到unix server 并解压

gunzip gnupg-1.4.5-sol10-sparc-local.gz

3. 安装

pkgadd -d gunzip gnupg-1.4.5-sol10-sparc-local(解压后的文件名)

/usr/local/bin/gpg
## Installing part 1 of 1.
/usr/local/bin/gpg
/usr/local/bin/gpg-zip
/usr/local/bin/gpgsplit
/usr/local/bin/gpgv
/usr/local/info/gpg.info
/usr/local/info/gpgv.info
/usr/local/libexec/gnupg/gpgkeys_curl
/usr/local/libexec/gnupg/gpgkeys_finger

....

[ verifying class <none> ]

Installation of <SMCgnupg> was successful.

4. 运行

pgp 安装在/usr/local/bin/ 下

gpg

如果有错误,一般是其他的包没有安装,可以到上面的网站去找,我就遇到下面的错误

ld.so.1: gpg: fatal: libiconv.so.2: open failed: No such file or directory

检查那些包没有:

bash-3.00# ldd /usr/local/bin/gpg

libiconv.so.2 => (file not found)
libresolv.so.2 => /usr/lib/libresolv.so.2
libz.so => /usr/lib/libz.so
libreadline.so.5 => (file not found)
libcurses.so.1 => /usr/lib/libcurses.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /lib/libmp.so.2
libmd5.so.1 => /lib/libmd5.so.1
libscf.so.1 => /lib/libscf.so.1
libdoor.so.1 => /lib/libdoor.so.1
libuutil.so.1 => /lib/libuutil.so.1
libm.so.2 => /lib/libm.so.2
/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1
/platform/SUNW,Sun-Blade-100/lib/libmd5_psr.so.1

下载安装这些包后,运行ok.

bash-3.00#gpg

gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: Go ahead and type your message ...

你可能感兴趣的:(Solaris)