1. wget http://freeware.sgi.com/source/rzsz/rzsz-3.48.tar.gz 下载
2 . 解压 tar -zxvf rzsz-3.34.tar.gz
3. make posix
[root@web1 rzsz]# make
Please study the #ifdef's in crctab.c, rbsb.c, rz.c and sz.c,
make any necessary hacks for oddball or merged SYSV/BSD systems,
then type 'make SYSTEM' where SYSTEM is one of:
posix POSIX compliant systems
linux LINUX systems
odt SCO Open Desktop
icc SCO Open Desktop, Intel compiler
sysvr4 SYSTEM 5.4 Unix, SCO Open Desktop
sysvr3 SYSTEM 5.3 Unix with mkdir(2), COHERENT 4.2
sysv SYSTEM 3/5 Unix
xenix Xenix
x386 386 Xenix
bsd Berkeley 4.x BSD, Ultrix, V7
tandy Tandy 6000 Xenix
dnix DIAB Dnix 5.2
dnix5r3 DIAB Dnix 5.3
amiga 3000UX running SVR4
POSIX POSIX compliant systems (SCO Open Desktop, strict)
doc Format the man pages with nroff
|
4. cp rz sz /usr/bin
5.设置环境变量 export RZSZLINE=/dev/modem
如果不设置,用rz时候,总是会提示你:
“Warning:
Missing environment variable 'RZSZLINE' (Linux) rz ready. Type "sz file ..." to your modem program”