Install Rzsz under Linux

Source: Internet
Author: User
Tags posix

1. Log in to Linux and download the RZSZ installation package

wget http://freeware.sgi.com/source/rzsz/rzsz-3.48.tar.gz

2.tar ZXVF rzsz-3.48.tar.gz Unzip the installation package

3. After extracting the SCR directory, this software installation is different from the conventional GNU software-no Configure (config) and make install (installation process). Execute command make before giving the following hint:

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
AIX AIX Systems
Next NeXtstep v3.x (POSIX)
ODT SCO Open Desktop
Everest SCO Open Desktop (elf, Strict)
SYSVR4 SYSTEM 5.4 Unix
SYSVR3 SYSTEM 5.3 Unix with mkdir (2), coherent 4.2
SysV SYSTEM 3/5 Unix
SYSIII SYS iii/v Older Unix or Xenix compilers
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)

Undos make the Undos, Todos, etc.
Doc Format the mans pages with Nroff

4. Choose the location parameter of make according to your system, in general, choose POSIX or Linux. Execute command make POSIX

[email protected]:~/rzsz/src> make POSIX
Cc-o-dposix-dmd=2 Rz.c-o RZ
Size RZ
Text data BSS Dec hex filename
25726 648 10404 36778 8FAA RZ
Rm-f RB Rx RC
ln RZ RB
ln RZ RX
ln RZ RC
Cc-o-dposix Sz.c-o sz
Size sz
Text data BSS Dec hex filename
30899 708 43084 74691 123c3 sz
RM-F SB SX Zcommand Zcommandi
ln SZ SB
LN SZ SX
ln sz Zcommand
ln sz Zcommandi

5. Copy the relevant files to the directory/usr/bin below. We only need to copy 2 files. RZ and SZ, command: CP RZ Sz/usr/bin

6. It is now possible to test whether the RZ SZ command is available

7, if the user has a permission error, please refer to the following changes
[Email protected] bin]# su-test
[Email protected] ~]$ rz-y
/DEV/PTS/3: Permission denied

[Email protected] bin]# cd/dev/pts
[email protected] pts]# LL
Total 0
CRW--W----1 root TTY 136, 1 12-13 12:00 1
CRW--W----1 root TTY 136, 2 12-13 10:55 2
CRW--W----1 root TTY 136, 3 12-13 11:10 3

[Email protected] pts]# chmod 777 1 #同理为其他虚拟终端赋权即可

Install Rzsz under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.